
A comprehensive reference for building Solana programs with Pinocchio, the zero-copy framework that can cut compute units by 88-95% compared to Anchor. The guide walks through account validation patterns, CPI helpers for System and Token programs, and three entrypoint options with different performance tradeoffs. It's honest about when to use this (high-throughput DEXs, games, anything compute-bound) and when Anchor makes more sense (prototyping, teams new to low-level Rust, tight audit timelines). Includes working examples of PDA derivation, bytemuck structs for zero-copy deserialization, and instruction routing. If you're hitting CU limits or deploying programs where binary size matters, this is the playbook.
npx -y skills add sendaifun/skills --skill pinocchio-development --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.