Skip to main content

SVM Dev Tools

Essential dev tools and packages for Solana Developers.

Starter Kits

Create Solana Dapp (NX)

Development Environment

Setup local development

  1. install dependencies
  2. install rust and cargo toolchain
  3. install Solana cli
  4. install Anchor
  5. setup a local blockchain cluster
  6. create a filesystem wallet
  7. airdrop Solana tokens to your wallet

If getting issues that cannot find build-sbf, add Solana to your path in ~/.bashrc or ~/.zshrc to make it permanent.

export PATH=~/.local/share/solana/install/active_release/bin:$PATH

Notes

Check the Solana binary is available.

solana --version

Check you can run a local validator (Run Ctrl+C to exit).

Note this creates a "test-ledger" folder in your current directory.

solana-test-validator

Get funds for development.

solana airdrop 3