Live on XRPL Mainnet Active alpha MIT

Challenger: Rust XRP Ledger validator and light client

Written from scratch, with Bonneville flat-state storage, the Pitwall differential oracle, a 295 KB WASM light client, and a 20 KB bare-metal x86-64 OS. Ledger output is checked byte-for-byte against rippled.

Quick install
$ git clone https://github.com/LJ-XRPL/challenger && cd challenger && ./scripts/one-click-validator.sh --mainnet
Challenger validator hardware on the Bonneville salt flats at dusk
Fig. 01Bonneville salt flats, dusk
XRPL Mainnet validator last snapshot · fetching live data
38,747 ledgers
Validated Mainnet Ledgers (30d)
Out of 47,165 Mainnet ledgers observed on XRPScan
2d 04h+
Mainnet Run Span
Active Mainnet run (~3.9s/ledger)
91.31%
24h Agreement
21,636 ledgers in rolling 24h window
104,340 txs
Live Pitwall Mainnet Replay
100.00% byte-exact parity across 656 live ledgers
Live closes
Waiting for next Mainnet close…
Validator key nHU4DKb6wu2yR3qBWLHLQQ1h2BGXBxmP4aHy9LLiji4ZF3h6hmy2
Components

Six components.

Challenger speaks the same wire protocol as rippled and produces the same ledger hashes. The internals differ: a flat state store, a light client that verifies proofs locally, a differential test oracle, adaptive peer routing, and an experimental bare-metal build.

Bonneville Flat-State Engine hardware on the salt flats at dusk 01 · Storage Architecture
1 disk read / lookup1 write / changed objectbit-exact account_hash
Crate
xrpl-bonneville
Persisted
31,202 TPS
Index
In-RAM SHAMap
Log
Append-only · CRC32C
Undo
Pointer-only journal

Bonneville Flat-State Engine (xrpl-bonneville)

The 16-way SHAMap stays for hashing and the peer protocol. It is no longer the on-disk layout. Following Erigon/Reth and Solana's AccountsDB, Bonneville writes each state object once to an append-only flat log and keeps the hash tree in RAM as the index.

  • 1 disk read per lookup, 1 write per changed object instead of 6-level NuDB/RocksDB hash walks and inner-node write amplification.
  • Pointer-only undo journal: Object segments are append-only, so ledger rollback entries are pointers, not copies of the object.
  • Off-lock compaction & hardware SHA-NI/AVX2: Parallel tree rehashing, zero-alloc Log::read_key, and periodic tree checkpoints for fast crash recovery.
  • Bit-exact account_hash parity: Wire messages, ledger hashes, and RPC output match rippled.
Labs

Two interactive models.

The first compares a SHAMap disk walk with a Bonneville lookup. The second steps through the Challenger Light proof chain and shows a tampered byte being rejected by hash checks.

Lab 01 · Storage Lookup Simulator

Traditional SHAMap storage vs. Bonneville

A state lookup in NuDB/RocksDB walks the hash tree on disk, one random read per level. Bonneville resolves the key in its in-RAM SHAMap index, then reads the object once from the flat log.

Traditional SHAMap Storage (NuDB / RocksDB) random disk reads 0

Ready.

Bonneville Flat-State Engine disk reads 0

Ready.

Tree depth shown is illustrative (~6 levels); real SHAMap depth varies with key distribution and state size. FLAT_STATE.md →
Lab 02 · Proof Chain

Every byte hashes back to a pinned key

Challenger Light trusts nothing a hub or relay sends until it checks. Run the chain, then flip one bit in any link. The SHA-512Half digest changes and the frame is rejected.

    Pinned UNLPENDING

    Frame bytes (illustrative)
    
                  
    Committed digest · SHA-512Half
    Computing…
    Computed digest · SHA-512Half
    Not yet verified
    iSelect a step, press Verify chain, then try the tamper test.
    Each frame starts with the 4-byte tag named in its step (highlighted). The remaining payload bytes are illustrative. Digests are computed live in your browser with WebCrypto SHA-512, truncated to 256 bits (SHA-512Half). LIGHT.md →
    Tooling

    Tools that run without a full validator.

    Each major subsystem ships, or will ship, as its own binary, SDK, or diagnostic tool.

    Browse all binaries in the repo →
    Challenger Light Node hardware Live

    Challenger Light Node

    challenger-light · xrpl-light-client

    Local JSON-RPC on 127.0.0.1:5005 with no DB. Peers directly with Mainnet hubs and verifies 1-RTT TMGetLedger(LiAsNode) proofs. Supports --stateless-propose and shadow validation.

    $ challenger-light --stateless-propose
    Pitwall differential oracle console Live

    Pitwall Differential Oracle

    xrpl-pitwall · tools/xrpl-pitwall

    Differential execution oracle against rippled. Fetches live Mainnet state on demand, compares TER, TxMeta, and SLEs byte-for-byte, and minimizes any divergence.

    $ cargo run --release -p xrpl-pitwall -- --help
    Stateless light relay hardware Live

    Stateless Light Relay

    xrpl-light-relay · deploy/relay/

    XRPL/2.3 peer-to-WebSocket bridge for browser PWAs and xrpl.js apps. No keys, no DB. One Docker command; 15,000+ concurrent clients.

    $ xrpl-light-relay --network mainnet --listen 0.0.0.0:8080
    Challenger Light PWA on a phone Live

    Light PWA & xrpl.js SDK

    xrpl-light-wasm · sdk/challenger-light-xrpl

    295 KB Rust-to-WASM PWA for phone and desktop. Includes a live consensus view (PRP\0), multi-relay failover, an xrpl.js adapter, and iOS/Android UniFFI bindings.

    WASM + JS + Swift + Kotlin SDK docs →
    Peer probe diagnostic on the XRPL TLS mesh Live

    Peer Probe Diagnostic

    xrpl-validator peer-probe

    Standalone XRPL/2.3 TLS 1.3 peer diagnostic: dials any rippled or challenger hub with a throwaway key and checks the handshake, wire frames, and signatures.

    $ xrpl-validator peer-probe r.ripple.com:51235
    Challenger TUI terminal interface on the pitwall rail Live

    Challenger TUI

    one-click-validator.sh · terminal UI

    Built-in terminal UI with Pitwall themes, a 35-validator UNL grid, Braille telemetry scope, sparklines, peer view, and log filter (o/l/p/?/Esc). Works over SSH.

    $ ./scripts/one-click-validator.sh --mainnet
    Challenger Zero-OS bare-metal hardware Experimental

    Challenger Zero-OS

    zero-os/challenger-zero-os.elf (20 KB)

    Bare-metal XRPL light client OS in x86-64 NASM. No Linux, C, Rust, libc, or disk. Boots into 64-bit Long Mode in <1 ms, with Ring-0 crypto and a PCI virtio-net WebSocket stack.

    $ cd zero-os && make && make run-net
    Architecture

    15 Rust crates plus the Pitwall oracle.

    Consensus does not depend on the transaction engine, and the transaction engine does not depend on networking. One verifier crate (xrpl-light-core) is shared by the WASM PWA, the CLI, and the Swift/Kotlin bindings. All Rust cryptography lives in xrpl-crypto. Select a crate to see its workspace dependencies from Cargo.toml.

    Light Stack

    shared verifier · 5 crates

    Validator

    node, storage, network, protocol, execution

    Core

    shared by every binary · 3 crates
    Install

    Install and run.

    Five modes: a live Mainnet/Testnet/Devnet node with TUI, a 0-DB Mainnet light node, a self-hosted relay, the test suites, or the 20 KB bare-metal OS in QEMU.

    bash · requires stable Rust toolchain and bash
    # Clone Challenger and connect a node to live XRPL Mainnet with the TUI
    git clone https://github.com/LJ-XRPL/challenger
    cd challenger
    ./scripts/one-click-validator.sh --mainnet
    
    # Other networks or a local 5-node TLS 1.3 mesh:
    ./scripts/one-click-validator.sh --testnet
    ./scripts/one-click-validator.sh --cluster 5
    
    # Or install the validator binary directly via Cargo:
    cargo install --git https://github.com/LJ-XRPL/challenger xrpl-validator
    
    # Query node and ledger status (press q or Ctrl-C in the TUI to stop):
    curl -s http://127.0.0.1:5005/ -d '{"method":"server_info","params":[{}]}'

    Mainnet node, TUI, and dashboard

    Builds xrpl-validator, generates keys and xrpld.cfg with Bonneville flat-state storage, connects to live XRPL Mainnet (or --testnet / --devnet / --cluster 5), launches the terminal TUI (o/l/p/?/Esc), and serves the web dashboard at http://127.0.0.1:5005/dashboard.

    Security note: The HTTP port has no password. Admin methods (submit, feature, consensus_info) use an IP allowlist (loopback-only by default). Read docs/OPERATING.md before exposing on a shared host.
    Status

    What is verified, and what is not done yet.

    406.60 mph

    On September 8, 1960, Mickey Thompson's Challenger I ran 406.60 mph one way across Bonneville. It broke down before the return pass, so the run did not count as a record. A result counts here only with a receipt.

    Measured

    33,921 TPS
    Hot-path close
    29.5 ms / 1,000 Ed25519 txs (31,202 TPS persisted)
    2,185/2,185
    Mainnet Pitwall parity
    50 consecutive live ledgers byte-for-byte vs rippled
    1–13 ms
    Live Devnet closes
    6,500+ contiguous ledgers · 5/5 UNL · TLS 1.3
    295 KB
    WASM light client PWA
    1-RTT SHAMap Merkle proofs · no DB · no trusted server
    20 KB
    Bare-metal Zero-OS
    Pure x86-64 NASM · <1 ms boot · Ring-0 crypto

    Verified receipts5 receipts

    • Live XRPL Devnet Peering & Validation 6,500+ contiguous ledgers over mutual TLS 1.3 (xrpld-3.5.0-rc6), 5/5 UNL agreement, 1–13 ms closes.
      Verified live
    • Live XRPL Mainnet Differential Parity (Pitwall) 2,185/2,185 txs across 50 consecutive Mainnet ledgers matched byte-for-byte on TER, TxMeta, and post-state SLEs.
      100.00% sample
    • Measured Local Throughput Benchmark 33,921 TPS hot-path (29.48 ms) / 31,202 TPS persisted (32.05 ms) on 1,000 Ed25519 Payments (8 vCPU AMD EPYC).
      Measured
    • Challenger Light Mainnet Merkle Proofs Live 1-RTT TMGetLedger(LiAsNode) verification against Mainnet hubs with 80% UNL quorum & LWR\0 headers.
      Verified live
    • Workspace & Black-Box E2E Test Gate 332+ Rust workspace tests, rippled crypto/codec/SHAMap vectors, and 136 independent Python black-box E2E tests.
      Passing

    Not done yetAlpha

    • External Security Audit No external audit has been performed yet. Do not run with production Mainnet validator keys or real funds.
      Not audited
    • Multi-Month Mainnet Operations Sampled 50-ledger differential parity is not a formal proof of full equivalence under every Mainnet partition or dispute.
      In progress
    • Path-Finding & Signing RPCs 18 JSON-RPC + WebSocket methods implemented; ripple_path_find / sign RPCs are not yet implemented.
      Partial
    • Legacy NuDB / RocksDB Opening Challenger uses Bonneville + FileNodeStore; it does not directly open a rippled NuDB or RocksDB directory.
      By design

    AI-Native XRPL Node · MCP 2025-03-26 & OpenAPI 3.1

    Connect Claude, ChatGPT, or Cursor Directly to Mainnet

    Challenger ships a 6.2 MB zero-dependency Rust MCP server (challenger-mcp) with verified Mainnet reads, in-process xrpl-tx-engine simulation, ephemeral Mainnet-fork sandboxes in RAM, and key-free signing handoff. Zero private keys. Zero confirmation friction.

    https://challenger.lukejudges.com/mcp Full AI / MCP Guide → 8-Core Benchmarks → Light Client →

    Frequently Asked Questions

    How do I connect Claude or ChatGPT to XRPL Mainnet using Challenger?

    Add https://challenger.lukejudges.com/mcp as a custom connector in Claude.ai, Claude Cowork, or ChatGPT Connectors (no auth required), run claude mcp add --transport http challenger https://challenger.lukejudges.com/mcp in Claude Code, or import https://challenger.lukejudges.com/openapi.json into an OpenAI Custom GPT.

    Can an AI agent simulate XRPL transactions without holding private keys?

    Yes. challenger-mcp runs unsigned transactions in-process through Rust xrpl-tx-engine against live Mainnet state (xrpl_simulate_tx) or an ephemeral RAM Mainnet fork (xrpl_sandbox_*), returning exact TER codes and balance diffs. xrpl_prepare_tx explicitly rejects any secret or seed input and emits unsigned binary blobs plus STX\0 signing digests for Xaman, Crossmark, or Ledger.

    How does Challenger compare to xrpld, xahaud, and Clio?

    In matched 8-core AMD EPYC-Genoa benchmarks (64 concurrent clients, 0 errors), Challenger with Bonneville reaches 109,799 req/s (0.42 ms p50) at 25.2 MB peak RSS — 8.0× faster than xrpld 3.4.1 NuDB (13,739 req/s), 4.7× faster than xahaud rwdb in-memory (23,580 req/s), and 12.8× faster than Clio 2.8.0 + Cassandra 5.0 (8,602 req/s, 1,548 MB RSS). See full benchmark table →

    How do I verify XRPL Mainnet state without trusting an RPC server?

    Challenger Light verifies live UNL manifests, 80% validator quorum validations, and 16-way SHAMap Merkle proofs locally with zero database — available as a 295 KB Rust/WASM browser client, a standalone local JSON-RPC binary (challenger-light), Swift/Kotlin UniFFI bindings, and a 20 KB bare-metal x86-64 OS. Explore Challenger Light →