Building on NEAR Protocol: Accounts, Sharding, and Aurora
NEAR Protocol development — the account model, WASM contracts in Rust and JavaScript, Nightshade sharding, and the Aurora EVM bridge.
NEAR Protocol is a sharded, proof-of-stake Layer 1 with a developer-friendly account model and the unique ability to write smart contracts in JavaScript. Its Aurora L2 provides full EVM compatibility on top.
The Account Model
NEAR has a distinctive account system. Accounts have human-readable names (alice.near, myapp.near) rather than hex addresses. Each account can have multiple access keys with different permissions: full access keys (can do anything, sign transactions) and function call keys (limited to calling specific contract methods with a gas allowance). This enables session-key-like patterns without account abstraction complexity.
Smart Contract Languages
NEAR contracts compile to WASM. Two first-class languages: Rust (using near-sdk-rs) — the most feature-complete and gas-efficient option. Rust contracts follow similar patterns to Solana's Anchor but simpler (no separate account model). JavaScript (using near-sdk-js) — a genuinely JavaScript runtime on-chain. Slower and more expensive than Rust but massively lowers the barrier for web developers. NEAR is the only L1 where JavaScript is a production-viable smart contract language.
Nightshade Sharding
NEAR uses Nightshade sharding to scale horizontally. The blockchain is split into shards — each shard processes a subset of transactions in parallel. Current implementation: 4 shards. Planned: dynamic sharding that automatically increases shard count as demand grows. From a developer perspective, sharding is transparent — contracts don't need to be 'shard-aware' in most cases. Cross-shard calls have additional latency (one extra block).
Aurora: EVM on NEAR
Aurora is an EVM-compatible L2 running on NEAR. Ethereum contracts deploy to Aurora unchanged. Transaction fees are extremely low (Aurora uses ETH as gas, batched on NEAR). The bridge between Aurora and NEAR is a Rainbow Bridge, which uses light client proofs rather than trusted validators. For Ethereum developers, Aurora is the lowest-friction NEAR entry point.
The Blockchain Operating System (BOS)
NEAR's BOS is an ambitious project: a decentralized frontend platform where UI components are stored on-chain. Developers publish components (React-like) that can be composed by anyone. This creates frontends that don't depend on centralized hosting. It's an ecosystem bet on decentralized application frontends beyond the smart contract layer.
Ecosystem
DeFi: Ref.Finance (main DEX), Burrow (lending). NFTs: Paras, Mintbase. Infrastructure: FastAuth (email-based account creation via account abstraction), NEAR Intents. Developer tooling: near CLI, near-api-js, NEAR Wallet Selector (wallet connection). The ecosystem is smaller than Ethereum or Solana but has strong developer experience focus.
Related Guides
Ready to build your Web3 project?
Tell us about your project and get a precise quote.
Get a Project Quote