This section contains Anchor-based scripts used to develop and deploy a Solana nft-vesting program.
Ensure having the following installed:
Solana CLI release
solana-install init 1.18.25 Rust 1.76
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh Anchor 0.30.1
cargo install --git https://github.com/coral-xyz/anchor avm --locked --force
avm install 0.30.1
avm use 0.30.1 Yarn
npm i -g yarn
Start the Anchor framework using:
anchor init nft-vesting
cd nft-vesting
anchor test Building the Project:
anchor buildπ‘ The IDL file (Interface Definition Language) can be found under target/idl/nft-vesting.json.
Testing the Project:
anchor test