Live Any Bitcoin Mainnet TxID → Guardianless Ergo L1 Verifier & Testnet Settler
Paste ANY confirmed Bitcoin Mainnet txid (legacy, SegWit, or Taproot, ≥ 3 confirmations).
This page fetches real Bitcoin Mainnet headers (H−11..H+2), strips SegWit witness bytes, checks double-SHA256 PoW, 256-bit Bitcoin Core chainwork, 11-block MTP, and CVE-2017-12842 paired coinbase Merkle depth, builds bit-exact Ergo BatchAVLProver (0x07) proofs 100% client-side in pure JS (verified byte-for-byte against Scala sigma-state 6.0.3!), and lets you settle it live on Ergo Testnet via Nautilus!
1. Pure-JS Cryptographic & Ergo AVL+ Proof Bundle
Click "Fetch & Build Ergo Sigma v6 Proof" (or pick "Latest Live Bitcoin Mainnet Tx") to prove a real Bitcoin Mainnet tx client-side...
2. Live Ergo Testnet Settlement (Nautilus EIP-12 · 0 Guards!)
Executes the exact 3-step guardianless protocol on live Ergo Testnet (strictly Testnet-only; refuses Mainnet wallets):
1) Mint Relay Singleton @ H−1 + Lock Escrow (~0.032 tERG)
2) Relay real BTC Mainnet [H, H+1, H+2] (0 B relay proof!)
3) Claim Escrow via CONTEXT.dataInputs(0) (0 B escrow proof!)
Step 0: Build a Bitcoin Mainnet proof bundle on the left, then connect Nautilus (Testnet) to broadcast live.
Live WebCrypto Verification of Real Bitcoin Mainnet Headers (#0 → #3)
Click Verify Real Mainnet Batch to run the exact same checks as BitcoinHeaderRelayScript right in your browser:
80-byte wire decode, double-SHA256 PoW against compact nBits, Bitcoin Core MedianTimePast, and the overflow-free signed-256-bit chainwork identity floor(2^256 / (target + 1)).
Then click Tamper 1 Nonce Bit to watch PoW fail immediately!
Click "Verify Real Mainnet Batch (#0 → #3)" to execute live double-SHA256 verification...
Authenticated AVL+ Fork Choice & Reorg Engine
The singleton relay box stores be64(height + 1) → hash(32B) || merkleRoot(32B) || cumWorkBE(32B) inside a 33-byte AvlTree (0x07).
Any competing branch must prove its ancestor at forkHeight and achieve strictly greater cumulative work (newWork > oldWork). Equal-work ties never switch.
Current Active Chain (On-Chain State)
ErgoScript Consensus Trace
Guardianless BTC→ERG Settlement & Adversarial Attack Tester
An escrow locks 100 ERG requiring 250,000 sats to the seller's Bitcoin P2WPKH script with minConfirmations = 3, reading BitcoinHeaderRelay via zero-contention CONTEXT.dataInputs(0).
Toggle any hostile mutation below to see which exact BitcoinSpvEscrowScript invariant blocks it!
Transaction & Proof Conditions
tipHeight - btcHeight + 1)
vout claimed by buyer
OUTPUTS(0)