1.4 On-Chain Staking
Over Staking for Computing Task
Process of Staking
- Stake Transfer to your stash account, nominator your or other miner, the token will be locked in this round and become effective in next round.
- Withdraw Stake The token will be pre-unlocked, and be unlocked in next round.
How to Operating
- Ready to work
Open the following two pages and select the corresponding transaction or query
- Select the stath account,select “miningStaking” in "submit the following extrinsic".this page is used for extrinsics.
- Select “miningStaking” in "selected state query",and select the stath account. This page is used for inquire state.
- Deposit
- 2.1. Extrinsics
- deposit(value)
- value: BalanceOf:Input the balance of staking
- Submit Translation
- Sign and Submit
- After a few seconds in the upper right corner, it shows "in block", which means success
- 2.2. Inquire
- wallet(AccountId): BalanceOf
- Make sure the acount is deposit account
- press "+"
- Check the balance
- Staking
- 3.1. Translation
- stake(to, value)
- to: AccountId:You can stake for your or other's stash account.
- value: BalanceOf:Input he balance of stake
- Sign and Submit
- After a few seconds in the upper right corner, it shows "in block", which means success
- 3.2. Inquire
- walletLocked(AccountId): BalanceOf
- Make sure the acount is deposit account
- Press "+"
- Check the locked token, it is the stake token
It will be stake in next round
- stakeReceived(AccountId): BalanceOf
- Make sure the acount is stake account
- Press “+”
- Check the staking blance
- Release stake
- 4.1. Translation
- unstake(to, value)
- to: AccountId:Make sure the account
- value: BalanceOf:Input the release balance
- Sign and Submit
- After a few seconds in the upper right corner, it shows "in block", which means success
- 4.2. Inquire
- pendingUnstaking(AccountId, AccountId): BalanceOf
- Make sure the account
- Press “+”
- Check the balance
It will be disstake in next round (less than 1 hour)
- wallet(AccountId): BalanceOf
- Make sure the account
- Press “+”
- Check the balance in wallet
- Withdraw
- 5.1. Translation
- withdraw(value)
- value: BalanceOf:Input the balance you want withdraw
- Sign and Submit
- After a few seconds in the upper right corner, it shows "in block", which means success
- 5.2. Inquire
- wallet(AccountId): BalanceOf
- Make sure the account is the withdraw account
- Press “+”
- Check the blance