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
Documentation Sections
Getting Started
Quick Start Guide - Get running in 5 minutes
Key Concepts - Core terminology and concepts
Use Cases - Real-world applications
Architecture
System Overview - High-level design
Payment Flow - Blockchain integration
Validation & Consensus - Validator mechanism
Security Model - Security architecture
Component Deep Dives
Gateway Node - Request routing and payments
Compute Node - Model execution
P2P Registry - Service discovery
Smart Contracts - On-chain logic
Guides
Development Setup - Local development
Docker Deployment - Container deployment
Running a Gateway - Gateway operation
Running a Compute Node - Compute operation
Reference
API Reference - Complete API documentation
Configuration - All configuration options
Troubleshooting - Common issues and solutions
System Requirements
Minimum Requirements
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)
RPC URL
https://testnet-rpc-1.forknet.io
Chain ID
828
Contract
0x4361115359E5C0a25c9b2f8Bb71184F010b768ea
Token
0x38E2565e8905BeAf83C34b266592465C22A2f108
Local Development
Gateway gRPC
50051
Gateway HTTP
8080
Gateway WebSocket
9000
P2P Registry gRPC
50050
P2P Registry P2P
8828
Project Status
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
Troubleshooting Guide - Common issues and solutions
FAQ - Frequently asked questions
GitHub Issues - Bug reports and feature requests
Contributing
We welcome contributions! See our Contributing Guide for:
License
MIT License - see LICENSE for details.
Built with Rust, Solidity, and Python
Last updated
