Skip to main content

Gnolan Useful Commands

Chain ID: test6 | Node Version: chain/test6

note

You Need Set This Variabels!!!, for address you can generate first

RPC="https://gnoland-testnet-rpc.shazoes.xyz"
MONIKER="Your_Moniker"
ADDRESS="Your_Address_Wallet"
VALOPER=$(gnoland secrets get validator_key | jq -r '.address')
PUBKEY=$(gnoland secrets get validator_key | jq -r '.pub_key')
echo "export RPC=\"$RPC\"" >> $HOME/.bash_profile
echo "export MONIKER=\"$MONIKER\"" >> $HOME/.bash_profile
echo "export ADDRESS=\"$ADDRESS\"" >> $HOME/.bash_profile
echo "export VALOPER=\"$VALOPER\"" >> $HOME/.bash_profile
echo "export PUBKEY=\"$PUBKEY\"" >> $HOME/.bash_profile
echo "export GNOLAND_CHAIN_ID="test6"" >> $HOME/.bash_profile
source $HOME/.bash_profile

Wallet

Create Wallet

gnokey add wallet

Recovery Wallet

gnokey add wallet --recover

List All Wallet

gnokey list

Delete Wallet

gnokey delete wallet

Check Wallet Balance

gnokey query -remote $RPC auth/accounts/$ADDRESS