solana-program-library/stake-pool
Jon Cinque 11e207cc85
stake-pool: Add user transfer authority on withdraw (#1640)
The stake pool expects pool tokens to be delegated to the withdraw
authority before performing a withdrawal. If a user delegates too many
tokens to the withdraw authority, anyone else can take the rest of their
tokens by doing their own withdrawal.

Delegate pool tokens to an ephemeral keypair and sign with that.
2021-04-27 12:53:46 +00:00
..
cli stake-pool: Add user transfer authority on withdraw (#1640) 2021-04-27 12:53:46 +00:00
program stake-pool: Add user transfer authority on withdraw (#1640) 2021-04-27 12:53:46 +00:00
README.md Fix broken stake-pool docs link and make readme's consistent (#805) 2020-11-06 09:15:27 +08:00

README.md

stake-pool program

A work-in-progress program for pooling together SOL to be staked by an off-chain agent running SoM (Stake-o-Matic).

Each SoM needs at least one pool. Users deposit stakes into the SoM pool and receives a pool token minus the fee. The SoM redistributes the stakes across the network and tries to maximize censorship resistance and rewards.

Full documentation is available at https://spl.solana.com/stake-pool

Javascript bindings are available in the ./js directory.