oraid status | jq '.SyncInfo.latest_block_height // .sync_info.latest_block_height'
View the ports used node
ss -tulpn | grep oraid
โ๏ธ Key Command
Create new wallet
oraid keys add wallet
Recovery wallet
oraid keys add wallet --recover
List all wallet
oraid keys list
Delete wallet
oraid keys delete wallet
Export wallet
oraid keys export wallet
Import wallet
oraid keys import wallet wallet.backup
Check wallet balance
oraid q bank balances $(oraid keys show wallet -a)
oraid q bank balances "Any other or your wallet"
โ๏ธ Validator Commands
Create validator
oraid tx staking create-validator \
--amount 100000orai \
--commission-max-change-rate "0.01" \
--commission-max-rate "0.2" \
--commission-rate "0.05" \
--min-self-delegation "1" \
--pubkey=$(oraid tendermint show-validator) \
--moniker "" \ #Validator name, displayed in explorers.
--website "" \ #Your website is available, or leave the field blank
--identity "" \ #Use your KeyBase ID. If you don't have one, leave it empty.
--details "" \ #Any details about your validator.
--security-contact="" \ #Your mail
--chain-id Oraichain \
--from wallet #Wallet name, as specified during creation, or typically 'wallet'.
You can leave the text after # unchanged - it's a commented hint that won't affect validator creation.
โฝ Replace the following values with your own: WALLET - usually it's 'wallet', or your wallet's name.
MONIKER - any convenient name for your validator, displayed in the explorer.
IDENTITY - validator's avatar, displayed in the explorer. Create a KeyBase ID following the instructions or leave it empty, and it will default to a standard one.
DETAILS - details about your validator, also displayed in the explorer.
Replace all necessary values indicated above with the $ sign to successfully create your validator.
โฝ Example:
lavad tx staking create-validator \
oraid tx staking create-validator \
--amount 100000orai \
--commission-max-change-rate "0.01" \
--commission-max-rate "0.2" \
--commission-rate "0.05" \
--min-self-delegation "1" \
--pubkey=$(oraid tendermint show-validator) \
--moniker "Unity Nodes" \ #Validator name, displayed in explorers.
--website "https://unitynodes.com/" \ #Your website is available, or leave the field blank
--identity "" \ #Use your KeyBase ID. If you don't have one, leave it empty.
--details "Trusted Blockchain Validator" \ #Any details about your validator.
--security-contact="contact@unitynodes.com" \ #Your mail
--chain-id Oraichain \
--from wallet #Wallet name, as specified during creation, or typically 'wallet'.
echo $(oraid tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.oraid/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')