Details about the protocol, including a great tutorial, can be found on the wiki.
Plenum makes extensive use of coroutines and the async/await keywords in Python, and as such, requires Python version 3.5.0 or later and libsodium. See the "Installation Steps" section for help.
To install...
pip install plenum
From here, you can play with the command-line interface:
plenum
Or you can run the tests:
python -m plenum.test
Plenum requires libsodium. To install...
Ubuntu:
-
Run
sudo add-apt-repository ppa:fkrull/deadsnakes
-
Run
sudo apt-get update
-
Run
sudo apt-get install python3.5
-
First, check that the universe repository is enabled by inspecting
/etc/apt/sources.list
file with your favorite editor. -
You will need to use sudo to ensure that you have permissions to edit the file. If universe is not included then modify the file so that it does include the following line:
deb http://us.archive.ubuntu.com/ubuntu vivid main universe
-
Run
sudo apt-get update
-
Run
sudo apt-get install libsodium13
CentOS/Redhat:
-
Run
sudo yum install python3.5
-
Run
sudo yum install libsodium-devel
Mac:
-
Go to https://www.python.org and from the "Downloads" menu, download the Python 3.5.1 package(python-3.5.1-macosx10.6.pkg).
-
Open the downloaded file to install it.
-
If you are a homebrew fan, you can install it using this brew command:
brew install python3
-
To install homebrew package manager see: http://brew.sh/
-
Once you have the homebrew installed on your machine, run
brew install libsodium
to install libsodium.