# Install Go (one command)ver="1.20.1"&& \wget"https://golang.org/dl/go$ver.linux-amd64.tar.gz"&& \sudorm-rf/usr/local/go&& \sudotar-C/usr/local-xzf"go$ver.linux-amd64.tar.gz"&& \rm"go$ver.linux-amd64.tar.gz"&& \echo"export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin">> $HOME/.bash_profile&& \source $HOME/.bash_profile&& \goversion# go version go1.20.1 linux/amd64
# Set the variables# Come up with the name of your node and replace it instead <your_moniker>MONIKER_OJO=<your_moniker>echo'export MONIKER_OJO='$MONIKER_OJO >> $HOME/.bash_profileecho"export CHAIN_ID_OJO=ojo-devnet">> $HOME/.bash_profileecho"export PORT_OJO=37">> $HOME/.bash_profilesource $HOME/.bash_profile# check whether the last command was executed
Setup config
(OPTIONAL) Turn off indexing in config.toml
Cosmovisor
Now all ok, Check status
Wallets
Create a password for the wallet and write it down so you don't forget it. The wallet has been created. In the last line there will be a phrase that must be written down
Go to the # faucet branch and request tokens
Validator
Do not forget to create a profile on https://keybase.io/ and set a profile photo there that will be imported by key and used for your validators.
Check yourself in the list explorer
Or by command
!!! Save priv_validator_key.json which located in /root/.ojo/config
# Check the logs again
journalctl -u ojod -f -o cat
# Escape from logs ctrl+c
ojod status 2>&1 | jq "{catching_up: .SyncInfo.catching_up}"
"catching_up": false means that the node is synchronized, we are waiting for complete synchronization
# Create wallet
ojod keys add wallet
# If the wallet was already there, restore it
ojod keys add wallet --recover
# Insert the seed phrase from your wallet
# If everything is correct, you will see your wallet data
# Save the wallet address
WALLET_OJO=$(ojod keys show wallet -a)
VALOPER_OJO=$(ojod keys show wallet --bech val -a)
echo "export WALLET_OJO="${WALLET_OJO} >> $HOME/.bash_profile
echo "export VALOPER_OJO="${VALOPER_OJO} >> $HOME/.bash_profile
source $HOME/.bash_profile
# Check the ballance
ojod q bank balances $WALLET_OJO