NFT staking for Turbin3 Builders Cohort.
- @coral-xyz/anchor
- @solana/web3.js
- @solana/spl-token
- litesvm
- anchor-litesvm
- @metaplex-foundation/mpl-token-metadata
- Update your Solana CLI, avm and Bun toolkit to the latest version
agave-install init 2.1.0
avm use 0.31.1
bun upgrade- Clone the repository
git clone https://github.com/ChiefWoods/staking.git- Install all dependencies
bun i- Resync your program id
anchor keys sync- Build the program
anchor buildRun all .test.ts files under /tests.
bun test- Configure to use localnet
solana config set -ul- Deploy the program
anchor deploy- Optionally initialize IDL
anchor idl init -f target/idl/staking.json <PROGRAM_ID>View the open issues for a full list of proposed features and known bugs.