Search across all documentation pages
10 pages in this section.
How local Solana development works across solana-test-validator, Surfpool, fixtures, cloning, and localnet versus devnet trade-offs.
Learn to set up a local Solana development environment. Start a local validator, configure CLI, fund your wallet, and build/deploy programs.
Run solana-test-validator to create a local Solana cluster. Learn to load custom programs, test clients, and clone mainnet accounts for realistic CPI tests.
Clone Mainnet accounts and programs to your local Solana test validator. Learn to integrate with deployed programs, test CPI paths, and reproduce bugs.
Load programs and deterministic account fixtures to ensure every test run starts from the same on-chain state. Learn to use solana-test-validator to preload programs
Read program logs, compute unit consumption, and transaction errors on local Solana validators. Debug Anchor tests and measure CU before deployment.
Choose between localnet, devnet, Surfpool, or mainnet for your Solana development task. This guide provides a step-by-step workflow.
Learn 25 essential local development practices for Solana. Optimize localnet CI, pin RPCs, manage logs, clone accounts, and use tools like LiteSVM.
A single-page roundup of every highlight bullet from the 9 pages in the Local Dev section, grouped by source page so you can scan all 52 takeaways without opening each article individually.