🖥️Useful commands
🖊️Working with your wallet
Add New Key
fuelsequencerd keys add walletRecover Existing Key
fuelsequencerd keys add wallet --recoverQuery Wallet Balance
fuelsequencerd q bank balances $(fuelsequencerd keys show wallet -a)List All Keys
fuelsequencerd keys listDelete Key
fuelsequencerd keys delete walletExport Key to a File
fuelsequencerd keys export walletImport Key from a File
fuelsequencerd keys import wallet wallet.backup🔧Service
Info
fuelsequencerd status 2>&1 | jq .NodeInfo
fuelsequencerd status 2>&1 | jq .SyncInfo
fuelsequencerd status 2>&1 | jq .ValidatorInfoCheck Node Logs
sudo journalctl -fu fuelsequencerd -o catCheck Service Status
sudo systemctl status fuelsequencerdRestart Service
sudo systemctl restart fuelsequencerdStop Service
sudo systemctl stop fuelsequencerdStart Service
sudo systemctl start fuelsequencerdReload, Disable, Enable
sudo systemctl daemon-reload
sudo systemctl disable fuelsequencerd
sudo systemctl enable fuelsequencerdYour Peer
echo $(fuelsequencerd tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.fuelsequencer/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')🔗Validator Management🔗
Create New Validator
fuelsequencerd tx staking create-validator \
--amount 1000000fuel \
--from <walletName> \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(fuelsequencerd tendermint show-validator) \
--moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_DETAILS" \
--details "YOUR_WEBSITE_URL" \
--chain-id seq-mainnet-1 \
--gas auto --gas-adjustment 1.5 \
-y
Edit Validator
fuelsequencerd tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--from <walletName> \
--chain-id seq-mainnet-1 \
--gas auto --gas-adjustment 1.5 \
-yJail Info
fuelsequencerd q slashing signing-info $(fuelsequencerd tendermint show-validator) Unjail
fuelsequencerd tx slashing unjail --from <walletName> --chain-id seq-mainnet-1 --gas auto --gas-adjustment 1.5 -y View Validator Details
fuelsequencerd q staking validator $(fuelsequencerd keys show <walletName> --bech val -a) 🔈Governance
List All Proposals
fuelsequencerd query gov proposals View Specific Proposal
fuelsequencerd query gov proposal 1Vote Yes
fuelsequencerd tx gov vote 1 yes --from Wallet_Name --chain-id seq-mainnet-1 --gas auto --gas-adjustment 1.5 -y Vote No
fuelsequencerd tx gov vote 1 no --from Wallet_Name --chain-id seq-mainnet-1 --gas auto --gas-adjustment 1.5 -y Vote Abstain
fuelsequencerd tx gov vote 1 abstain --from Wallet_Name --chain-id seq-mainnet-1 --gas auto --gas-adjustment 1.5 -y Vote no_with_veto
fuelsequencerd tx gov vote 1 no_with_veto --from Wallet_Name --chain-id seq-mainnet-1 --gas auto --gas-adjustment 1.5 -y⚙️Token management
Withdraw all rewards from all validators:
fuelsequencerd tx distribution withdraw-all-rewards --from Wallet_Name --chain-id seq-mainnet-1 --gas auto --gas-adjustment 1.5 -yWithdraw rewards and commission from your Validator:
fuelsequencerd tx distribution withdraw-rewards Your_valoper_address --from Wallet_Name --commission --chain-id seq-mainnet-1 --gas auto --gas-adjustment 1.5 -yDelegate tokens to your validator
fuelsequencerd tx staking delegate Your_valoper_address 1000000fuel --from Wallet_Name --chain-id seq-mainnet-1 --gas auto --gas-adjustment 1.5 -yDelegate tokens to different validator
fuelsequencerd tx staking delegate valoper_address 1000000fuel --from Wallet_Name --chain-id seq-mainnet-1 --gas auto --gas-adjustment 1.5 -yRedelegate tokens to another validator
fuelsequencerd tx staking redelegate Your_valoper_address TO_VALOPER_ADDRESS 1000000fuel --from Wallet_Name --chain-id seq-mainnet-1 --gas auto --gas-adjustment 1.5 -y Unbond tokens from your validator
fuelsequencerd tx staking unbond valoper_address 1000000fuel --from Wallet_Name --chain-id seq-mainnet-1 --gas auto --gas-adjustment 1.5 -ySend tokens to the wallet
fuelsequencerd tx bank send Your_Wallet_Address To_wallet_address 1000000fuel --gas auto --gas-adjustment 1.5 -yNotes:
Replace
Wallet_Namewith the name of your wallet.Replace
Your_valoper_addressandvaloper_addresswith the respective validator addresses.Replace
Your_wallet_addressandrecipient_wallet_addresswith the respective wallet addresses.Ensure you have sufficient
fueltokens to cover the fees and the amounts you intend to send.The
--gasparameter specifies the maximum gas units to use for the transaction. Adjust this value if necessary.The
--feesparameter specifies the fee amount infuel. Ensure you have enough tokens to cover the fees.The
-yflag automatically confirms the transaction without prompting for confirmation.
For more detailed information, refer to the Fuel documentation.
Please exercise caution when performing transactions and ensure you have backed up your wallet information securely.
Last updated