animation-reverse-engi…
Reverse-engineer any motion reference (a video from X/Twitter, Dribbble, a screen recording, a GIF) into production animation code through frame-level…
Complete Surfpool development environment for Solana - drop-in replacement for solana-test-validator with mainnet forking, cheatcodes, Infrastructure as Code, and Surfpool Studio. The fastest way to develop and test Solana programs.
$ npx -y skills add sendaifun/skills --skill surfpool --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/surfpoolContext preview
The summary Claude sees to decide when to auto-load this skill.
Complete Surfpool development environment for Solana - drop-in replacement for solana-test-validator with mainnet forking, cheatcodes, Infrastructure as Code, and Surfpool Studio. The fastest way to develop and test Solana programs.
name: surfpool creator: raunit-dev description: Complete Surfpool development environment for Solana - drop-in replacement for solana-test-validator with mainnet forking, cheatcodes, Infrastructure as Code, and Surfpool Studio. The fastest way to develop and test Solana programs.
The definitive guide for Surfpool - where developers start their Solana journey. A drop-in replacement for `solana-test-validator` that enables local program simulation using Mainnet accounts fetched just-in-time.
Surfpool is a comprehensive development environment that combines local-first testing with real Mainnet data access:
| Feature | Description | |---------|-------------| | **Instant Boot** | No 2TB snapshots, runs on Raspberry Pi | | **Lazy Forking** | Copy-on-read strategy pulls mainnet data as needed | | **Full Compatibility** | Works with solana-cli, Anchor, wallets, explorers | | **Zero Config** | Auto-detects Anchor projects and deploys programs |
curl -sL https://run.surfpool.run/ | bash
brew install txtx/taps/surfpool
git clone https://github.com/txtx/surfpool.git cd surfpool cargo surfpool-install
docker pull surfpool/surfpool docker run -p 8899:8899 -p 18488:18488 surfpool/surfpool
# Start with default configuration surfpool start # Start with custom RPC source surfpool start -u https://api.mainnet-beta.solana.com # Start without terminal UI surfpool start --no-tui # Start with debug logging surfpool start --debug
| Service | URL | Description | |---------|-----|-------------| | RPC Endpoint | `http://127.0.0.1:8899` | Standard Solana RPC | | WebSocket | `ws://127.0.0.1:8900` | Real-time subscriptions | | Surfpool Studio | `http://127.0.0.1:18488` | Web dashboard |
Start the local Surfnet network.
surfpool start [OPTIONS]
**Options:**
| Option | Default | Description | |--------|---------|-------------| | `-m, --manifest-file-path` | `./Surfpool.toml` | Path to manifest file | | `-p, --port` | `8899` | RPC port | | `-o, --host` | `127.0.0.1` | Host address | | `-s, --slot-time` | `400` | Slot time in ms | | `-u, --rpc-url` | `https://api.mainnet-beta.solana.com` | Source RPC URL | | `--no-tui` | - | Disable terminal UI | | `--debug` | - | Enable debug logs | | `--no-deploy` | - | Disable auto deployments | | `-r, --runbook` | `deployment` | Runbooks to execute | | `-a, --airdrop` | - | Pubkeys to airdrop | | `-q, --airdrop-amount` | `10000000000000` | Airdrop amount (lamports) | | `-k, --airdrop-keypair-path` | - | Keypair path for airdrop | | `--no-explorer` | - | Disable explorer |
# Start with airdrop to specific address surfpool start -a YOUR_PUBKEY -q 100000000000 # Start with custom slot time (faster blocks) surfpool start -s 100 # Start with specific runbook surfpool start -r deployment -r setup
Create a `Surfpool.toml` in your project root:
[network] slot_time = 400 epoch_duration = 432000 rpc_url = "https://api.mainnet-beta.solana.com" [behavior] # Fork from mainnet genesis genesis = false # Fork from specific point point_fork = true [accounts] # Pre-clone specific accounts clone = [ "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", # Token Program "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", # ATA Program ] [programs] # Auto-deploy local programs deploy = ["./target/deploy/my_program.so"] [airdrop] # Default airdrop recipients addresses = ["YOUR_PUBKEY"] amount = 10000000000000 # 10,000 SOL
Surfpool provides special RPC methods for advanced state manipulation during testing.
Set arbitrary account data:
await connection.send("surfnet_setAccount", [
{
pubkey: "AccountPubkey...",
lamports: 1000000000,
data: "base64EncodedData",
owner: "OwnerPubkey...",
executable: false,
},
]);Create or modify token accounts:
await connection.send("surfnet_setTokenAccount", [
{
owner: "OwnerPubkey...",
mint: "MintPubkey...",
tokenProgram: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
update: {
amount: "1000000000",
delegate: null,
state: "initialized",
},
},
]);Clone a program from mainnet:
await connection.send("surfnet_cloneProgramAccount", [
{
source: "SourceProgramPubkey...",
destination: "DestinationPubkey...",
},
]);Reset account to mainnet state:
await connection.send("surfnet_resetAccount", [
{
pubkey: "AccountPubkey...",
includeOwnedAccounts: true,
},
]);Advance network time:
await connection.send("surfnet_timeTravel", [
{
epoch: 100,
slot: 50000,
timestamp: 1700000000,
},
]);Control block production:
// Pause
await connection.send("surfnet_pauseClock", []);
// Resume
await connection.send("surfnet_resumeClock", []);AI agent skills for Solana development — DeFi protocols, infrastructure, security, and more.
Repo: sendaifun/skills
Reverse-engineer any motion reference (a video from X/Twitter, Dribbble, a screen recording, a GIF) into production animation code through frame-level…
Build and debug encrypted Solana applications with Arcium — data stays private during computation, no single party sees it. Use when writing Arcis circuits…
Complete Birdeye API integration for real-time DeFi data across Solana and 15 other chains. Use for token prices, OHLCV charts, market discovery, on-chain…
Build on Solana with Carbium infrastructure — bare-metal RPC, Standard WebSocket pubsub, gRPC Full Block streaming (~22ms), DEX aggregation via CQ1 engine…
Complete CoinGecko Solana API integration for token prices, DEX pool data, OHLCV charts, trades, and market analytics. Use for building trading bots, portfolio…
Crypto Twitter intelligence and alpha research. Search X/Twitter for real-time crypto narratives, trending tokens, yield strategies, smart money signals, and…