# NEAR OutLayer

> Keep your security on-chain. Scale computation off-chain.

**Categories:** Infrastructure, Developer Tooling, Service Provider
**Phase:** mainnet
**Updated:** 2026-05-27

## 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 &amp; 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.

## Links

- Website: https://outlayer.fastnear.com/
- X / Twitter: https://x.com/out_layer
- Medium: https://outlayer.fastnear.com/docs/getting-started
- GitHub: https://github.com/fastnear/near-outlayer

## Related categories

- [Infrastructure](https://nearcatalog.xyz/category/infrastructure)
- [Developer Tooling](https://nearcatalog.xyz/category/developer-tooling)
- [Service Provider](https://nearcatalog.xyz/category/service-provider)

---
Canonical HTML: https://nearcatalog.xyz/project/near-outlayer