Delegate sXFI & LPT
This section describes process of delegation of sXFI and LPT to validators in dfinance network.
Any user who has sXFI or LPT on his account's balance can delegate his coins/tokens to one or multiple validators (though a single sXFI or LPT cannot be used twice).
To find validators and delegate you can use our explorer and wallet, or use dncli:
How to delegate sXFI & LPT
First, choose the validator you want to delegate your sXFI or LPT to and send delegate
transaction to the network.
Use wallet to delegate. Or use dncli:
See the list of validators:
Choose validator and check validator extended info:
Important: Find max_bonding_delegations_lvl
parameter and compare with bonding_tokens
, if you do small math max_bonding_delegations_lvl
- bonding_tokens
, you are going to see MAXIMUM amount of sXFI you can delegate to validator. It doesn't affect LPT staking, you can delegate so much LPT as you want.
Choose optimal amount of sXFI or LPT to delegate and send transaction:
As you see, when you delegate, you provide the following arguments:
[validator-addr] - validator operator address you want to delegate (has
walletvaloper1
prefix instead of standardwallet1
);[amount] - sXFI or LPT amount to delegate. e.g. 2500000000000000000000sxfi or 100000000000000000000lpt.
[account] - delegator account.
Example:
Once your transaction executed and confirmed, check your account balance - you'll see that it has changed - sXFI you've delegated are not accesible (but not spent - see below):
Also, see new delegation done by your account:
Delegated sXFI or LPT coins are stored in the staking
module, and you can get them back by unbonding your coins.
Since you have your first delegation, you can start getting rewards, read more in Rewards & Inflation. Also, if you choose validators, who are missing blocks or double sign them (trying to attack the network), you can also be punished for supporting him. See Slashing to see what risks delegation brings.
How to unbond (undelegate)
When you want to get staked sXFI or LPT back, you can send unbond (undelegate) transaction to the network, this will start unbonding procedure. Unbonding procedure will take some time, usually, it's 7 days unbonding period for both sXFI and LPT. During this period the delegator still can be slashed for potential misbehaviors committed by the validator before the unbonding process ends.
Use wallet to unbond or continue with dncli.
Find delegations from your address:
Where:
[delegator-addr] - delegator address (usually your account address).
Choose validator you want to unbond and run:
Once transaction confirmed, check the status of unbonding sXFI/LPT coins:
Once the unbonding period is completed you will get your sXFI or LPT coins back on the account. You can have maximum 7 unbonding stakes and redelegations at the same time.
Redelegation
In situations when you don't want to unbond your sXFI and at the same time don't want to delegate to a specific validator, or if you want to delegate part of your staked sXFI or LPT to another validator, you can redelegate.
Use wallet to redelegate or continue with dncli.
Run redelegate command:
Where:
[src-validator-addr] - validator address which already contains delegated sXFI.
[dst-validator-addr] - new validator address, which we want to redelegate.
[amount] - sXFI or LPT amount to redelegate.
[account] - delegator account.
Once your transaction is confirmed, check your delegations:
Last updated