Anchor v1
Anchor is a development framework for building secure Solana programs (smart contracts).
Anchor v1 is the stable, published Anchor framework for building Solana programs and clients. It simplifies the process of writing, testing, deploying, and interacting with Solana programs.
The Anchor framework helps developers build production-ready applications faster while reducing potential vulnerabilities through built-in security features.
Note (Anchor v2 alpha)
Anchor v2 (anchor-lang-v2) is in alpha on the anchor-next branch. v2 is built on pinocchio and #![no_std], producing up to 95% smaller binaries and 3.0 to 50.4 times fewer CU per instruction in checked-in benchmarks. The v1 path documented here remains the stable, published path. See the v2 docs for the alpha reference.