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

2.1 KiB

Introduction

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.

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

  • Rust crates and eDSL 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 walk through several tutorials demonstrating how to use Anchor. To skip the tutorials and jump straight to examples, 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 Discord. :::