Anchor v2 is the new foundation for Solana programs.
Anchor v2 gives you a Rust framework for writing Solana programs, checking accounts safely, generating IDLs and client code, and testing everything from one workspace.
Scroll for moreOne framework, one program loop
Write programs with the workflow you know, backed by a leaner runtime, clearer account types, generated IDLs, and first-class tests.
Anchor v2 in practice
Anchor v2 keeps the workflow developers rely on while making the generated program smaller, lighter, and cheaper to run.
Start where you are
Whether you are learning Anchor, moving a v1 program, or deciding if v2 is ready, start from the path closest to your code.
New to Anchor?
Start with a small program and learn the shape of an Anchor workspace.
First programMigrating from v1?
See what changed before you start moving an existing program.
Migration guideEvaluating v2?
Check what is still alpha, then look at the numbers behind the claims.