https://github.com/unboxed-software/anchor-nft-staking-demo
https://github.com/unboxed-software/anchor-nft-staking-demo
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/unboxed-software/anchor-nft-staking-demo
- Owner: Unboxed-Software
- Created: 2023-05-01T16:41:03.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-01T01:17:56.000Z (almost 2 years ago)
- Last Synced: 2025-05-09T02:18:38.324Z (about 1 year ago)
- Language: Rust
- Size: 82 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a simple implementation of an NFT staking program on Solana that you can use for educational purposes.
Note that a more robust implementation should be used for production. DO NOT DEPLOY THIS ON MAINNET.
Things you could add:
1. Constrain it to only work with a single collection - right now you can stake any NFT
2. Freeze the NFT rather than transfer it - custodial NFT staking is a somewhat outdated pattern
3. Add an actual reward token rather than "points"
4. Make a more robust test suite
And so much more...