Surfpool is a powerful tool designed for developers working with the Solana blockchain. It serves as a drop-in replacement for the solana-test-validator, allowing users to simulate programs locally using Mainnet accounts. This enables developers to test their applications in a realistic environment without incurring costs or risks associated with live transactions.
Key Features:
- Mainnet Account Forking: Clone any Mainnet state to your local machine, allowing for comprehensive testing against real data.
- Cheatcodes for Testing: Utilize special RPC methods to manipulate time, set balances, and reset network states, giving developers unprecedented control over their testing environments.
- Infrastructure as Code: Seamlessly deploy and upgrade programs within Anchor or Pinocchio projects, generating Infrastructure-as-Code automatically.
- Real-time Transaction Dashboard: Monitor transactions, inspect accounts, and debug programs in real-time with the Surfpool Studio interface.
Use Cases:
- Testing Smart Contracts: Developers can fork Mainnet accounts to test smart contracts without the risk of losing real funds.
- Debugging: The real-time dashboard and byte-level diffs allow for in-depth debugging and profiling of compute units.
- Rapid Development: With the ability to simulate various scenarios using cheatcodes, developers can iterate quickly and efficiently.
Surfpool is ideal for developers looking to enhance their Solana development experience by providing a robust, local testing environment that mimics the Mainnet.

