Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Latest commit

Β 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Β 
Β 
Β 
Β 
Β 
Β 

README.md

Laboratory 7 πŸ§‘β€πŸ’»

NFT-Vesting Scripts

This section contains Anchor-based scripts used to develop and deploy a Solana nft-vesting program.

Getting Started πŸš€

1. Prerequisites βœ…

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

2. Running the Exercises βš™οΈ

Start the Anchor framework using:

anchor init nft-vesting 
cd nft-vesting
anchor test 

3. Build & 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