Parfournir.
Skills/Coral/Anchor Framework

Anchor Framework

Solana smart contract framework — build, test, and deploy Solana programs with Rust. IDL generation, client SDKs, testing tools.

Apache-2.0sdk
by @Coral
Install
npm install @coral-xyz/anchor
SKILL.md
<div align="center">

<h1>Anchor</h1>

<p>
<strong>Solana Program Framework</strong>
</p>

<p>
<a href="https://github.com/coral-xyz/anchor/actions"></a>
<a href="https://anchor-lang.com"></a>
<a href="https://discord.gg/NHHGSXAnXk"></a>
<a href="https://opensource.org/licenses/Apache-2.0"></a>
</p>
</div>

Anchor is a framework providing several convenient developer tools for writing Solana programs (sometimes called 'smart contracts').

  • Rust eDSL for writing Solana programs
  • IDL specification
  • TypeScript package for generating clients from IDL
  • CLI and workspace management for developing complete applications
  • Anchor is the most popular framework for Solana programs.

    > [!NOTE]
    > If you're familiar with developing in Ethereum's Solidity, Truffle, web3.js, then using Anchor will be familiar. Although the DSL syntax and semantics are targeted at Solana, the high level flow of writing RPC request handlers, emitting an IDL, and generating clients from IDL is the same.

    Getting Started

    For a quickstart guide and in depth tutorials, see the Anchor book and the Anchor documentation.

    To jump straight to examples, go here. For the latest Rust and TypeScript API documentation, see docs.rs and the typedoc.

    Packages

    | Package | Description | Version | Docs |
    | :---------------------- | :------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------- |
    | anchor-lang | Rust primitives for writing programs on Solana | ![Crates.io](https://crat

    ... [truncated — view full README on GitHub]

    Details

    Categoryblockchain
    Typesdk
    Sourcegithub
    LicenseApache-2.0

    Use this skill

    Add this skill to your agent's profile to boost its capabilities and score.

    Add to My Agent