Skip to main content
NEAR lets you write smart contracts in Rust, build Web3 apps where users log in with their wallets, control accounts on other chains, and give AI agents access to the blockchain. Pick what you want to build, and follow its guide.

Smart Contracts

Write programs in Rust that store data, hold tokens, and run on-chain.

Web3 Apps

Build frontends where users log in with their NEAR wallets.

Multichain Apps

Sign transactions for Bitcoin, Ethereum, Solana, and more.

AI Agents

Help your coding agent build on NEAR, or let agents use the blockchain.

On-Chain Data

Query the history of accounts, transactions, and events.

Build a Complete App

Combine a contract, tests, a frontend, and an indexer in one app.

Need Help?

Ask questions in the NEAR developer channels, and find answers to common questions.

Smart Contracts

Smart contracts are programs that live on the blockchain: they store data, hold tokens, and execute code when users call their functions. In NEAR, contracts are written in Rust.

Smart Contract Quickstart

Create, test and deploy an auction contract.

Tools you will use

near-sdk-rs

The official SDK to write contracts in Rust.

NEAR Sandbox

Tests your contract locally, no account needed.

NEAR CLI

Creates accounts, deploys contracts, and calls their functions from the terminal.

cargo-near

Creates, builds and deploys contracts.

Web3 Apps

Web3 apps are frontends where users log in with their NEAR wallets and interact with smart contracts.

Web3 App Quickstart

Create a React app where users log in and call a contract already deployed on testnet.

Add Wallet Login

Already have an app? Add NEAR wallet login to it.

Tools you will use

NEAR Connect

Lets users log in with any NEAR wallet.

NEAR API JS

Reads data from the blockchain and sends transactions.

near-kit

Modern TypeScript client with a fetch-like API.

near-kit-py

Reads data from the blockchain and sends transactions from Python.

create-near-app

Creates a frontend template ready to talk with NEAR.

near-sign-verify

Creates and validates NEP-413 signed messages.

better-near-auth

Sign in with NEAR plugin for Better Auth.

Multichain Apps

NEAR accounts and contracts can sign transactions for other chains, such as Bitcoin, Ethereum and Solana, and users can swap assets across chains by simply expressing the outcome they want.

Chain Signatures

Sign transactions for other chains from a NEAR account or contract.

NEAR Intents

Let users swap assets across chains, with solvers competing to fill their request.

Tools you will use

chainsig.js

Builds and signs transactions for other chains from TypeScript.

omni-transaction-rs

Builds transactions for other chains from Rust, including from within a contract.

1Click SDKs

Request cross-chain swaps through NEAR Intents, from TypeScript, Rust or Go.

intents-sdk

SDK to build intents-based applications.

NEAR Intents Docs

The complete documentation of NEAR Intents.

NEAR Intents Explorer

Explore the transactions made through NEAR Intents.

AI Agents

Coding agents can help you build on NEAR, and agents can use NEAR to hold assets and send transactions.

Tools for AI Agents

Give your agent access to these docs, to task-specific skills, and to the blockchain.

Tools you will use

Agent Skills

Task-specific guidance for coding agents building on NEAR.

NEAR AI Cloud

Private, verifiable AI inference.

near-ai-chat

AI chat agent starter template for NEAR AI Cloud.
Need NEAR AI credits? You can request NEAR AI Cloud credits for your project.

On-Chain Data

If your app needs historical data, such as all the transactions of a user or the events of a contract, you will need more than the RPC: data APIs, public datasets, and indexers.

What is Data Infrastructure?

Learn about the options to access on-chain data, and when to use each.

Tools you will use

Data APIs

Track the assets, transactions and events of any account through simple API calls.

BigQuery

Query historical on-chain data using SQL.

Neardata

Stream blocks into your own indexer.

Stream NEAR

Server-Sent Events stream for real-time block data.

Go Further

Mastering NEAR

Once you have gone through a quickstart, build a complete app: an auction contract with tests, a frontend, an indexer, NFT and FT support, and a factory to deploy new auctions.