From 722cebc4c320f961f2e2b86c5c4606e5d46d19f0 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 14 Jan 2021 16:17:25 +0000 Subject: [PATCH] docs: Add stake programming documentation (#14529) (#14582) * Add stake programming documentation We had some questions about stake programming documentation, and there wasn't a place that contained information about the stake-o-matic and other stake development in one place. This adds a page with that information. * Update docs/src/staking/stake-programming.md Co-authored-by: Eric Williams * Update docs/src/staking/stake-programming.md Co-authored-by: Eric Williams * Update docs/src/staking/stake-programming.md Co-authored-by: Eric Williams * Update docs/src/staking/stake-programming.md Co-authored-by: Eric Williams * Update docs/src/staking/stake-programming.md Co-authored-by: Eric Williams * Apply suggestions from code review * Remove trailing whitespace Co-authored-by: Eric Williams (cherry picked from commit b37dbed47950443eac553c6f56959add5e359ac5) Co-authored-by: Jon Cinque --- docs/sidebars.js | 1 + docs/src/staking/stake-programming.md | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 docs/src/staking/stake-programming.md diff --git a/docs/sidebars.js b/docs/sidebars.js index c55fe3b0e9..4c7a602698 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -45,6 +45,7 @@ module.exports = { "Staking": [ "staking", "staking/stake-accounts", + "staking/stake-programming", ], "Command Line": [ "cli", diff --git a/docs/src/staking/stake-programming.md b/docs/src/staking/stake-programming.md new file mode 100644 index 0000000000..536248f98f --- /dev/null +++ b/docs/src/staking/stake-programming.md @@ -0,0 +1,25 @@ +--- +title: Stake Programming +--- + +To maximize stake distribution, decentralization, and censorship resistance on +the Solana network, staking can be performed programmatically. The team +and community have developed several on-chain and off-chain programs to make +stakes easier to manage. + +#### Stake-o-matic aka Auto-delegation Bots +This off-chain program manages a large population of validators staked by a +central authority. The Solana Foundation uses an auto-delegation bot to regularly delegate its +stake to "non-delinquent" validators that meet specified performance requirements. More information can be found on the +[official announcement](https://forums.solana.com/t/stake-o-matic-delegation-matching-program/790). + +#### Stake Pools +This on-chain program pools together SOL to be staked by a manager, allowing SOL +holders to stake and earn rewards without managing stakes. +Users deposit SOL in exchange for SPL tokens (staking derivatives) that represent their ownership in the stake pool. The pool +manager stakes deposited SOL according to their strategy, perhaps using a variant +of an auto-delegation bot as described above. As stakes earn rewards, the pool and pool tokens +grow proportionally in value. Finally, pool token holders can send SPL tokens +back to the stake pool to redeem SOL, thereby participating in decentralization with much +less work required. More information can be found at the +[SPL stake pool documentation](https://spl.solana.com/stake-pool).