solana-program-library/stake-pool
Yuriy Savchenko a5babd6cbe
Unit tests refactoring and success deposit test added to stake pool program (#718)
* Interface accounts added as read-only, fixed mint authority on deposit, fixed stake pool stake deserializing

* Unit test refactoring, added success tests for deposit, updated stake account program id

* Warnings fixed

* Removed random key generation, used Pubkey::new_unique instead

* Imports optimization

* Unit test architecture updated to remove separate invoke_signed declarations
2020-10-29 17:19:48 +01:00
..
cli Port SPL to solana-program and `cargo build-bpf` 2020-10-24 19:21:38 -07:00
program Unit tests refactoring and success deposit test added to stake pool program (#718) 2020-10-29 17:19:48 +01:00
README.md Token stake pool (#493) 2020-10-16 19:38:12 +02: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

Javascript bindings are available in the ./js directory.