Why do we need Vault?
‘Delegating’ refers to the process of contributing tokens to a public validator node. In Phala Network, delegating is referred to as ‘stake to earn’, whereby delegators receive incentives from the rewards of active workers. StakePools, which are overseen by pool operators, enables users to pool their tokens to increase their chances of earning block rewards. However, for novice delegators, it is often difficult to identify high-quality StakePools, as this process is dependent upon utilizing complex indicators such as creation time, past performance, APR, etc. The ‘quality’ of a StakePool can be determined by its performance in rewarding its delegators consistently. Therefore, if delegators unknowingly select a ‘bad’ StakePool, they’re at risk of receiving decreased rewards or no rewards. Minimizing the probability of this occurring is crucial to maintaining community confidence and avoiding risks of network instability. Vaults increase the probability of high-performance workers being chosen as experienced agents are incentivized to assist with the process of StakePool selection.About Vault
Before you start to understand Vault, please make sure you have a clear understanding of how StakePool works
How Vault works?

- Vault owners select and delegate the Vault’s PHA to ‘high-quality’ StakePools;
- A Vault owner’s reward is based upon the commission share (set by the Vault owner) of all delegation rewards accrued by the Vault;
- To the StakePool, there is no difference between delegations from common delegators or Vaults;
- A Vault cannot delegate to other Vaults.
Vault delegation NFTization
With the introduction of Vaults, there will now be two categories of delegation NFTs: a Proof of Delegation NFT (Vault NFT) representing delegation to a Vault, and a Certificate of StakePool Delegation NFT representing delegation directly to a StakePool. Same as delegating to StakePools, when the user delegates to a Vault, the user will also receive a Delegation NFT as proof of your Delegation in the Vault. The Vault Delegation NFT has the same function as the StakePool Delegation NFT: it will be transferable and able to be sold in the PhalaWorld marketplace.NOTE When your Delegation NFT is transferred or sold to someone else, the delegated PHA will no longer belong to you, because you have lost the certificate to withdraw it back from the corresponding Vault.
Vault only has “Delegate” and “Withdraw” permissions
Vault owners only have permission to move PHA in and out of StakePools. Therefore, Vault owners can NEVER transfer your tokens to an external account. This avoids your assets from being permanently locked or tampered with. For Vault users, please ensure that you never transfer your assets to Vault account, only delegate them.Different withdrawal scenarios between Vault and StakePool

- Vault will initiate the withdrawal application for the entire delegation amount to all StakePools it delegated
- During the freezing process, the Vault Owner cannot conduct any other transactions except for delegating to the Vault
All rewards in Vault come from the StakePool
Vault does not create additional rewards, all rewards in Vault come from StakePool. The vault owner achieves the highest vault APY by choosing a StakePool with the highest APR. The reason why we call StakePool’s rate of return APR, and Vault’s APY is:- Individual StakePool rewards can only increase with the addition of new workers. StakePool rewards are derived from workers, and each worker can only earn a finite amount of income regardless of how much the delegation amount in the StakePool increases. Additional rewards can be earned only when the StakePool owner adds new workers.
- Vault’s delegation rewards come from the StakePool’s delegator rewards. When the StakePool owner cannot add workers in time, the vault owner can transfer funds between different StakePools to realize that each token is effectively earning rewards, not limited to the growth rate of workers
About Vault Owner
How is the Vault owner’s reward calculated?
The vault owner will get a commission based on the delegator rewards of the delegation in the vault. This commission value is set by the Vault Owner and it will be manually executed by the Vault owner. After each execution, the rewards earned between the last two executions will be used as the base to draw a commission for the pool owner. The Share Price (Click here to learn what’s Share) in the pool will change with each reward or slash. Between the last two commission executions, the number of Share Price changes multiplied by the total value of Shares represents the sum of total rewards and Slash in the pool which was issued accumulatively during this period. We extract commissions from the stock delegation by issuing additional Shares for the Vault. The additional Shares will still be stored in the Vault and can be assigned by the Vault owner. Here is an example:Action | Delegation in Vault | Total Share | Share price | remarks |
---|---|---|---|---|
Tom Create the Vault #001 | 0 | 0 | 1 | The initial price is 1 |
Bob delegates 10000 $PHA in #001 | 10000 | 10000 | 1 | Bob has 1000 Shares |
#001 earned 50 $PHA rewards | 10050 | 10000 | 1.005 | Bob still has 1000 Shares |
Jack delegates 3000 $PHA in #001 | 13050 | 12985.07 | 1.005 | Jack has 2,985.07 shares because the price is 1.005 |
Tom execute the commission(5%) | 13050 | 12988.3 | 1.00475 | Tom got 3.23 Shares as the Vault owner reward |