# Delegating or Staking PI

There are two different ways to use your PI to secure the network and get rewarded for doing so; **delegating** your PI to a Validator Candidate or **staking** your PI to your own Validator Node.&#x20;

## Reward Scheme

**315 million PI tokens are reserved for PoS mining, distributed over 24 years:**

80% will be allocated to Plian main chain. The remaining 20% will be distributed on Plian official subchains. The first 6 months will be dedicated to the official subchain 1 while the further distribution on the official subchains will be ultimately determined and announced by the Plian Foundation.

1. Validators incentive mechanisms:
   1. The PoS mining reward of each block belongs to its proposal (the Validator who generates the block), your chance to be a proposal equals the weight of your staked tokens. Important: you need to be online for a maximum of blocks otherwise your chances will decline.
   2. The PoS mining reward of each block is locked until the Epoch reaches 100% height. (An Epoch is \~30 days on mainnet, 48 hours on testnet, based on block generations between two election rounds)
   3. After each Epoch reaches 100% height, the Plian reward system calculates the actual PoS mining reward of the Validators. Distribution is made every 12 Epochs.

When you are a Validator candidate and become a Validator successfully, your PoS mining reward is automatically shared with all your delegators based on the percentage of delegation.

## How to Stake

Staking your PI to your own Validator Node is done in the process of submitting your vote as Validator Candidate. If you plan to stake your PI to your own node without it being a candidate, you need to have at least 100k PI in your node's address.&#x20;

## How to Delegate

You can stake your PI to one or many candidate nodes, including your own node.&#x20;

Plian has 12 epochs per year, and in each epoch, there are 4 phases:

| Phase       | Block Number                               | What you can do                  |
| ----------- | ------------------------------------------ | -------------------------------- |
| 0% \~ 75%   | start\_block \~ vote\_start\_block - 1     | apply candidates and delegate PI |
| 75% \~ 85%  | vote\_start\_block \~ vote\_end\_block     | vote                             |
| 85% \~ 95%  | reveal\_start\_block \~ reveal\_end\_block | reveal vote                      |
| 95% \~ 100% | reveal\_end\_block + 1 \~ end\_block       | check next epoch’s info          |

If you do not want to run a node on Plian yourself, you can delegate PI to one or several Validator Candidate(s) with PIWallet (Light wallet) during the first phase.&#x20;

Click the “Delegate” tab, you will see the Candidate list there. If you want to get more info about any Candidate, you can click “detail ”.

![](https://3714373443-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRCF092Z3_9ouKsNgIF%2F-MRq2OWMIkwYWsOlQO2g%2F-MRqitxYo1wz7xSfPQFu%2Fimage.png?alt=media\&token=bb763d82-6b91-444d-a195-cb2f76b89885)

Please make sure which chain and Candidate you want to delegate to. Then click “Join”.

Fill in the delegate amount with at least 1,000 PI. Ensure there is at least 0.00021 PI left in your balance for paying the gas fee. The invite code is optional here, it’s designed for some programs (currently not released).

![](https://3714373443-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRCF092Z3_9ouKsNgIF%2F-MRq2OWMIkwYWsOlQO2g%2F-MRqjT5kX1vRzQWhs8iJ%2Fimage.png?alt=media\&token=76c8a99b-c27e-4a72-8d97-c2d86439789f)

Enter the password and confirm the transaction info again.

![](https://3714373443-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRCF092Z3_9ouKsNgIF%2F-MRq2OWMIkwYWsOlQO2g%2F-MRqjbm-9PrQamsNOiiD%2Fimage.png?alt=media\&token=d50990c4-98a8-4e57-bb5c-05d8382f9c1a)

![](https://3714373443-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRCF092Z3_9ouKsNgIF%2F-MRq2OWMIkwYWsOlQO2g%2F-MRqjf3f0CDbBxsSSZhk%2Fimage.png?alt=media\&token=5f32e7a8-ae99-4c98-be15-780a0b1d76b6)

You can check the delegation details here.

![](https://3714373443-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRCF092Z3_9ouKsNgIF%2F-MRq2OWMIkwYWsOlQO2g%2F-MRqkS-sANZZhdcQoxgf%2Fimage.png?alt=media\&token=bb3b0107-0d49-4614-aaad-4a030583266e)

Clicking DETAIL: You can check the daily pos mining reward that you get.

![](https://3714373443-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRCF092Z3_9ouKsNgIF%2F-MRq2OWMIkwYWsOlQO2g%2F-MRqkVDQjVqS4E2u2dRM%2Fimage.png?alt=media\&token=6f58d0eb-d9e5-4973-9ca1-6859607d73e5)

Clicking APPEND: You can delegate more PI to this Candidate before 75% of the Epoch height. CANCEL: You can cancel delegation before 75% of the Epoch height.

“Delegate balance” is the amount you delegated to Candidate(s) who are mining blocks for reward as Validator(s) with your delegation. “Delegate to \*\* Candidate nodes” means the number of Candidate node(s) as Validator(s) who are mining blocks for reward with your delegation. “Total pos mining reward” is the reward amount you got before 23:59:59 yesterday (UTC+8) . “The annual return” = the daily reward/ the delegated amount [\*](https://pchaindoc.readthedocs.io/en/latest/wallet/LightWallet.html#id3)365\*100%

## How to Cancel Delegation

You can cancel delegation before the current Epoch reaches 75%.

If your candidate is a validator in the current Epoch, the cancelation will be effective immediately. Your PI will be automatically unlocked to your balance when the current Epoch reaches 100%.

If your candidate is not a validator in the current Epoch, then the cancelation will take effect immediately and your PI will be automatically unlocked to your balance.

Choose the candidate that you want to cancel the delegation to from the list. The default amount shows the total amount that you delegate to this address. You can cancel the total delegation amount or you can define the amount that you want to decrease your delegation by. You must still ensure the delegate balance to this address is equal to or greater than 1,000 PI.

Noted: In general, the gas fee is about 0.00021 PI which will be directly paid from your balance.

## How to Extract Mining Rewards From Reward Balance

Note:

* After Plian mainnet upgraded to V1.2.0, the mining reward need to be extracted by users ( Validator nodes/ delegators) instead of being released automatically.
* After each epoch ends, you can extract the 1/12 mining reward at any time.
* You can’t define the extract amount. The amount is the total reward on one chain you can extract at that moment.

Go to PIWallet “Delegate”. Please ensure the address that you want to extract the reward to. And then click “Extract Reward”.

![](https://pchaindoc.readthedocs.io/en/latest/_images/extract1.png)

Select the chain that you get the reward from.

![](https://pchaindoc.readthedocs.io/en/latest/_images/extract2.png)

Enter the password.

![](https://pchaindoc.readthedocs.io/en/latest/_images/extract3.png)

