Odel
FRACTAL AI

FRACTAL AI

Local
@johninartiTypeScriptMITUpdated 2w ago

Post-quantum (ML-DSA-65/FIPS-204) proofs for AI agents via x402: sign, notarize, provenance, KYA.

FractalAI

The first post-quantum, AI-native Layer 1 blockchain

600,000+ lines of Rust | 1,300+ tests | 235+ RPC endpoints | 8 chains live

Build License: MIT Chains Tests

Live Demo · Whitepaper · Explorer · Presale

phi = 1.618033988749895


How FractalAI Compares

FeatureFractalAIEthereumSolanaBitcoin
ConsensusProof of Fractal WorkProof of StakeProof of HistoryProof of Work
Quantum SafeYes (Dilithium/Kyber)No (ECDSA)No (Ed25519)No (ECDSA)
Block Time3s12s0.4s~10 min
VMWASM (FractalVM)EVMSVM (BPF)Script
StateVerkle TreesMerkle PatriciaAccountsUTXO
AI NativeYes (FANE neural engine)NoNoNo
Smart ContractsRust → WASMSolidityRust → BPF

Quick Start

# Clone
git clone https://github.com/jonathanguven/fractal-ai.git && cd fractal-ai

# Build
cd blockchain && cargo build --release

# Run a node (JSON-RPC on :9545, P2P on :30303)
cargo run --release --bin fractal-node

Architecture

┌─────────────────────────────────────────────────────────────────┐
│                        FractalAI Node                           │
├──────────┬──────────┬──────────┬──────────┬─────────────────────┤
│   P2P    │  Miner   │ Mempool  │ JSON-RPC │     FANE AI         │
│ (libp2p) │  (PoFW)  │          │ (235+)   │  (Neural Engine)    │
├──────────┴──────────┴──────────┴──────────┴─────────────────────┤
│                     Block Execution Pipeline                     │
├──────────┬──────────┬──────────┬──────────┬─────────────────────┤
│ FractalVM│ StateDB  │ Crypto   │Consensus │   Storage           │
│ (WASM)   │(Verkle)  │(Dilithium│ (PoFW +  │  (RocksDB)          │
│          │          │  Kyber)  │  BFT)    │                     │
└──────────┴──────────┴──────────┴──────────┴─────────────────────┘

How Proof of Fractal Work Works

Instead of finding a hash below a target (Bitcoin) or staking tokens (Ethereum), FractalAI validators solve fractal analysis challenges:

  1. Challenge — The network issues a Julia set challenge with a deterministic seed
  2. Compute — Validators compute fractal metrics: Hausdorff dimension (D_H), correlation dimension, self-similarity, spectrum width
  3. Score — Composite score: S(M) = 0.35·f(D_H) + 0.20·f(D_C) + 0.30·f(S) + 0.15·f(Δα)
  4. Golden Bonus — If |D_H - φ| < 0.05φ, validator gets 1.5x bonus (golden ratio proximity)
  5. Finality — BFT finalization with 2/3 quorum. Block time target: 3 seconds
Difficulty: φ-adaptive EMA
  if avg_time < target/φ²  → increase difficulty
  if avg_time > target·φ   → decrease difficulty

Codebase

CratePurposeLinesTests
coreTypes, blocks, transactions, state~80K180+
cryptoCRYSTALS-Dilithium, Kyber, BLAKE3~45K120+
consensusPoFW scoring, BFT finality~55K150+
storageRocksDB, Verkle trees, BlockStore~40K100+
networklibp2p, Gossipsub, sync~35K80+
vmWASM executor, gas metering, host functions~50K110+
nodeFull node, miner, mempool, JSON-RPC, FANE~250K450+
walletCLI wallet, Dilithium keypairs~15K40+
compressionQFC, IFS-based fractal compression~30K70+
Total600K+1,300+

Cross-Chain Bridge (Live)

wFRAC (Wrapped FRAC) is deployed and verified on 7 EVM chains + Stellar. All contracts verified on Sourcify.

ChainChain IDwFRAC ContractBridge Contract
Ethereum10x578f...9Dc0xE381...dbf
BSC560x1f0d...1810x578f...9Dc
Polygon1370x1f0d...1810x578f...9Dc
Arbitrum421610x1f0d...1810x578f...9Dc
Base84530xE381...dbf0x5551...FFC
Avalanche431140x1f0d...1810x578f...9Dc
Optimism100x1f0d...1810x578f...9Dc
StellarAsset: FRACIssuer: GD527...3FV

Bridge features: Multisig, rate limiting (100K/hr, 1M/day), timelock (>10K = 24h), 0.16% fee (phi-based), 61.8% burned.


JSON-RPC API (235+ endpoints)

The node exposes a comprehensive JSON-RPC API on port 9545. Examples:

# Get latest block height
curl -s -X POST https://fractalai.net.co/rpc \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

# Node health check
curl -s -X POST https://fractalai.net.co/rpc \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"fractal_health","params":[],"id":1}'

# Get network statistics
curl -s -X POST https://fractalai.net.co/rpc \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"fractal_getNetworkStats","params":[],"id":1}'

Endpoint categories: eth_* (EVM-compatible), net_* (network), fractal_* (native), consensus_* (finality), aurum_* (commodities), fractal_frc55_* (agents), fractal_marketing_* (swarm), fractal_enterprise_* / fractal_industrial_* (B2B), prometheus_* (monitoring), fractal_phirag_* / fractal_fpcp_* / fractal_foci_* (on-chain intelligence).


Token Economics

MetricValue
TokenFRAC (native, like ETH)
Total Supply1,000,000,000 (fixed)
Decimals18
Fee Burn61.8% (1/φ)
Block Reward100 FRAI per block
Chain ID62124 (0xF2AC)

Distribution: Community 28% · Founder 18% · Treasury 13% · Staking 9% · SoftMake 8% · KPitApp 7% · Team 5% · Partners 4% · Liquidity 3% · Foundation 2.5% · Protocol Reserve 2.5%


Links


License

MIT License — see LICENSE for details.


Built with the Golden Ratio
phi = 1.618033988749895