Solana token staking smart contract
Last updated Apr 20, 2026
137
Stars
45
Forks
0
Issues
0
Stars/day
Attention Score
79
Language breakdown
No language data available.
▸ Files
click to expand
README
Solana-Token-Staking-Smart-Contract
Token staking smart contract on solana. It supports multi-staking pool creation, user staking, reward claiming so on. Admin can create pool and can set staking token, APY, boost so on about new staking pool. So users can stake to any pool supporting specific token that they have. Also users can claim reward by sol. It's not full code for staking smart contract, feel free to reach out of me when you need smart contract development[telegram: https://t.me/DevCutup or whatsapp: https://wa.me/13137423660].Core Functionalities
- Create the staking pool with pool configuration[APY, Locking period, Minimum/Maximum staking amount]
- Staking to different pool
- Withdraw
- Claiming Staking reward
- Delete the pool
How to use it
Ready to use
# Clone the repository
git clone https://github.com/cutupdev/Solana-Token-Staking-Smart-Contract.git
Navigate to project directory
cd Solana-Token-Staking-Smart-Contract
Install dependencies
npm install
Configure environment variables
Create a .env file with your settings (see .env.example Setup section)
Make sure your system supports rust and anchor
Test case
# Run test case
anchor build
anchor test
Run cli test case
yarn script ...
Reference cli/command.ts
- Program address
Contact
- Telegram: https://t.me/DevCutup
- Whatsapp: https://wa.me/13137423660
- Twitter: https://x.com/devcutup
🔗 More in this category