solana/docs/src/staking.md

118 lines
4.9 KiB
Markdown
Raw Normal View History

---
title: Staking on Solana
---
_Note before reading: All references to increases in values are in absolute
2020-06-24 08:25:35 -07:00
terms with regards to balance of SOL.
This document makes no suggestion as to the monetary value of SOL at any time._
2020-06-24 08:25:35 -07:00
By staking your SOL tokens, you help secure the network and
[earn rewards](implemented-proposals/staking-rewards.md) while doing so.
2020-06-24 08:25:35 -07:00
You can stake by delegating your tokens to validators who process transactions and run the network.
2020-06-24 08:25:35 -07:00
Delegating stake is a shared-risk shared-reward financial model that may provide
returns to holders of tokens delegated for a long period.
This is achieved by aligning the financial incentives of the token-holders
(delegators) and the validators to whom they delegate.
The more stake delegated to a validator, the more often this validator
is chosen to write new transactions to the ledger. The more transactions
the validator writes, the more rewards the validator and its delegators earn.
2020-06-24 08:25:35 -07:00
Validators who configure their systems to be able to process more transactions
earn proportionally more rewards and
because they keep the network running as fast and as smoothly as possible.
2020-06-24 08:25:35 -07:00
Validators incur costs by running and maintaining their systems, and this is
passed on to delegators in the form of a fee collected as a percentage of
rewards earned. This fee is known as a _commission_. Since validators earn more
2020-06-24 08:25:35 -07:00
rewards the more stake is delegated to them, they may compete with one another
to offer the lowest commission for their services.
2020-06-24 08:25:35 -07:00
You risk losing tokens when staking through a process known as
_slashing_. Slashing involves the removal and destruction of a portion of a
2021-02-05 15:29:03 -08:00
validator's delegated stake in response to intentional malicious behavior,
such as creating invalid transactions or censoring certain types of transactions
or network participants.
When a validator is slashed, all token holders who have delegated stake to that
validator lose a portion of their delegation. While this means an immediate
2020-06-24 08:25:35 -07:00
loss for the token holder, it also is a loss of future rewards for the validator
due to their reduced total delegation. More details on the slashing roadmap can
2021-02-05 15:29:03 -08:00
be found
[here](proposals/optimistic-confirmation-and-slashing.md#slashing-roadmap).
2020-06-24 08:25:35 -07:00
Rewards and slashing align validator and token holder interests which helps keep the network
secure, robust and performant.
2020-06-24 08:25:35 -07:00
## How do I stake my SOL tokens?
You can stake SOL by moving your tokens
into a wallet that supports staking. The wallet provides steps to create a stake account
and do the delegation.
2020-06-24 08:25:35 -07:00
#### Supported Wallets
Staking operations are supported by the following wallet solutions:
2020-06-24 08:25:35 -07:00
- Phantom.app in conjunction with a seed phrase or a Ledger Nano.
Check out Phantom's [guide to staking](https://phantom.app/blog/solana-staking-in-just-3-clicks) for details.
- SolFlare.com in conjunction with a keystore file or a Ledger Nano.
Check out our [guide to using SolFlare](wallet-guide/solflare.md) for details.
- Solana command line tools can perform all stake operations in conjunction
with a CLI-generated keypair file wallet, a paper wallet, or with a connected
Ledger Nano.
[Staking commands using the Solana Command Line Tools](cli/delegate-stake.md).
2020-06-24 08:25:35 -07:00
- [Exodus](https://www.exodus.com/) wallet. They make the process very simple,
but you cannot choose a validator: they assign you to their partner validator.
See their [FAQ](https://support.exodus.com/article/1551-solana-staking-faq)
for details.
- [Binance](https://www.binance.com/) and [FTX](https://ftx.com/) exchanges.
Note that you cannot choose a validator with these services: they assign you
to their partner validator.
2020-06-24 08:25:35 -07:00
#### Create a Stake Account
Follow the wallet's instructions for creating a staking account. This account
will be of a different type than one used to simply send and receive tokens.
2020-06-24 08:25:35 -07:00
#### Select a Validator
Follow the wallet's instructions for selecting a validator. You can get
information about potentially performant validators from the links below.
The Solana Foundation does not recommend any particular validator.
2020-06-24 08:25:35 -07:00
The Mainnet Beta validators introduce themselves and their services on this
Solana Forum thread:
- https://forums.solana.com/t/validator-information-thread
2020-06-24 08:25:35 -07:00
The site solanabeach.io is built and maintained by one of our validators,
Staking Facilities. It provides a some high-level graphical information about
2020-06-24 08:25:35 -07:00
the network as a whole, as well as a list of each validator and some recent
performance statistics about each one.
- https://solanabeach.io
2020-06-24 08:25:35 -07:00
To view block production statistics, use the Solana command-line tools:
- `solana validators`
- `solana block-production`
2020-06-24 08:25:35 -07:00
The Solana team does not make recommendations on how to interpret this
information. Do your own due diligence.
2020-06-24 08:25:35 -07:00
#### Delegate your Stake
Follow the wallet's instructions for delegating your to your chosen validator.
2020-06-24 08:25:35 -07:00
## Stake Account Details
2020-06-24 08:25:35 -07:00
For more information about the operations and permissions associated with a
stake account, please see [Stake Accounts](staking/stake-accounts.md)