Chain ID: lumera-mainnet-1
| Node Version: v1.5.0
note
First You Need Set Variabels
MONIKER=<YOUR_MONIKER_NAME>
echo "export MONIKER=$MONIKER" >> $HOME/.bash_profile
echo "export LUMERA_CHAIN_ID="lumera-mainnet-1"" >> $HOME/.bash_profile
source $HOME/.bash_profile
- Wallet
- Validator
- Token
- Service
- Governance
- Utility
- Delete
Wallet
Create Wallet
lumerad keys add wallet
Recovery Wallet
lumerad keys add wallet --recover
List All Wallet
lumerad keys list
Delete Wallet
lumerad keys delete wallet
Check Wallet Balance
lumerad q bank balances $(lumerad keys show wallet -a)
Validator
note
Make sure you have adjust YOUR_KEYBASE_ID, YOUR_DETAILS, YOUR_WEBSITE_URL
Create Validator
lumerad tx staking create-validator \
--amount=1000000ulume \
--pubkey=$(lumerad tendermint show-validator) \
--moniker=$MONIKER \
--identity="YOUR_KEYBASE_ID" \
--details="YOUR_DETAILS" \
--website="YOUR_WEBSITE_URL" \
--chain-id=$LUMERA_CHAIN_ID \
--commission-rate=0.10 \
--commission-max-rate=0.20 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1000 \
--from=wallet \
--gas-adjustment=1.5 \
--gas="auto" \
--gas-prices=0.025ulume
Edit Validator
lumerad tx staking edit-validator \
--new-moniker="YOUR MONIKER" \
--identity="IDENTITY KEYBASE" \
--details="DETAILS VALIDATOR" \
--website="LINK WEBSITE" \
--chain-id=$LUMERA_CHAIN_ID \
--from=wallet \
--gas-adjustment=1.5 \
--gas="auto" \
--gas-prices=0.025ulume
Check Jailed Reason
lumerad query slashing signing-info $(lumerad tendermint show-validator)
Unjail Validator
lumerad tx slashing unjail --from wallet --chain-id $LUMERA_CHAIN_ID --gas-adjustment 1.5 --gas auto --gas-prices 0.025ulume -y
Token
Withdraw Rewards
lumerad tx distribution withdraw-all-rewards --from wallet --chain-id $LUMERA_CHAIN_ID --gas-adjustment 1.5 --gas auto --gas-prices 0.025ulume -y
Withdraw Rewards with Comission
lumerad tx distribution withdraw-rewards $(lumerad keys show wallet --bech val -a) --commission --from wallet --chain-id $LUMERA_CHAIN_ID --gas-adjustment 1.5 --gas auto --gas-prices 0.025ulume -y
Delegate Tokens to Your Validator
lumerad tx staking delegate $(lumerad keys show wallet --bech val -a) 1000000ulume --from wallet --chain-id $LUMERA_CHAIN_ID --gas-adjustment 1.5 --gas auto --gas-prices 0.025ulume -y
Redelegate Tokens to Another Validator
lumerad tx staking redelegate $(lumerad keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000ulume --from wallet --chain-id $LUMERA_CHAIN_ID --gas-adjustment 1.5 --gas auto --gas-prices 0.025ulume -y
Unbond Tokens from Your Validator
lumerad tx staking unbond $(lumerad keys show wallet --bech val -a) 1000000ulume --from wallet --chain-id $LUMERA_CHAIN_ID --gas-adjustment 1.5 --gas auto --gas-prices 0.025ulume -y
Send Tokens to Any Wallet
lumerad tx bank send wallet <TO_WALLET_ADDRESS> 1000000ulume --from wallet --chain-id $LUMERA_CHAIN_ID --gas-adjustment 1.5 --gas auto --gas-prices 0.025ulume -y
Service
Reload Service
sudo systemctl daemon-reload
Enable Service
sudo systemctl enable lumerad
Disable Service
sudo systemctl disable lumerad
Start Service
sudo systemctl start lumerad
Stop Service
sudo systemctl stop lumerad
Restart Service
sudo systemctl restart lumerad
Check Service Status
sudo systemctl status lumerad
Check Service Logs
sudo journalctl -u lumerad -f --no-hostname -o cat
Governance
tip
For Vote, You can change the value of yes to no, abstain, no_with_veto
Vote
lumerad tx gov vote 1 yes --from wallet --chain-id $LUMERA_CHAIN_ID --gas-adjustment 1.5 --gas auto --gas-prices 0.025ulume -y
List all Proposals
lumerad query gov proposals
Check Vote
lumerad tx gov vote PROPOSAL_NUMBER VOTE_OPTION --from wallet --chain-id $LUMERA_CHAIN_ID --gas-adjustment 1.5 --gas auto --gas-prices 0.025ulume -y
Create new Proposal
lumerad tx gov submit-proposal \
--title="Title" \
--description="Description" \
--deposit=10000000ubbn \
--type="Text" \
--from=wallet \
--gas-adjustment 1.5 \
--gas "auto" \
--gas-prices=0.025ulume \
-y
Utility
Set Indexer null / kv
sed -i 's|^indexer *=.*|indexer = "null"|' $HOME/.lumera/config/config.toml
Get Validator Info
lumerad status 2>&1 | jq .ValidatorInfo
Get Denom Info
lumerad q bank denom-metadata -oj | jq
Get Sync Status
lumerad status 2>&1 | jq .SyncInfo.catching_up
Get Latest Height
lumerad status 2>&1 | jq .SyncInfo.latest_block_height
Get Node Peer
echo $(lumerad tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.lumera/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Set Minimum Gas Price
sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.025ulume\"/" $HOME/.lumera/config/app.toml
Enable Prometheus
sed -i 's|^prometheus *=.*|prometheus = true|' $HOME/.lumera/config/config.toml
Reset Chain Data
lumerad tendermint unsafe-reset-all --home $HOME/.lumera --keep-addr-book
Delete
WARNING!!! Please, before you advance to the following step! The entire chain data will be gone! Make sure you have a backup of your priv_validator_key.json!
Delete Node
sudo systemctl stop lumerad && sudo systemctl disable lumerad && sudo rm /etc/systemd/system/lumerad.service && sudo systemctl daemon-reload && sudo rm -rf $(which lumerad) && rm -rf $HOME/.lumera