Qstaking is a custom implementation of NFT staking program. It is partially based on Gemworks.
- Node v16.17.0
- Yarn v1.22.19
- Rust 1.63.0
- Anchor 0.24.2
- Install dependencies using
yarn
- Build using
anchor build
- Update the generated program address in
programs/qstaking/lib.rs
andAnchor.toml
- Re-build using
anchor build
- Deploy on-chain using
solana program deploy target/deploy/qstaking.so
- (Optional) Test using
anchor test --skip-local-validator --skip-deploy --skip-build
For usage examples see the tests.