ByteStackOne logoByteStackOne
Intermediate–Advanced
10 weeks Rust / TypeScript

Solana & Rust

An engineering-focused Solana course covering the Solana account model, Rust for on-chain programs, the Anchor framework, SPL tokens, PDAs, CPIs, and secure program development.

₹8,999
Enroll now

Curriculum

01

Rust for Solana

  • Ownership & borrowing
  • Structs, enums & traits
  • Error handling with Result
  • Cargo & crate ecosystem
02

Solana Programming Model

  • Accounts vs programs
  • Rent & account sizing
  • Transactions & instructions
  • Compute units & fees
03

Anchor Framework

  • Program structure & #[program]
  • Account validation with constraints
  • IDL generation
  • Testing with anchor & mocha
04

Accounts & PDAs

  • Program Derived Addresses
  • init / realloc / close
  • Account ownership & seeds
  • Serialization with Borsh
05

SPL Tokens

  • Token program internals
  • Mints & token accounts
  • Associated token accounts
  • Minting & transfers via CPI
06

Cross-Program Invocation

  • Invoking other programs
  • Signer seeds (invoke_signed)
  • Composability patterns
  • Reentrancy considerations
07

Security

  • Missing signer/owner checks
  • Account confusion attacks
  • Arithmetic overflow
  • Common audit findings on Solana
08

Client & Frontend Integration

  • @solana/web3.js
  • Wallet Adapter
  • Anchor TypeScript client
  • Reading on-chain state

What you'll build

Build and deploy an SPL token with a staking program on Devnet

Build an on-chain escrow program with a React client

FAQ