
Surfpool
Drop-in local Solana test validator with forking support
Replaces Helius, Alchemy, Quicknode

Who it's for
Surfpool fits teams that need to test programs against realistic account state before deploying changes.
Your project is not built on Solana.
The scenario and cheatcode features help reproduce edge cases without touching mainnet.
You only need a basic local validator for simple experiments.
The problem
Solana developers need to test against realistic chain state, but downloading large snapshots or relying only on minimal local validators can hide integration problems. That slows protocol testing and makes debugging harder before mainnet deployment. Teams also need reproducible infrastructure for on-chain and off-chain components. Without a declarative setup, local test networks become one-off environments that are hard to share across developers.
How it works
Surfpool is positioned as a drop-in replacement for solana-test-validator that can mirror mainnet state without downloading the entire chain.
The README describes transforming on-chain IDL into queryable SQL schemas for SQLite or Postgres-backed local analytics.
Surfpool scenarios let developers curate account states and reproduce chain-state conditions for stress testing and debugging.
Features
- Mainnet-state local networks
- IDL-to-SQL indexing
- Scenario-based testing
Recommended for this setup
Strengths
- Purpose-built for Solana builders: Surfpool solves a concrete Solana developer pain: realistic local testing without heavy chain-state setup.
- Connects simulation and infrastructure: The Infrastructure as Code framing helps teams define repeatable environments instead of relying on manual validator setup.
Trade-offs
- Specific to Solana workflows: Surfpool is valuable for Solana teams, but it is not a general blockchain simulator or a replacement for production mainnet validation.
Tech stack
FAQ
The README positions Surfpool as a drop-in replacement for solana-test-validator for developers who need realistic Solana local networks.
Yes. Surfpool is designed to work with real mainnet state without requiring developers to download the entire chain.
GitHub metadata reports Apache-2.0 licensing for the Surfpool repository.