Skip to content

Instantly share code, notes, and snippets.

Created Apr 11, 2018
What would you like to do?


Software Setup

Get Source Code

go get

Now we can fetch the correct versions of each dependency by running:

cd $GOPATH/src/
git fetch --all
git checkout develop
make get_tools
make get_vendor_deps
make install
make install_examples

The latest cosmos-sdk should now be installed. Verify that everything is OK by running:

gaiad version

You should see:


And also:

basecli version

You should see:


Genesis Setup

Initiliase Gaiad:

gaiad init

Replace the genesis.json and config.toml files:

rm $HOME/.gaiad/config/genesis.json $HOME/.gaiad/config/config.toml

wget -O $HOME/.gaiad/config/genesis.json

wget -O $HOME/.gaiad/config/config.toml

Starting Gaiad

gaiad start

Getting Coins

Generate a key pair:

basecli keys add default

Join the Riot chat:

Ask (me) for coins.

Tell me the address of your key, as printed out above.

Becoming a Validator

One your node from above is running and secure.

Get your public key:

gaiad show_validator

Take the base64 encoded string from the value field and use this to convert it to hex. Change Group by to None.

Send the bonding transaction:

Remember to use your own validator address or use mine if you want to delegate to me.

basecli bond --stake=6steak --validator=45798afe9b0cd7a05b765107b744478f91848d18a54ce7d06daace1c71a56913 --sequence=0 --chain-id=gaia-3006 --name=default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment