8 releases (breaking)
0.30.1 | Jun 20, 2024 |
---|---|
0.29.0 | Oct 16, 2023 |
0.28.0 | Jun 9, 2023 |
0.27.0 | Mar 8, 2023 |
0.3.0 |
|
#1 in #sealevel
74,978 downloads per month
Used in 530 crates
(476 directly)
195KB
3.5K
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
~17–26MB
~437K SLoC