> ## Documentation Index
> Fetch the complete documentation index at: https://solana.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# Introducing Surfnet

> Learn about Surfnet, Surfpool's local Solana network simulator and RPC API

Surfnet is Surfpool's local Solana network simulator, designed to provide
developers with a testing environment that mimics the behavior of the
Solana blockchain without the overhead of a full validator node.

## Getting Started

Start a Surfnet instance using the Surfpool CLI:

```bash
surfpool start
```

This will start a local Surfnet instance on `http://localhost:8899` with the RPC
endpoints available.

## Key Features

- **Broad RPC Compatibility**: Supports most of the Solana RPC API (see
  [Limitations](#limitations) for the methods that behave differently)
- **Fast Iteration**: No need to wait for block confirmations
- **State Manipulation**: Cheatcodes for directly modifying blockchain state
- **Mainnet Fork**: Fork from mainnet to test with real accounts and programs
- **Geyser Plugin Support**: Connect your Geyser plugins for real-time data
  streaming

## Limitations

Surfnet is a simulator, so a few standard methods return empty or default data
or are not supported:

- `getHighestSnapshotSlot` returns error `-32008` (`No snapshot`).
- `getLeaderSchedule` returns `{}`, and `getRecentPerformanceSamples` returns
  synthetic samples with zero transactions.
- `getBlocks` returns `[]` with `--offline` and the datasource's slots when
  forking.
- `getSlotLeaders` returns a single placeholder leader and fails only for epochs
  without a leader schedule.
- `getSupply` returns all zeros until you call `surfnet_setSupply`.
- `blockSubscribe`, `voteSubscribe`, and `slotUpdatesSubscribe` are not
  supported over WebSocket.
- Most Agave validator admin methods are not implemented (see
  [Admin](/developers/docs/tools/surfpool/rpc/admin)).
- Request samples assume a Surfnet that forks mainnet (the default). On a
  Surfnet started with `--offline`, methods that read accounts or token data
  from the datasource return empty results or `not found` errors.
