Stake AVAX, by Validating or Delegating, with the Avalanche Wallet
Introduction
The Avalanche Wallet is a web-based application with no middleware or any kind of server communication. The Avalanche Wallet is written in Vue JS and can be either accessed online or compiled and run locally.
The Avalanche Wallet can be accessed here.
The Avalanche Wallet source code can be found here.
Let’s get staking!
Step 1 — Open the Avalanche Wallet
You can access your wallet using your key phrase, keystore file, or Ledger Nano S (coming soon!)
Step 2 — Navigate to "Earn" section
To stake, you need to have your funds available on the Platform Chain (P-Chain)! If your funds are on the Exchange Chain (X-Chain), we will need to transfer them to the P-Chain by initiating a cross-chain transfer. If your tokens are locked they are already on the P-Chain, so you don’t need to perform the Cross Chain Transfer from X-Chain to P-Chain.
Enter the amount you wish to transfer to your P-Chain and complete the transfer by clicking the "Transfer" button below.
Voila!
Now, we have our funds ready for staking on the P-Chain. Next, you can add a validator or a delegator to your wallet.
Step 3A: Become a validator!
To add a validator, we need to have a node running. We can set one up using the released binaries or build them from the AvalancheGo source code.
Using the binaries is easy and convenient and sets you up to be a validator in 4 steps:
- Download the latest release tar.gz (zip for osx and windows) found here
- Unpack into a folder of our choosing:
* Linux: tar -xvf avalanchego-linux-<VERSION>.tar.gz
* OSX: unzip avalanchego-macos-<VERSION>.zip
* Windows: unzip avalanchego-win-<VERSION>.zip
- Navigate to the binaries directory cd avalanchego-<VERSION>
- Run the binary with ./avalanchego on Linux and OSX and AvalancheGo on Windows
We will let our node bootstrap and sync with the rest with the network, and we are ready to roll.
We will need our Node ID. Let’s find that using the info API!
If you need any help setting up your node, join us on Discord.
Fill the fields and confirm!
Carefully check the details, and click "Confirm" again!
Congratulations. You are now validating the Avalanche Primary Network!
Step 3B: Add a Delegator!
Select a validator you want to delegate your tokens with from the list of active network validators.
Specify your staking period and stake amount. Pay attention to the end time of the selected validator. Your delegation period cannot be set to end past the end date that the validator has set.
Confirm the details!
Congratulations. You are now delegating the Avalanche Primary Network!