Skip to content

solana-program/single-pool

Repository files navigation

Single-Validator Stake Pool

Fully permissionless liquid staking.

Information Account Address
Single Pool SVSPxpvHdN29nkVg9rPapPNDddN5DipNLRUFhyjFThE

Overview

The Single-Validator Stake Pool is an onchain program that enables liquid staking with zero fees, no counterparty, and 100% capital efficiency. The program defines a canonical pool for every vote account, which can be initialized permissionlessly, and mints tokens in exchange for stake delegated to its designated validator.

The program also allows permissionless harvesting of Jito tips and other MEV rewards, turning liquid sol paid into the stake account into active stake earning rewards, functionally distributing these earnings to all LST holders just like protocol staking rewards.

Users can only deposit and withdraw active stake, but liquid sol deposit is coming in a future update.

Security Audits

The Single Pool Program has received three external audits:

Building and Verifying

To build the Single Pool Program, you can run cargo-build-sbf or use the Makefile command:

cargo build-sbf --manifest-path program/Cargo.toml
make build-sbf-program

The BPF program deployed on all clusters is built with solana-verify. It may be verified independently by comparing the output of:

solana-verify get-program-hash -um SVSPxpvHdN29nkVg9rPapPNDddN5DipNLRUFhyjFThE

with:

solana-verify build --library-name spl_single_pool

About

The SPL Single Pool program and its clients

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 19