Completed challenges from Blueshift Learn - A hands-on Solana development learning platform.
Path: SPL_token/
Mint an SPL token in a single transaction using Web3.js and the SPL Token library.
Objectives:
- Create an SPL mint account
- Initialize the mint with 6 decimals
- Create an associated token account (ATA)
- Mint 21,000,000 tokens
Tech Stack: TypeScript, @solana/web3.js, @solana/spl-token
cd SPL_token
npm install
npm startPath: blueshift_anchor_vault/
Build a simple lamport vault on Solana using the Anchor framework.
Objectives:
- Implement
depositfunction - accept lamports into a PDA vault - Implement
withdrawfunction - allow vault owners to retrieve funds - Use PDA signing for secure withdrawals
Tech Stack: Rust, Anchor Framework
Key Concepts:
- Program-Derived Addresses (PDA)
- Cross-Program Invocations (CPI)
- Anchor account constraints
cd blueshift_anchor_vault
anchor build
# Output: target/deploy/blueshift_anchor_vault.so- Node.js >= 18
- Rust & Cargo
- Solana CLI
- Anchor CLI
MIT