Skip to main content
The NEAR SDK for Rust (near-sdk-rs) is the official library for developing smart contracts. Rust provides the most mature tooling, best performance, and the strongest safety guarantees when handling real assets on-chain.
The best place to start learning is our QuickStart Guide.

Rust SDK

Rust SDK reference documentation.

Smart contracts on NEAR

This is how a smart contract written in Rust using the NEAR SDK looks like:

Community SDKs

Since NEAR contracts compile to WebAssembly, the community maintains SDKs for other languages. They are great for prototyping and learning, but are not covered in this documentation:

Ready to start developing?

Start from our Smart Contract QuickStart Guide, and let it guide you through all our documentation on building smart contracts.

Want to see examples?

We have a section dedicated to tutorials and examples that will help you understand diverse use cases and how to implement them.

Reference docs

If you need to find a specific function signature, or understand the SDK structs and classes, visit the Rust SDK reference.