surfpool

Fork Solana mainnet locally with cheatcodes and infrastructure as code.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/0xinit/cryptoskills --skill surfpool-0xinit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: surfpool
Source: https://github.com/0xinit/cryptoskills/tree/main/skills/surfpool
Command: npx skills add https://github.com/0xinit/cryptoskills --skill surfpool-0xinit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and examples (resource) and templates (resource) and docs (resource) components.

What problem does it solve?

This Skill provides a significantly faster and more flexible local development environment for Solana programs compared to the standard solana-test-validator, enabling quicker iteration cycles and more realistic testing.

Core Features & Use Cases

  • Mainnet Forking: Instantly clone accounts and programs from Solana Mainnet for realistic local testing.
  • Cheatcodes: Special RPC methods for advanced state manipulation (time travel, balance changes, etc.).
  • Infrastructure as Code: Define reproducible deployments using the txtx DSL.
  • Surfpool Studio: An embedded dashboard for transaction inspection and profiling.
  • Use Case: Developers can test smart contract interactions against live Mainnet data without deploying to a public testnet, drastically reducing development time and catching bugs earlier.

Quick Start

Start a local Surfnet instance by running surfpool start in your terminal.

Frequently Asked Questions about surfpool

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test Solana smart contracts against mainnet data locally?

Testing Solana smart contracts against mainnet data locally requires forking mainnet accounts into a local development environment. This Skill clones live accounts and programs, enabling rapid local testing and debugging without deploying to a public testnet.

What are cheatcodes for Solana local validator state manipulation?

Cheatcodes for Solana local validator state manipulation are special RPC methods enabling advanced network control. They allow developers to perform time travel and balance changes to test edge cases during local program debugging.

Does this Solana development environment work faster than solana-test-validator?

Yes, this Solana development environment provides significantly faster iteration cycles than the standard solana-test-validator. It offers a more flexible local environment with mainnet forking and infrastructure as code capabilities for rapid testing.

Can I define reproducible Solana deployments using infrastructure as code?

Yes, you can define reproducible Solana deployments using infrastructure as code. This Skill supports the txtx DSL to define reproducible deployments, ensuring consistent local testing environments for your programs.

How do I inspect and profile Solana transactions locally?

To inspect and profile Solana transactions locally, use the embedded Surfpool Studio dashboard. It provides transaction inspection and profiling capabilities within the local development environment to help catch bugs earlier.