Developer Open-Sources Solana Token Staking Smart Contract Built with Anchor
A developer has released an open-source Solana token staking smart contract built using the Anchor framework, making it freely available on GitHub. The contract allows users to stake SPL tokens and earn proportional rewards over configurable time periods. Key features include admin configuration, reward vault deposits, a claim-only option, unstaking, two-step authority transfer, and a pause mechanism. A full TypeScript CLI is bundled with the project to simplify local interaction and testing. The repository is intended as both a learning resource and a starter template for developers building on Solana.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in