5. Build full node
# COSMOS_BUILD_OPTIONS=rocksdb make build
make build
By default, the command will build a binary with Mainnet configurations.
To build with different network, provided NETWORK
variable to make
command
NETWORK=testnet make build
Which will build a docker image that contains the full node binary.
9. Pystarport Quick Start
you can install pystarport to manage nodes for development.
install latest python (for linux)
python version should be 3.8 or above.
you can install python like this.
git clone git@github.com:python/cpython.git
cd cpython
git checkout tags/v3.9.5
./configure
make
sudo make install
set path (for linux or for mac)
in some cases, if there are multiple python versions, pystarport cannot be found.
then adjust python path.
also $HOME/.local/bin
should be included to the PATH.
export PATH=/usr/local/bin:$HOME/.local/bin:$PATH
install pystarport
python3 -m pip install pystarport
quitck start
run two nodes devnet
pystarport serve --data=./data --config=./integration_tests/configs/default.yaml
get status
pystarport supervisorctl status
stop all
pystarport supervisorctl stop all