variables

populate recommended variables

In addition to creating the odin alias, populating the most used variables will also make your validator node administration easier. You have likely already set some, such as ADDRESS, STAKE, and CHAIN. Here are some additional examples you may find helpful. The section below will set the variables for the CURRENT session. you will of course need to replace the values in the example with your own values for the variables.

To obtain your ODIN validator operator address (odinvaloper), run the following;

docker exec -it node bandd keys show --bech val -a $ADDRESS
export ADDRESS=odin10u2g5yhvtm0d76f860kggp6lakge4q8hlf346q;
export CHAIN=odin-testnet-heimdall;
export MONIKER=iprouteth0;
export VALIDATOR=odinvaloper10u2g5yhvtm0d76f860kggp6lakge4q8hj59tn5;
export MASTER=http://34.77.171.169:26657

In order to set these variables for EVERY future session, we will put them in our .bashrc file. Should you ever need to modify them in the future, you can open the .bashrc file in nano.

echo "export ADDRESS=odin10u2g5yhvtm0d76f860kggp6lakge4q8hlf346q;
export CHAIN=odin-testnet-heimdall;
export MONIKER=iprouteth0;
export VALIDATOR=odinvaloper10u2g5yhvtm0d76f860kggp6lakge4q8hj59tn5;
export MASTER=http://34.77.171.169:26657" >> ~/.bashrc

Last updated