robust Solana Token Staking smart contract built with Anchor
A robust Solana Token Staking smart contract built with Anchor. Users can stake SPL tokens to earn proportional rewards over time. Features admin configuration, reward deposits, claim-only & unstake options, two-step authority transfer, and pause functionality. Includes a full TypeScript CLI for easy interaction and testing.
I open-sourced solana-token-staking-smart-contract for developers in Solana / Anchor smart contract development. This post walks through what it does, how the pieces fit together, and how to run it locally.
Why I built this
Explore solana token staking smart contract patterns in solana / anchor smart contract development










