Welcome to the NEAR documentation. Here's how to get around.

NEAR Protocol is a scalable, developer-friendly platform for creating decentralized applications.

Before we begin, it will be helpful to have a general understanding of:

The quickest way to get started is by coding in NEAR studio, our fully hosted IDE. Take a look at our Near Studio walkthrough.

If you want to build locally, take a look at:

Looking to start writing smart contracts? Take a look at:


The Tutorials section contains several tutorials which will help you learn how to build, test and deploy smart contracts.

We recommend you start with the Zero to Hero tutorial which will show you how to save complex data structures to the blockchain, and bridge on-chain and off-chain services.

API Documentation

Here are the reference docs for all of our supported libraries. We actively support an AssemblyScript runtime (TypeScript -> WASM compiler), a Rust runtime, the base RPC and a JavaScript library. These docs are auto-generated and less user-friendly! They should be used for advanced users and those who need to look up how something works.

  • Rust Contracts covers the API for creating apps with Rust

  • TypeScript Contracts covers the same topic, but for AssemblyScript

  • RPC covers the actual core API responses and actions you can call

  • nearlib.js is autogenerated documentation for the JavaScript integration library

Support & Community

If you have any questions about NEAR, you can get direct access to the team behind it and other members of the community through Discord.