This comprehensive guide explains how to use command-line interface (CLI) commands to earn staking rewards as a validator or delegator on the OKTC blockchain.
Understanding Staking on OKTC
OKTC employs Tendermint’s BFT-DPoS consensus algorithm, allowing users to:
- Stake OKT to earn voting rights
- Delegate votes to validator nodes
- Receive chain dividends through validator share ratios
👉 Learn more about OKTC's consensus mechanism
Step-by-Step Staking Process for Delegators
1. Obtaining Voting Rights
- Stake OKT through CLI commands
- Each staked OKT equals one voting right
2. Delegating Votes
- Select validator nodes to support
- Earn proportional rewards based on validator performance
Key Consideration: Voting weight is calculated based on stake amount and validator commission rates.
Essential CLI Commands for Delegators
Staking Operations
| Command Type | Purpose | Example Syntax |
|---|---|---|
| Create Stake | Lock OKT for voting rights | exchaincli stake create |
| Withdraw Stake | Retrieve staked OKT | exchaincli stake withdraw |
Reward Management
- Check dividend balances
- Withdraw individual validator rewards
- Bulk reward withdrawals
Validator-Specific Operations
Commission Management
- Setting Rates:
exchaincli validator commission-set [rate] - Withdrawing Earnings:
exchaincli validator commission-withdraw
Status Monitoring
- Query outstanding rewards
- Check validator performance metrics
- Review commission history
Advanced Query Commands
Blockchain Analytics
exchaincli query validators: Lists all active validatorsexchaincli query staking-params: Views network parametersexchaincli query reward-address: Checks withdrawal addresses
Proxy Services
- Register/unregister proxy identities
- Manage delegator relationships
- Query proxy-linked accounts
FAQ: Staking on OKTC
How often are rewards distributed?
Rewards are distributed per block according to the chain's inflationary model.
What's the minimum staking amount?
There's no minimum, but transaction fees apply for all operations.
Can I change my validator votes?
Yes, you can reallocate votes anytime through the voting commands.
How are commission rates determined?
Validators set their own rates, typically between 1-20% of rewards.
Is staking reversible?
Yes, you can unstake tokens after meeting the unbonding period requirements.
Best Practices for Optimal Rewards
- Diversify Validators: Spread votes across multiple high-performing nodes
- Monitor Rates: Regularly check validator commission changes
- Stay Updated: Follow network upgrades that may affect rewards
- Secure Operations: Always verify commands with
-hbefore execution
Pro Tip: Use exchaincli query staking-pool to analyze the total staked amount and reward distribution across the network.For advanced validator operations, including node creation and management, refer to the specialized validator documentation.