This comprehensive guide explains how to earn staking rewards through command-line interface (CLI) commands as a validator or delegator on the OKTC blockchain.
What is Staking?
OKTC utilizes Tendermint's BFT-DPoS consensus algorithm, allowing users to:
- Stake OKT tokens to gain voting rights
- Delegate votes to preferred validator nodes
- Earn dividend rewards based on validator performance
How to Stake for Regular Users
Step-by-Step Process:
- Stake OKT to obtain voting rights
- Select validator(s) to delegate your votes
- Receive rewards if validators have configured share ratios
๐ Learn more about Voting Weight Calculation
Common CLI Commands for Users
Key Operations:
- Staking OKT
- Voting for validators
- Withdrawing OKT
- Querying staking information
- Checking dividend rewards
Tip: Use-hor--helpwith any command for detailed instructions.
Validator-Specific Commands
Essential operations for validators include:
Commission Management:
- Setting commission rates
- Withdrawing commission rewards
- Checking outstanding rewards
Validator Administration:
- create-validator - edit-validator - edit-validator-commission-rate - destroy-validator
General Blockchain Queries
Use exchaincli to retrieve:
| Query Type | Command Example |
|---|---|
| Account Balance | query account |
| Validator Lists | query validators |
| Staking Parameters | query staking params |
| Reward Parameters | query reward params |
Advanced Features
Proxy Registration:
- Bind/unbind proxy relationships
- Query delegator addresses
- Manage staking pools
FAQ Section
Q: How often are staking rewards distributed?
A: Rewards are distributed according to the blockchain's reward algorithm, typically per block.
Q: Can I change my validator votes after staking?
A: Yes, you can re-delegate your votes at any time.
Q: What's the minimum staking amount?
A: There's no minimum, but economic factors may influence optimal staking amounts.
Q: How are validator commissions calculated?
A: Commissions are percentage-based and set by each validator.
Q: Is unstaking immediate?
A: No, there's typically an unbonding period for security reasons.
๐ Start your staking journey today with OKTC's robust CLI tools and earn passive income through blockchain validation.