Delegating To A Validator
How to delegate tokens to a validator
You can delegate tokens to a validator using the following command:
Mainnet
Testnet
1
./hmy --node="https://api.s0.t.hmny.io" staking delegate \
2
--delegator-addr [ONE ADDRESS] --validator-addr [ONE ADDRESS] \
3
--amount [AMOUNT] --passphrase
Copied!
1
./hmy --node="https://api.s0.b.hmny.io" staking delegate \
2
--delegator-addr [ONE ADDRESS] --validator-addr [ONE ADDRESS] \
3
--amount [AMOUNT] --passphrase
Copied!

Example:

1
./hmy --node="https://api.s0.t.hmny.io" staking delegate \
2
--delegator-addr one1km7xg8e3xjys7azp9f4xp8hkw79vm2h3f2lade --validator-addr one1km7xg8e3xjys7azp9f4xp8hkw79vm2h3f2lade \
3
--amount 10000 --passphrase
Copied!
The CLI will ask for the passphrase for the delegator-addr keystore file.
--delegator-addr is the ONE address of the delegator (string)
--validator-addr is the ONE address of the validator (string)
--amount is the number of ONE tokens to delegate to the validator (float)
As a validator, if you want to increase your stake, you will have to delegate to yourself. For delegating to your own validator, delegator-addr and validator-addr will be the same.
Last modified 1yr ago
Export as PDF
Copy link
Contents
Example: