9 releases (breaking)
0.31.0 | Mar 9, 2025 |
---|---|
0.30.1 | Jun 20, 2024 |
0.30.0 | Apr 15, 2024 |
0.29.0 | Oct 16, 2023 |
0.3.0 |
|
#3 in #coral
124,886 downloads per month
Used in 556 crates
(500 directly)
220KB
4K
SLoC
Anchor ⚓ is a framework for Solana's Sealevel runtime providing several convenient developer tools.
- Rust eDSL for writing safe, secure, and high level Solana programs
- IDL specification
- TypeScript package for generating clients from IDL
- CLI and workspace management for developing complete applications
If you're familiar with developing in Ethereum's Solidity, Truffle, web3.js or Parity's Ink!, then the experience will be familiar. Although the syntax and semantics are targeted at Solana, the high level workflow of writing RPC request handlers, emitting an IDL, and generating clients from IDL is the same.
For detailed tutorials and examples on how to use Anchor, see the guided tutorials or examples in the GitHub repository.
Presented here are the Rust primitives for building on Solana.
Dependencies
~13–22MB
~348K SLoC