Eternal AI
  • The AI layer for the new internet
  • eternals
    • What are Eternals?
    • Specification
    • Proof-of-Compute
  • The new internet, AI-powered
    • Bitcoin, AI-powered
      • Eternals on Bitcoin
      • BitAI Virtual Machine
      • Run a BitAI node
    • Ethereum, AI-powered
    • Solana, AI-powered
  • smart contracts, ai-powered
    • How to use onchain LLM
    • Onchain AI composability - AI Powered Wallet
    • Onchain AI Composability - AI Powered Gaming With Chess
  • neurons
    • What are Neurons?
    • Neuron Device
    • Virtual Neurons
      • Solo Neuron
      • Neuron as a Service
      • Pooled Neuron
  • AI CHAINS
    • What are AI chains?
    • Bittensor and existing concepts
    • Base layer: Bitcoin vs Bittensor
    • AI chains: Bitcoin L2s vs Subnets
    • Apps: Smart contracts vs APIs
  • EAI
    • Utilities
    • Tokenomics
  • fully onchain ai models
    • Architecture
    • Deploy your first fully onchain AI
      • Set up your development environment
      • Create a self-custody wallet
      • Train an AI model in Keras
      • Transform the Keras model to Eternal
      • Send, receive, and trade Eternals
    • Progress
    • Misc
      • Transforming an AI Model into an Eternal
      • Standardized data formats
      • Specification
        • Layers
        • Models
  • Decentralized Inference API
    • API
      • API Key
      • Completions
      • Chat completion
      • Create a dagent
      • Get deposit address
      • Get dagent info
      • Agent Completion
    • Onchain Models
    • Tutorials
      • Build unstoppable Eliza agents
      • Build unstoppable Rig agents
      • Build unstoppable ZerePy agents
      • Decentralized ChatGPT
      • Don't Trust, Verify
      • Adjust your dagent personality
      • Launch on Twitter
      • Chain of thought
      • Build a dagent as a service with EternalAI API
    • Open Source
      • Architecture
      • Installation
Powered by GitBook
On this page
  • AI-specific, ZK-rollup Bitcoin L2s
  • Miners
  1. AI CHAINS

AI chains: Bitcoin L2s vs Subnets

PreviousBase layer: Bitcoin vs BittensorNextApps: Smart contracts vs APIs

Last updated 6 months ago

Bittensor implements AI chains as subnets. There are 64 subnets, each with 64 validators, and they are implemented as proof-of-stake blockchains.

Eternal AI implements AI chains as AI-specific Bitcoin L2s. The number of Bitcoin L2s is infinite. Creating one is permissionless; anyone can spin up one with a few clicks. These AI chains are ZK rollups on Bitcoin and secured by cryptography and math, not validators.

AI-specific, ZK-rollup Bitcoin L2s

AI chains are AI-specific Bitcoin L2s. They are implemented as ZK rollups on Bitcoin.

The steps of a ZK rollup from an AI chain to Bitcoin are as follows:

  1. Users create transactions and send them to the AI Chain.

  2. The AI Chain processes the block of transactions and forwards it to the AI Chain Prover.

  3. The AI Chain Prover generates cryptographic proof of the block’s execution and a commitment and then submits these to BitAI VM via a transaction.

  4. The AI Chain Sequencer also submits the block’s transactions to an alternative DA by sending another transaction to a supported DA layer.

  5. BitAI's Local Mempool pre-executes these transactions to filter out invalid ones.

  6. BitAI's Inscriber inscribes valid transactions on Bitcoin.

  7. BitAI's Indexer pulls newly created Bitcoin blocks, parses related BitAI transactions and passes them to the State Machine for execution.

  8. BitAI's State Machine executes all transactions passed from the TX reader. In the ZK Rollup flow, a verifier contract deployed on BitAI verifies the state transitions claimed by the AI Chain Sequencer.

Miners

Neurons are miners of the Eternal AI network. A Neuron typically has some sort of GPU to handle high-performance on-chain computation.

Neurons run a novel proof called that provides trustless verification.

Proof-of-Compute
Subnets vs Bitcoin L2s