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.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd670644ff5088595276389e41570cea8da74acd494f236e9c7398172509505c |
|
MD5 | 4e31c30d6e498153d3d896a7904cf972 |
|
BLAKE2b-256 | c255aa470d145cbbb89ea1f184bd54793bd3c5647205aa0bed2721f4bccd136b |