Rust SDK

To Share and +4 nLEARNs

Rust is a programming language designed for performance and safety. It is syntactically similar to C++, but can guarantee memory safety without resorting to garbage collection. Rust has proven to be a mature and secure language, which makes it ideal to write smart contracts. Because of this, Rust is the preferred programming language for writing smart contracts on NEAR. While there might be a learning curve for those coming from web development, learning Rust enables to write safer and faster contracts. Furthermore, core contracts such as Fungible Tokens and DAOs are currently only available in Rust.

Create Your First Rust Contract

Create your first Rust contract in minutes:

  1. Download and install Rust.
  2. Create a new rust project using our quickstart guide.
  3. Read our docs on how to write smart contracts.


  1. Documentation:
  2. Examples:
  3. Github:
Scroll to Top
Report a bug👀