Back to feed
Dev.to
Dev.to
6/27/2026
The original title is: "I open-sourced robust Solana Token Staking smart contract built with Anchor"

The original title is: "I open-sourced robust Solana Token Staking smart contract built with Anchor"

Original: I open-sourced robust Solana Token Staking smart contract built with Anchor

Short summary

An open-source Solana smart contract for token staking built with Anchor framework, enabling proportional reward distribution over configurable periods. Features include admin configuration, stake/unstake/claim functionality, two-step authority transfer, and a complete TypeScript CLI with backend API and responsive frontend UI. Designed as a production-ready reference implementation for blockchain developers to study or fork.

  • Open-source Solana token staking smart contract with Anchor, supporting stake/unstake/claim operations
  • Admin configuration for token mint, reward multiplier, and pause functionality; two-step authority transfer
  • Complete vertical slice with TypeScript CLI, backend API, MongoDB state, and frontend wallet integration

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more