anchor/docs/src/getting-started/introduction.md

1.9 KiB

Introduction

Anchor is a framework for Solana's Sealevel runtime providing several convenient developer tools.

  • Rust crates and DSL for writing 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 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.

Here, we'll walkthrough several tutorials demonstrating how to use Anchor. To skip the tutorials and jump straight to a full example, checkout the quickstart or go here. For an introduction to Solana, see the docs.

::: tip NOTE Anchor is in active development, so all APIs are subject to change. If you are one of the early developers to try it out and have feedback, please reach out by filing an issue. This documentation is a work in progress and is expected to change dramatically as features continue to be built out. If you have any problems, consult the source or feel free to ask questions on the Serum Discord. :::