
NEAR OutLayer
Keep your security on-chain. Scale computation off-chain.
About NEAR OutLayerMainnet
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

Graph
The Graph is a web3 protocol for organizing and accessing blockchain data

Web4.near
Unstoppable websites on NEAR + IPFS. Keep your webapp running as long as users care.

Forward Protocol
Forward Protocol provides blockchain toolkits that connect the value-driven economy.

SwapKit
SwapKit SDK+API is a powerful suite of DeFi cross-chain tools. โก Powered by NEAR-Intents

Cookbook
The smart contract hub where you find, deploy, and collaborate on EVM contracts with audits, documentation, and usage, all managed from a user-friendly interface.

IPFS
A peer-to-peer hypermedia protocol to make the web faster, safer, and more open.