Anchor
A framework for building Solana programs
Security
Anchor eliminates many footguns of raw Solana programs by default and allows you to add more security checks without disrupting your business logic.
Code Generation
(De)Serialization, cross-program invocations, account initialization, and more.
IDL & Client Generation
Anchor generates an IDL based on your program and automatically creates a typescript client with it.
Verifiability
Anchor programs can be built verifiably, so users know that the on-chain program matches the code base.
Workspace Management
The CLI helps you manage workspaces with multiple programs, e2e tests, and more.
Compatibility
Anchor programs can interact with all non-anchor programs on Solana.
This documentation is being sunset in favor of The Anchor Book. At this point in time, either documentation may contain information that the other does not.