Skip to main content

Command

Wallet:

Add New Wallet:

oraid keys add wallet

Restore executing wallet:

oraid keys add wallet --recover

List All Wallets:

oraid keys list

Delete wallet:

oraid keys delete wallet

Check Balance:

oraid q bank balances $(oraid keys show wallet -a)

Validator:

Create Validator:

Create file: validator.json

{
"pubkey": {"@type":"/cosmos.crypto.ed25519.PubKey","key":"xxxxxxxxxxxxxxx"},
"amount": "1000000orai",
"moniker": "Node39 Guide",
"identity": "",
"website": "",
"security": "",
"details": ",
"commission-rate": "0.05",
"commission-max-rate": "0.05",
"commission-max-change-rate": "0.01",
"min-self-delegation": "1"
}

Create a Validator JSON

oraid tx staking create-validator /path/to/validator.json \
--from wallet \
--chain-id Oraichain \
--gas auto --gas-adjustment 1.5 \
--node

Edit Validator

oraid tx staking edit-validator \
--new-moniker="Node39.TOP" \
--identity=xxxx \
--details="xxxx" \
--chain-id=Oraichain \
--commission-rate=0.1 \
--from=wallet \
--gas-prices=1000000orai \
--gas-adjustment=1.5 \
--gas=auto \
-y

Check sync | False -> done.

oraid status 2>&1 | jq .SyncInfo.catching_up

Delegate:

oraid tx staking delegate $(oraid keys show wallet --bech val -a) 1000000orai \
--from wallet \
--chain-id=Oraichain \
--gas-prices 1000000orai \
--node=https://orai-rpc.node39.top:443 \
-y

Withdraw rewards and commission:

oraid tx distribution withdraw-rewards $(oraid keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id=Oraichain \
--gas-prices 1000000orai \
--node=https://orai-rpc.node39.top:443 \
-y

Unjail:

--from wallet \
--chain-id=Oraichain \
--gas-prices 1000000orai \
--node=https://orai-rpc.node39.top:443 \
-y

Unbond:

oraid tx staking unbond $(oraid keys show wallet --bech val -a) 1000000aseda \
--from wallet \
--chain-id=Oraichain \
--gas-prices 1000000orai \
--node=https://orai-rpc.node39.top:443 \
-y

Vote:

yes/no/no_with_veto/abstain

oraid tx gov vote 1 yes \
--from wallet \
--chain-id Oraichain \
--gas-prices 1000000orai \
--node=https://orai-rpc.node39.top:443 \
-y

System:

Reload Service:

sudo systemctl daemon-reload

Enable Service:

sudo systemctl enable oraid

Disable Service:

sudo systemctl disable oraid

Start Service:

sudo systemctl start oraid

Stop Service:

sudo systemctl stop oraid

Restart Service:

sudo systemctl restart oraid

Check Service Status:

sudo systemctl status oraid

Check Service Logs:

sudo journalctl -u oraid -fo cat