FractalAI
The first post-quantum, AI-native Layer 1 blockchain
600,000+ lines of Rust | 1,300+ tests | 235+ RPC endpoints | 8 chains live
Live Demo · Whitepaper · Explorer · Presale
phi = 1.618033988749895
How FractalAI Compares
| Feature | FractalAI | Ethereum | Solana | Bitcoin |
|---|---|---|---|---|
| Consensus | Proof of Fractal Work | Proof of Stake | Proof of History | Proof of Work |
| Quantum Safe | Yes (Dilithium/Kyber) | No (ECDSA) | No (Ed25519) | No (ECDSA) |
| Block Time | 3s | 12s | 0.4s | ~10 min |
| VM | WASM (FractalVM) | EVM | SVM (BPF) | Script |
| State | Verkle Trees | Merkle Patricia | Accounts | UTXO |
| AI Native | Yes (FANE neural engine) | No | No | No |
| Smart Contracts | Rust → WASM | Solidity | Rust → 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:
- Challenge — The network issues a Julia set challenge with a deterministic seed
- Compute — Validators compute fractal metrics: Hausdorff dimension (D_H), correlation dimension, self-similarity, spectrum width
- Score — Composite score:
S(M) = 0.35·f(D_H) + 0.20·f(D_C) + 0.30·f(S) + 0.15·f(Δα) - Golden Bonus — If
|D_H - φ| < 0.05φ, validator gets 1.5x bonus (golden ratio proximity) - 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
| Crate | Purpose | Lines | Tests |
|---|---|---|---|
core | Types, blocks, transactions, state | ~80K | 180+ |
crypto | CRYSTALS-Dilithium, Kyber, BLAKE3 | ~45K | 120+ |
consensus | PoFW scoring, BFT finality | ~55K | 150+ |
storage | RocksDB, Verkle trees, BlockStore | ~40K | 100+ |
network | libp2p, Gossipsub, sync | ~35K | 80+ |
vm | WASM executor, gas metering, host functions | ~50K | 110+ |
node | Full node, miner, mempool, JSON-RPC, FANE | ~250K | 450+ |
wallet | CLI wallet, Dilithium keypairs | ~15K | 40+ |
compression | QFC, IFS-based fractal compression | ~30K | 70+ |
| Total | 600K+ | 1,300+ |
Cross-Chain Bridge (Live)
wFRAC (Wrapped FRAC) is deployed and verified on 7 EVM chains + Stellar. All contracts verified on Sourcify.
| Chain | Chain ID | wFRAC Contract | Bridge Contract |
|---|---|---|---|
| Ethereum | 1 | 0x578f...9Dc | 0xE381...dbf |
| BSC | 56 | 0x1f0d...181 | 0x578f...9Dc |
| Polygon | 137 | 0x1f0d...181 | 0x578f...9Dc |
| Arbitrum | 42161 | 0x1f0d...181 | 0x578f...9Dc |
| Base | 8453 | 0xE381...dbf | 0x5551...FFC |
| Avalanche | 43114 | 0x1f0d...181 | 0x578f...9Dc |
| Optimism | 10 | 0x1f0d...181 | 0x578f...9Dc |
| Stellar | — | Asset: FRAC | Issuer: 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
| Metric | Value |
|---|---|
| Token | FRAC (native, like ETH) |
| Total Supply | 1,000,000,000 (fixed) |
| Decimals | 18 |
| Fee Burn | 61.8% (1/φ) |
| Block Reward | 100 FRAI per block |
| Chain ID | 62124 (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
| Live Demo | fractalai.net.co/live |
| Whitepaper | fractalai.net.co/whitepaper |
| Explorer | fractalai.net.co/explorer |
| Presale | fractalai.net.co/presale |
| Bridge | fractalai.net.co/bridge |
| @FractalAIChain | |
| Telegram | t.me/FractalAIChain |
| Discord | discord.gg/2mqr6CMt |
License
MIT License — see LICENSE for details.
phi = 1.618033988749895