Difference between revisions of "ICP staking with NNS frontend dapp"

From Internet Computer Wiki
Jump to: navigation, search
 
(33 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
Neurons are required to participate in governance and earn rewards. To create a neuron, you must lock up some number of ICP utility tokens for a period of time. The minimum stake required to create a neuron is one ICP utility token. You can configure the period of time the stake is locked from six months up to a maximum of eight years.
 
Neurons are required to participate in governance and earn rewards. To create a neuron, you must lock up some number of ICP utility tokens for a period of time. The minimum stake required to create a neuron is one ICP utility token. You can configure the period of time the stake is locked from six months up to a maximum of eight years.
  
To stake ICP utility tokens:
+
===To stake ICP utility tokens:===
  
#Open a browser and navigate to the [https://nns.ic0.app/ Network Nervous System (NNS) dapp].
+
1. Open a browser and navigate to the [https://nns.ic0.app/ Network Nervous System (NNS) dapp].
#Click Login to connect using your Internet Identity.
+
 
#Verify your identification number, then click Login to authenticate using the device and authentication method you have registered.
+
2. Click Login to connect using your Internet Identity. Learn [https://smartcontracts.org/docs/current/tokenomics/identity-auth/auth-how-to/#create-an-identity-anchor here] how to create an Internet Identity.
#Click Proceed to access to the Network Nervous System (NNS) dapp.
+
 
#Click Neurons, then click Stake Neuron.
+
3. Verify your identification number, then click Login to authenticate using the device and authentication method you have registered.
#Type the number of ICP utility tokens to stake, then click Create.
+
 
#Set the dissolve delay for the neuron to control the length of time the stake is locked, then click Update Delay.
+
4. Click Proceed to access to the Network Nervous System (NNS) dapp.
[[File:dissolve-delay.png|512px|dissolve delay]]
+
 
#Click Yes, I’m sure to confirm the lock up period, then close the window to review the newly-created neuron properties.
+
5. Click Neurons, then click Stake Neuron.
[[File:neuron-properties.png|512px|neuron properties]]
+
 
 +
6. Type the number of ICP utility tokens to stake, then click Create.
 +
 
 +
7. Set the dissolve delay for the neuron to control the length of time the stake is locked, then click Update Delay.
 +
 
 +
[[File:Dissolve delay no2.png|frameless]]
 +
 
 +
8. Click "Yes, I’m sure to confirm the lock up period", then close the window to review the newly-created neuron properties.
  
 
==What you can do after creating a neuron==
 
==What you can do after creating a neuron==
Line 37: Line 44:
  
 
==Adding ICP utility tokens to an existing neuron==
 
==Adding ICP utility tokens to an existing neuron==
 +
 +
After you create a neuron, you can increase the number of ICP utility tokens you have staked in that neuron to increase your voting power and rewards. For example, if you initially stake a small number of ICP utility tokens, then decide to purchase additional tokens, you have the option to create a new neuron or "top-up" your existing neuron.
 +
 +
===To increase the stake in an existing neuron:===
 +
 +
1. Click on Neuron in the Neuron tab to open it.
 +
 +
2. Click on "Increase Neuron Stake".
 +
 +
3. Select Account and type the amount of ICP utility tokens you want to add to the specified neuron.
 +
 +
6. Verify the transaction details, then click Confirm and Send.
 +
 +
7. Verify the completed transaction, then click Close.
 +
 +
8. You will see a message saying "Transaction Completed". Click the Neurons tab to see the increased stake.
 +
 +
==Disburse dissolved neurons into an account==
 +
 +
When the dissolve delay timer for a neuron reaches zero, you can disburse the neuron’s stake and transfer its locked ICP utility token balance to the ledger account you specify. After you take this step, the neuron identifier and its ledger history are permanently removed from the governance canister.
 +
 +
To disburse a neuron and return its ICP utility tokens:
 +
 +
1. Open a browser and navigate to the Network Nervous System (NNS) dapp.
 +
 +
2. Click Login to connect using your Internet Identity.
 +
 +
3. Verify your identification number, then click Login to authenticate using the device and authentication method you have registered.
 +
 +
4. Click Proceed to access to the Network Nervous System (NNS) dapp.
 +
 +
5. Click Neurons, then click Unlocked neuron that has reach the ended of its dissolve delay period.
 +
 +
For example:
 +
 +
[[File:Unlocked-neuron.png|frameless]]
 +
 +
6. Click Disburse.
 +
 +
7. Type an address or select an account to receive the ICP utility tokens.
 +
 +
8. Verify the transaction information, then click Confirm and Send.
 +
 +
For example, check that the Destination address matches the intended address of the dev-projects linked account:
 +
 +
[[File:confirm-send.png|frameless]]
 +
 +
9. Verify the completed transaction, then click Close.
 +
 +
If you transferred the ICP utility tokens to one of your accounts in the Internet Computer ledger canister, you can click the ICP tab and see your new balance reflected.
 +
 +
==Spawn new neurons==
 +
 +
As you vote on proposals—either directly or by following the votes of other neurons—the maturity associated with your neuron increases, which in turn increases the rewards you earn for participating in governance. When the maturity for a locked stake reaches a minimum threshold of one ICP, you can spawn a new neuron. The spawn operation creates a new neuron that locks a new balance of ICP on the ledger.
 +
 +
For example, if you have a neuron that contains 100 ICP utility tokens and it has a maturity of 10 percent, you can spawn a new neuron that contains approximately 10 new ICP tokens. For the neuron with 100 ICP tokens to reach the minimum threshold for spawning, its maturity would need to be greater than one percent.
 +
 +
After you spawn a new neuron from an existing neuron, the maturity for the existing neuron falls to zero.
 +
 +
To spawn new neurons from an existing neuron:
 +
 +
1. Open a browser and navigate to the Network Nervous System (NNS) dapp.
 +
 +
2. Click Login to connect using your Internet Identity.
 +
 +
3. Verify your identification number, then click Login to authenticate using the device and authentication method you have registered.
 +
 +
4. Click Proceed to access to the Network Nervous System (NNS) dapp.
 +
 +
5. Click Neurons, then click the neuron that has reached the minimum maturity required to spawn a new neuron.
 +
 +
6. Click Spawn Neuron.
 +
 +
Keep in mind that the dissolve delay for newly-spawned neurons is one day, giving you the option to collect value from the ICP utility tokens by unlocking them or to increase the dissolve delay to collect additional rewards.
 +
 +
For more information about maturity and spawning new neurons, see the following articles:
 +
 +
* [https://medium.com/dfinity/earn-substantial-voting-rewards-by-staking-in-the-network-nervous-system-7eb5cf988182 Earn Substantial Voting Rewards by Staking in the Network Nervous System]
 +
 +
*[https://medium.com/dfinity/understanding-the-internet-computers-network-nervous-system-neurons-and-icp-utility-tokens-730dab65cae8 Understanding the Internet Computer’s Network Nervous System, Neurons, and ICP Utility Tokens]
 +
 +
*[https://medium.com/dfinity/getting-started-on-the-internet-computers-network-nervous-system-app-wallet-61ecf111ea11 Getting Started on the Internet Computer’s Network Nervous System App & Wallet]
 +
 +
==Vote on proposals==
 +
 +
[[ICP voting with NNS frontend dapp]]
 +
 +
==Submit a proposal==

Latest revision as of 20:32, 8 June 2022

Stake ICP utility tokens in a neuron

After you transfer ICP utility tokens to the Network Nervous System dapp, you can use the Network Nervous System dapp to create and manage neurons, vote on proposals, and create canisters on the Internet Computer.

Neurons are required to participate in governance and earn rewards. To create a neuron, you must lock up some number of ICP utility tokens for a period of time. The minimum stake required to create a neuron is one ICP utility token. You can configure the period of time the stake is locked from six months up to a maximum of eight years.

To stake ICP utility tokens:

1. Open a browser and navigate to the Network Nervous System (NNS) dapp.

2. Click Login to connect using your Internet Identity. Learn here how to create an Internet Identity.

3. Verify your identification number, then click Login to authenticate using the device and authentication method you have registered.

4. Click Proceed to access to the Network Nervous System (NNS) dapp.

5. Click Neurons, then click Stake Neuron.

6. Type the number of ICP utility tokens to stake, then click Create.

7. Set the dissolve delay for the neuron to control the length of time the stake is locked, then click Update Delay.

Dissolve delay no2.png

8. Click "Yes, I’m sure to confirm the lock up period", then close the window to review the newly-created neuron properties.

What you can do after creating a neuron

After you have locked the stake and created a neuron, you can:

  • Start the dissolve delay timer by clicking Start Unlock.
  • Increase the dissolve delay period by clicking Increase Dissolve Delay.
  • Stop the dissolve delay after starting the unlock countdown by clicking Lockup.
  • Increase the number of ICP utility tokens you have staked.

Starting and stopping the dissolve delay

Creating a new neuron does not automatically start the dissolve delay timer. You must explicitly start the timer countdown by clicking Start Unlock.

For example, if you set a dissolve delay of one year and want to immediately begin the countdown, you should click Start Unlock as part of the process of creating the neuron. If you change your mind and want to stop a current countdown in progress, you can click Lockup, After you click Lockup to stop the dissolve delay, you can click Start Unlock to resume the countdown without changing the existing dissolve delay period. If you want to continue a countdown already in progress but extend the lock up period, you can click Increase Dissolve Delay then select a longer dissolve delay.

Adding ICP utility tokens to an existing neuron

After you create a neuron, you can increase the number of ICP utility tokens you have staked in that neuron to increase your voting power and rewards. For example, if you initially stake a small number of ICP utility tokens, then decide to purchase additional tokens, you have the option to create a new neuron or "top-up" your existing neuron.

To increase the stake in an existing neuron:

1. Click on Neuron in the Neuron tab to open it.

2. Click on "Increase Neuron Stake".

3. Select Account and type the amount of ICP utility tokens you want to add to the specified neuron.

6. Verify the transaction details, then click Confirm and Send.

7. Verify the completed transaction, then click Close.

8. You will see a message saying "Transaction Completed". Click the Neurons tab to see the increased stake.

Disburse dissolved neurons into an account

When the dissolve delay timer for a neuron reaches zero, you can disburse the neuron’s stake and transfer its locked ICP utility token balance to the ledger account you specify. After you take this step, the neuron identifier and its ledger history are permanently removed from the governance canister.

To disburse a neuron and return its ICP utility tokens:

1. Open a browser and navigate to the Network Nervous System (NNS) dapp.

2. Click Login to connect using your Internet Identity.

3. Verify your identification number, then click Login to authenticate using the device and authentication method you have registered.

4. Click Proceed to access to the Network Nervous System (NNS) dapp.

5. Click Neurons, then click Unlocked neuron that has reach the ended of its dissolve delay period.

For example:

Unlocked-neuron.png

6. Click Disburse.

7. Type an address or select an account to receive the ICP utility tokens.

8. Verify the transaction information, then click Confirm and Send.

For example, check that the Destination address matches the intended address of the dev-projects linked account:

Confirm-send.png

9. Verify the completed transaction, then click Close.

If you transferred the ICP utility tokens to one of your accounts in the Internet Computer ledger canister, you can click the ICP tab and see your new balance reflected.

Spawn new neurons

As you vote on proposals—either directly or by following the votes of other neurons—the maturity associated with your neuron increases, which in turn increases the rewards you earn for participating in governance. When the maturity for a locked stake reaches a minimum threshold of one ICP, you can spawn a new neuron. The spawn operation creates a new neuron that locks a new balance of ICP on the ledger.

For example, if you have a neuron that contains 100 ICP utility tokens and it has a maturity of 10 percent, you can spawn a new neuron that contains approximately 10 new ICP tokens. For the neuron with 100 ICP tokens to reach the minimum threshold for spawning, its maturity would need to be greater than one percent.

After you spawn a new neuron from an existing neuron, the maturity for the existing neuron falls to zero.

To spawn new neurons from an existing neuron:

1. Open a browser and navigate to the Network Nervous System (NNS) dapp.

2. Click Login to connect using your Internet Identity.

3. Verify your identification number, then click Login to authenticate using the device and authentication method you have registered.

4. Click Proceed to access to the Network Nervous System (NNS) dapp.

5. Click Neurons, then click the neuron that has reached the minimum maturity required to spawn a new neuron.

6. Click Spawn Neuron.

Keep in mind that the dissolve delay for newly-spawned neurons is one day, giving you the option to collect value from the ICP utility tokens by unlocking them or to increase the dissolve delay to collect additional rewards.

For more information about maturity and spawning new neurons, see the following articles:

Vote on proposals

ICP voting with NNS frontend dapp

Submit a proposal