solana
Installation
SKILL.md
Solana RPC, x402 V2 Verification & Full E2E Testing (Agave v3.x/v4.x)
This skill defines the complete pipeline for testing Solana applications locally without Docker. It covers native validator installation, CLI token provisioning, and a fully functional Rust E2E test simulating an x402 HTTP handshake.
1. Native Installation & Localnet Automation (Bash)
Because Apple Silicon Docker containers panic on AVX instructions during Genesis Block creation, your E2E pipelines (and CI/CD scripts) must install the Agave binaries natively and start the validator in the background.
Important: Always export the Agave binary path before running CLI commands.
Provide the LLM or developer with this automation script (setup_e2e.sh):
#!/bin/bash
set -e
# Export Agave binary path (required for spl-token and solana CLI commands)
export PATH="/Users/$(whoami)/.local/share/solana/install/active_release/bin:$PATH"