Documentation

Everything you need to build, deploy, and scale on the AIVISION blockchain.

Getting Started

1

Install the SDK

Choose your preferred language and install the AIVISION SDK with a single command.

npm install @aivision/sdk
2

Configure Network

Set up your API key and connect to the AIVISION mainnet or testnet.

AIV_API_KEY=your_key
3

Start Building

Query the blockchain, send transactions, and deploy smart contracts.

await client.connect()

Architecture Overview

Consensus Layer (PoWAI)

The Proof of Work AI consensus mechanism uses neural network computations to validate transactions and secure the network, replacing traditional hash-based mining.

  • AI-powered block validation
  • Dynamic difficulty adjustment
  • Energy-efficient computation

Execution Layer (EVM)

Full EVM compatibility allows developers to deploy existing Solidity smart contracts without modification, while accessing AI-native precompiles.

  • 100% Solidity compatible
  • AI precompile contracts
  • Low gas fees (~0.001 AIV)

Data Availability Layer

Ensures all transaction data is available and verifiable through a decentralized storage network with cryptographic proofs.

  • KZG polynomial commitments
  • Data sharding for scalability
  • Erasure coding redundancy

Networking Layer (P2P)

A gossip-based peer-to-peer network ensures fast block propagation and transaction dissemination across the global node network.

  • libp2p protocol stack
  • Encrypted peer communication
  • NAT traversal support

Quick Links

SDK Reference

API docs for JS, Python, Go

Whitepaper

Technical deep-dive

Block Explorer

Explore on-chain data

Smart Contracts

Deploy & interact

Quick Example

Hello World on AIVISION
const { AIVisionSDK } = require('@aivision/sdk');

// Initialize client
const client = new AIVisionSDK({
  network: 'testnet',
  apiKey: process.env.AIV_API_KEY
});

// Get latest block
const block = await client.getBlock('latest');
console.log(`Block #${block.height} has ${block.txCount} transactions`);

// Send a transaction
const tx = await client.sendTransaction({
  to: '0x9f8a...3c7b',
  amount: 100,
  token: 'AIV'
});
console.log(`Transaction sent: ${tx.hash}`);