NEAR Docs
NEAR Developer Docs
Build contracts in Rust, create Web3 apps, and sign transactions on any chain from a single NEAR account.
Deploy your First Contract
Create, test and deploy contracts with simple commands.
cargo near new hello-world
# ✅ Success! Created 'hello-near', a smart contract in Rust
# Build, test, and deploy your contract with Cargo
cargo near build
cargo test
cargo near deploy
[!TIP]
You can easily create testnet accounts and request testnet tokens to the faucet.
npx create-near-app@latest
# ✅ What do you want to build? › "A Web App"
# ✅ Select a framework for your frontend › "Vite (React)"
# ✅ Name your project: "hello-near"
#Start using your new NEAR app:
cd hello-near
npm run dev
Build Web3 Applications
Easily authenticate users and call smart contracts from any frontend framework.
Why NEAR?
[card] Sub-second block finality
Transactions reach deterministic finality in 1.3s, no reorgs, no waiting.
[card] Near-zero fees
Average transaction fees are $0.002. Storage costs are fully refundable upon deletion.
[card] Sharded & scalable
The network automatically scales as demand grows, with no downtime or hard forks.
[card] WASM contracts in Rust
Write smart contracts in Rust with NEAR's official SDK.
[card] Chain Signatures
Control accounts on Bitcoin, Ethereum, Solana, and more.
[card] TEE-backed agents
Run AI inference inside Trusted Execution Environments for verifiable, tamper-proof outputs.
Browse the docs
[card] Protocol
Accounts, access keys, gas, transactions, consensus, and more.
[card] Smart contract reference
State, functions, collections, callbacks, cross-contract calls, and security.
[card] Web application guides
Wallet authentication, JavaScript APIs, data types, and contract calls.
[card] Tokens and primitives
FTs, NFTs, DAOs, linkdrops, staking, oracles, and off-chain compute.
[card] Data infrastructure
Index and query on-chain data with Data APIs, BigQuery, and block streams.
[card] AI agent tooling
Use llms.txt, Docs MCP, agent skills, and on-chain MCP tools.