What is NEAR OutLayer?
NEAR OutLayer
Keep your security on-chain. Scale computation off-chain — out of the blockchain layer. Pause your smart contract execution at any point and attach your GitHub repository as an argument.
We compile your code, execute it off-chain in TEE, and finalize your transaction on-chain — enabling AI inference, real-world data oracles, secure randomness, or any computation beyond smart contract limits.
OutLayer Features
Fast Execution
Off-chain execution 100x faster with Layer 1 settlement. Run code impossible in smart contracts while final results settle securely on NEAR blockchain.
Secure & Verifiable
TEE-ready architecture with attestation support. Trust minimized with cryptographic proofs and NEAR settlement.
Any WASM Code
Execute AI inference, fetch price oracles, generate randomness, or run any computation. Write in Rust, C++, Go, or any language that compiles to WASM.
Encrypted Secrets
Store API keys encrypted on-chain with sophisticated access control (whitelists, token balance, complex logic). Automatically injected as WASI environment variables.
Flexible Payment
Pay only for actual resources consumed. Choose who pays: let users cover their requests or sponsor execution from contract balance. Unused funds automatically refunded.
Real Metrics
Actual instruction counting via fuel metering. Precise timing and resource usage tracking. No fake metrics.
Git Integration
Compile directly from public GitHub or other public repos. Reference by branch or commit hash (immutable). WASM cache with distributed locking.
Access Control
Flexible secret access: whitelist, NEAR/FT/NFT balance checks, DAO memebership, account patterns, and complex logic conditions (AND/OR/NOT).
WASI Environment
Full WASI support with environment variables and blockchain context. Access secrets via std::env::var(). Pass block height, account ID, timestamp as input parameters.
Real-World Data
Fetch any API data: asset prices, weather forecasts, sports results, Dota match outcomes, historical on-chain data from indexers, flight status, and more.
Pre-compiled WASM
Run pre-compiled WASM files without source code. Store immutable binaries on FastFS/IPFS - no middlemen, no compilation dependencies. Perfect for closed-source or proprietary code.
Unlimited Possibilities
Break free from blockchain constraints. Invent entirely new concepts and use cases previously impossible in decentralized applications. The only limit is your imagination.
Discover more
Pyth network
Smarter data for smarter contracts.
Google Cloud
A suite of cloud computing services offering modular solutions including computing, data storage, analytics, and machine learning, complemented by management tools.
Iliad - the AI-powered IDE built for NEAR
Ship NEAR contracts in minutes. Describe what you need. Iliad writes production-ready Rust contracts, compiles them, and deploys.
Collab.land
Collab.Land empowers developers with its Discord bot for deploying miniapps and APIs for custom functionalities like website token gating, enhancing project reach and functionality with easy integration and extensive resources.
NEAR Catalog
An ecosystem directory for NEAR Protocol — discover and explore the diverse range of applications, tools, services and people built on NEAR.





