Staking AGC on Argochain

Staking AGC on Argochain

Step 1: Stake AGC

Visit the Staking Portal:

Navigate to the Staking Tab:

  • Click on the "Staking" tab in the menu.

Choose Your Wallet and Amount:

  • Select your wallet from the dropdown menu.

  • Enter the amount of AGC you wish to stake.

Sign and Submit:

  • Click "Sign and Submit" to initiate the staking transaction.

  • Follow the on-screen instructions to complete the staking process.

Step 2: Set Session Keys & Validate

Access Session Keys:

  • On the staking page, find your address and click on "Session Keys".

Run the Rotate Keys RPC Call:

  • Open a terminal or command prompt.

  • Run the following command to generate a session key:

curl -H "Content-Type: application/json" --data '{"jsonrpc":"2.0", "method":"author_rotateKeys", "params":[], "id":1}' http://localhost:9944

  • This will produce an output that appears similar to this:

{"jsonrpc": "2.0","result": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","id": 1}

Insert Session Keys:

  • Copy the number starting with 0x and in this example that would be

0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef

which was generated by the RPC call you made to you node.

  • Go back to the "Session Keys" popup on the explorer.

  • Paste the copied number into the provided field.

  • Click "Sign and Submit" to save the session keys.

Step 3: Validate Your Account

Validate:

  • After setting the session keys, the "Session Keys" button will change to "Validate".

  • Click "Validate".

  • Follow the on-screen instructions to sign and submit the validation transaction.

Step 4: Verify Staking on the Explorer

Visit the Explorer:

  • Go to the "Staking" page.

Choose Own Accounts and Waiting:

  • Select "Own Accounts" from the dropdown menu.

  • Then select "Waiting" to see your staked address and amount.

Wait for the Next Era:

  • Your account will be placed into the waiting queue for the next era.

  • Each era lasts for one hour.

  • After the next era, your account will be added to the active validators and begin earning rewards.

Last updated