Lamden Blockchain
Project description
Running your RCNet node
Get a computer with Ubuntu 18.04.
- DigitalOcean droplets are our favorites if you are new.
Install prerequisites:
Install Git if your OS doesn't have it preinstalled
Cent OS
sudo yum install git
Ubuntu
sudo apt-get install git-core
Install Node requirements
sudo apt update
sudo apt install -y python3-pip redis-server mongodb
Open your ports:
sudo ufw allow 443/tcp
sudo ufw allow 8080/tcp
sudo ufw allow 10000:10999/tcp
Download Cilantro
git clone https://github.com/Lamden/cilantro-enterprise.git
cd cilantro-enterprise
git checkout demo
Install Cilantro
sudo python3 setup.py develop
sudo make install
NOTE: Capnproto takes a very long time to install because it compiles from source. Please be patient!!
Setup Node Configuration
python3 scripts/setup_node.py
Enter your Signing Key (Private Key) as a Hex String
Find your Signing Key / Private Key in the Lamden Vault Chrome Plugin. If you don't have a wallet yet, get one by following the instructions here: https://docs.lamden.io/lamden-vault/
Enter your wallet password to expose your Private Key, as shown above.
Enter Constitution File Name
This is the file name of the initial configuration. Constitution files are located in the constitutions
folder. If you don't know which one to use, ask an admin.
Example names: rcnet.json
, nojan.json
, nohup.json
.
If you are not part of the constitution, this step will fail. You can't join the network if you are not a participant.
Start your node
make stop-db
make start-db
python3 scripts/bootstrap.py
If you want to leave your node up and running while you log out of ssh
, add nohup
and &
like this:
make stop-db
make start-db
nohup python3 scripts/bootstrap.py &
Your node is now up and running!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cilantro_ee-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a4283bcf4860d116f318c89729aa1c58135239376b3d0bcbfd9b5858e8f1848 |
|
MD5 | 62ece9568f530da1afb9b097d60b9509 |
|
BLAKE2b-256 | 18f5041978ab3c6da9569b578aff96e8b2c833bffeda77ca563cd8f7edb1fe02 |