finds.dev← search

// the find

solana-developers/solana-cookbook

★ 720 · TypeScript · updated Sep 2024

A reference collection of code snippets and guides for Solana development, covering everything from keypair generation and account management to SPL tokens, PDAs, and Anchor programs. Targets developers new to Solana who need working examples they can copy and adapt. Maintained by the official solana-developers org.

- Multi-language coverage is genuinely useful — many snippets exist in TypeScript, Rust, Python, C++, and shell, so you can cross-reference implementations when the docs are unclear in one language

- Separate `.preview` files for each snippet are a smart design choice: you get both the minimal highlighted version and the full runnable context without conflating the two

- Covers non-obvious production concerns like compute budget, data migration between account versions, and feature-parity testing — not just hello-world basics

- Well-structured directory layout makes it easy to navigate by topic rather than hunting through prose documentation

- Last push was September 2024 and the Solana ecosystem moves fast — the Jupiter section in particular uses the old SDK v1 API which has been superseded, meaning some snippets will silently fail or use deprecated patterns

- No automated tests verify the snippets actually compile or run, so it's impossible to know how many are quietly broken as dependencies drift

- The devcontainer-first build story is friction for contributors who just want to fix a snippet; no plain 'just run yarn' path is documented for simple doc changes

- Coverage is uneven — common modern patterns like versioned transactions, address lookup tables, and Token-2022 extensions are thin or missing while older patterns remain front and center

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →