Search across all documentation pages
9 pages in this section.
How Anchor IDLs, declare_program!, TypeScript clients, Codama, versioning, and on-chain IDL accounts form one interface-and-codegen map from program macros to integrators.
Learn how Anchor IDL, a JSON description of your program, is generated from Rust macros and used for client integration and on-chain metadata.
Generate Rust modules for external programs using the declare_program! macro to simplify CPI calls with instruction builders and account types.
Generate TypeScript clients from Anchor IDL for typed account resolution, instruction builders, and error decoding. Learn to build dApps and integration tests.
Generate @solana/kit TypeScript clients from Anchor IDL. Learn to transform Anchor IDL into instruction codecs, account decoders, and error enums.
Store and retrieve Anchor IDLs directly on-chain. Learn to initialize, fetch, and upgrade program interfaces for discoverable APIs.
Learn best practices for codegen, including managing IDL changes, automating codegen in CI, and handling client codegen for Solana programs.
A single-page roundup of every highlight bullet from the 8 pages in the IDL & Codegen section, grouped by source page so you can scan all 47 takeaways without opening each article individually.