atomone-icon

AtomeOne

Chain ID:

atomone-1

Block Height:

RPC Status:

Service Operations

Start Service
sudo systemctl start atomoned
Stop Service
sudo systemctl stop atomoned
Restart Service
sudo systemctl restart atomoned
Reload Service
sudo systemctl daemon-reload
Enable Service
sudo systemctl enable atomoned
Disable Service
sudo systemctl disable atomoned
Check Status Service
sudo systemctl status atomoned
Check Logs
sudo journalctl -fu atomoned -o cat

Keys Management

Generate New Key
atomoned keys add wallet
Restore Key
atomoned keys add wallet --recover
List All Key
atomoned keys list
Delete Key
atomoned keys delete wallet
Export EVM Privkey
atomoned keys unsafe-export-eth-key wallet
Export Key
atomoned keys export wallet
Import Key
atomoned keys import wallet wallet.backup

Validator Operations

Create Validator
atomoned tx staking create-validator \
--amount 1000000uatone \
--pubkey $(atomoned tendermint show-validator) \
--moniker "your-moniker-name" \
--identity "your-keybase-id" \
--details "your-details" \
--website "your-website" \
--security-contact "your-email" \
--chain-id atomone-1 \
--commission-rate 0.05 \
--commission-max-rate 0.20 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--from wallet \
--gas-adjustment 1.5 \
--gas auto \
--gas-prices 0.025uatone \
-y
Edit Validator
atomoned tx staking edit-validator \
--new-moniker "your-moniker-name" \
--identity "your-keybase-id" \
--details "your-details" \
--website "your-website" \
--security-contact "your-email" \
--chain-id atomone-1 \
--commission-rate 0.05 \
--from wallet \
--gas-adjustment 1.5 \
--gas auto \
--gas-prices 0.025uatone \
-y
Unjail Validator
atomoned tx slashing unjail --from wallet --chain-id atomone-1 --gas-adjustment 1.5 --gas auto --gas-prices 0.025uatone -y
Validator Jailed Reason
atomoned query slashing signing-info $(atomoned tendermint show-validator)
List Active Validator
atomoned q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nl
List Inactive Validator
atomoned q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_UNBONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nl
List Validator Details
atomoned q staking validator $(atomoned keys show wallet --bech val -a)

Governance

Query List Proposal
atomoned query gov proposals
View Proposal by ID
atomoned query gov proposal 1
Vote Option Yes
atomoned tx gov vote 1 yes --from wallet --chain-id atomone-1 --gas-adjustment 1.5 --gas auto --gas-prices 0.025uatone -y
Vote Option No
atomoned tx gov vote 1 no --from wallet --chain-id atomone-1 --gas-adjustment 1.5 --gas auto --gas-prices 0.025uatone -y
Vote Option Abstain
atomoned tx gov vote 1 abstain --from wallet --chain-id atomone-1 --gas-adjustment 1.5 --gas auto --gas-prices 0.025uatone -y
Vote Option NoWithVeto
atomoned tx gov vote 1 NoWithVeto --from wallet --chain-id atomone-1 --gas-adjustment 1.5 --gas auto --gas-prices 0.025uatone -y

Tokens

Withdraw Reward From All Validator
atomoned tx distribution withdraw-all-rewards --from wallet --chain-id atomone-1 --gas-adjustment 1.5 --gas auto --gas-prices 0.025uatone -y
Withdraw Reward and Commission
atomoned tx distribution withdraw-rewards $(atomoned keys show wallet --bech val -a) --commission --from wallet --chain-id atomone-1 --gas-adjustment 1.5 --gas auto --gas-prices 0.025uatone -y
Delegate Tokens To Your Validator
atomoned tx staking delegate $(atomoned keys show wallet --bech val -a) 1000000uatone --from wallet --chain-id atomone-1 --gas-adjustment 1.5 --gas auto --gas-prices 0.025uatone -y
Delegate Token To Other Validator
atomoned tx staking delegate <to-valoper-address> 1000000uatone --from wallet --chain-id atomone-1 --gas-adjustment 1.5 --gas auto --gas-prices 0.025uatone -y
Redelegate To Another Validator
atomoned tx staking redelegate $(atomoned keys show wallet --bech val -a) <to-valoper-address> 1000000uatone --from wallet --chain-id atomone-1 --gas-adjustment 1.5 --gas auto --gas-prices 0.025uatone -y
Unbond Token From Your Own Validator
atomoned tx staking unbond $(atomoned keys show wallet --bech val -a) 1000000uatone --from wallet --chain-id atomone-1 --gas-adjustment 1.5 --gas auto --gas-prices 0.025uatone -y
Send Token To Other Wallet
atomoned tx bank send wallet <to-wallet-address> 1000000uatone --from wallet --chain-id atomone-1 --gas-adjustment 1.5 --gas auto --gas-prices 0.025uatone -y

Utility

Update Custom Port
CUSTOM_PORT=201
sed -i -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${CUSTOM_PORT}58\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${CUSTOM_PORT}57\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${CUSTOM_PORT}60\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${CUSTOM_PORT}56\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${CUSTOM_PORT}66\"%" $HOME/.atomone/config/config.toml
sed -i -e "s%^address = \"tcp://localhost:1317\"%address = \"tcp://localhost:${CUSTOM_PORT}17\"%; s%^address = \":8080\"%address = \":${CUSTOM_PORT}80\"%; s%^address = \"localhost:9090\"%address = \"localhost:${CUSTOM_PORT}}90\"%; s%^address = \"localhost:9091\"%address = \"localhost:${CUSTOM_PORT}91\"%" $HOME/.atomone/config/app.toml
Disable Indexer
sed -i -e 's|^indexer *=.*|indexer = "null"|' $HOME/.atomone/config/config.toml
Enable Indexer
sed -i -e 's|^indexer *=.*|indexer = "kv"|' $HOME/.atomone/config/config.toml
Get Validator Information
atomoned status 2>&1 | jq .ValidatorInfo
Get Sync Information
atomoned status 2>&1 | jq .SyncInfo
Set Custom Pruning
sed -i \
-e 's|^pruning *=.*|pruning = "custom"|' \
-e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' \
-e 's|^pruning-keep-every *=.*|pruning-keep-every = "0"|' \
-e 's|^pruning-interval *=.*|pruning-interval = "19"|' \
$HOME/.atomone/config/app.toml
Configure Minimum Gas Prices
sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"10aNGL\"/" $HOME/.atomone/config/app.toml
Enable Prometheus
sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.atomone/config/config.toml
Reset Chain Data
atomoned tendermint unsafe-reset-all --keep-addr-book --home $HOME/.atomone
Delete Node
cd $HOME
sudo systemctl stop atomoned
sudo systemctl disable atomoned
sudo rm /etc/systemd/system/atomoned.service
sudo systemctl daemon-reload
sudo rm -f $(which atomoned)
sudo rm -rf $HOME/.atomone
sudo rm -rf $HOME/atomone
sudo rm -rf $HOME/go