About NCN Network

Decentralized AI Inference Network

A decentralized network for distributed AI model inference with blockchain-based payments, validator consensus, and sandboxed execution.


What is NCN Network?

NCN Network v2 is a decentralized infrastructure for running AI model inference at scale. It connects clients who need AI inference with compute providers who have GPU resources, coordinated through gateway operators and secured by validator consensus.

Key Features

  • Decentralized Inference: Run AI models across a distributed network of compute providers

  • Blockchain Payments: Pay-per-inference with transparent fee distribution

  • Validator Consensus: M-of-N validator signatures ensure fair computation

  • Sandboxed Execution: Secure model execution with OS-level isolation

  • Subnet Model Distribution: Gateway operators create subnets with curated models

  • Multi-Protocol Support: gRPC, HTTP REST, and WebSocket interfaces


Quick Start

Get up and running in 5 minutes:

For detailed setup instructions, see the Getting Started Guide.


Architecture Overview

Components

Component
Role
Documentation

Gateway Node

Routes requests, manages payments

Compute Node

Executes AI models in sandboxes

P2P Registry

Validator network for consensus

Smart Contracts

On-chain payment coordination


Documentation Sections

Getting Started

Architecture

Component Deep Dives

Guides

Reference


System Requirements

Minimum Requirements

Component
CPU
RAM
Storage
Network

Gateway Node

2 cores

4 GB

50 GB

100 Mbps

Compute Node

4 cores

8 GB

100 GB

100 Mbps

P2P Registry

2 cores

4 GB

50 GB

100 Mbps

Software Requirements

  • Rust: 1.70+

  • Python: 3.8+ (for model execution)

  • Git: 2.0+

  • Docker: 20.10+ (optional)

Supported Platforms

  • Linux (recommended for production)

  • macOS (development)

  • Windows (experimental)


Network Configurations

Testnet (Forknet)

Setting
Value

RPC URL

https://testnet-rpc-1.forknet.io

Chain ID

828

Contract

0x4361115359E5C0a25c9b2f8Bb71184F010b768ea

Token

0x38E2565e8905BeAf83C34b266592465C22A2f108

Local Development

Service
Default Port

Gateway gRPC

50051

Gateway HTTP

8080

Gateway WebSocket

9000

P2P Registry gRPC

50050

P2P Registry P2P

8828


Project Status

Metric
Value

Completion

85%

Lines of Code

18,000+

Test Coverage

78%

Components

4 services + CLI

Completed Features ✅

  • Blockchain-based payment system

  • Validator consensus mechanism

  • Sandboxed model execution (seccomp, namespaces, Landlock)

  • Subnet-based model distribution

  • Gateway CLI for subnet management

  • gRPC/HTTP/WebSocket support

  • Prometheus metrics

In Progress 🚧

  • Model auto-downloader (Phase 11)

  • Integration testing (Phase 12)

  • Production deployment (Phase 13)


Getting Help


Contributing

We welcome contributions! See our Contributing Guide for:


License

MIT License - see LICENSE for details.


Built with Rust, Solidity, and Python

Last updated