NEAR
Index - NEAR Docs
Skip to main content
MCP ReadyLLMs.txt Ready

NEAR Developer Docs

It has never been easier to build smart contracts, decentralized applications, and native cross-chain applications.

~5 minRustJavaScriptPython

Deploy your first contract in minutes

Write smart contracts in Rust, JavaScript, TypeScript or Python. Scaffold a working project with a single command, then build, test, and deploy.

Start the quickstart →

What is a smart contract?

Concepts, storage model, and how execution works on NEAR.

Contract anatomy

Actions, callbacks, cross-contract calls, and best practices.
$> npx create-near-app@latest

======================================================
👋 Welcome to Near! Learn more: https://docs.near.org/
🔧 Let's get your project ready.
======================================================

✅ What do you want to build? › "Smart Contract"
✅ Name your project to create a contract: "hello-near"
✅ Success! Created 'hello-near', a smart contract in Rust


Build, test, and deploy your contract using cargo:
 * cargo near build
 * cargo test
 * cargo near deploy

Platform capabilities

Sub-second finality

Transactions confirm in ~1–2 seconds on mainnet with deterministic finality. No reorgs, no waiting.

Near-zero fees

Transaction fees under $0.001. Storage costs ~1 NEAR per 100 KB — fully refundable on deletion.

Multi-language contracts

Write in Rust, JavaScript/TypeScript, Python, or Go. Full WASM runtime, no new syntax to learn.

Chain Signatures

Derive threshold keys for any chain — Bitcoin, Ethereum, Solana — from one NEAR account.

TEE-backed agents

Run AI inference inside Trusted Execution Environments for verifiable, tamper-proof outputs.

Sharded & scalable

Nightshade sharding enables linear throughput scaling as validator count grows.

Get started in 2 steps

1

Create a testnet account

Get a human-readable account like yourname.testnet and fund it immediately with the faucet — no wallet install required.

Create account

Free testnet account with instant NEAR balance. Ready in under 60 seconds.
2

Scaffold your project

Run create-near-app to generate a working smart contract or full-stack web app in your preferred language.
npx create-near-app@latest

Browse by topic

NEAR Protocol

Accounts, access keys, gas, transactions, and the NEAR runtime.

Smart Contracts

Write and deploy contracts in Rust, TypeScript, or Python.

Web3 Apps

Connect frontends to NEAR using near-api-js and the Wallet Selector.

Chain Abstraction

Sign transactions on any chain from a single NEAR account.

Primitives

FTs, NFTs, DAOs, DEXes, liquid staking, and more — ready to use.

Data Infrastructure

Index and query on-chain data with NEAR Lake, BigQuery, and indexers.

We use our own and third-party cookies on our website to enhance your experience, analyze traffic, and for marketing. For more information see our Cookie Policy