Introduction
eyezero (i0) is a zero-sequencer, zero-bridge Proof-of-Work mini-chain and meme-coin launchpad whose entire ruleset, UI, and verifier live permanently inside a single Genesis Inscription on Bitcoin.
Traditional Bitcoin layers either inherit Bitcoin’s 10-minute UX latency or rely on a centralized sequencer, validator committee, or custodial bridge. eyezero takes a different path:
- Live UX without a sequencer: Users open the Genesis Inscription directly on any
ordviewer (ordinals.com), connect over Entmoot (entmoot-liteWebRTC-direct, which runs insideord’s strict sandbox CSP), and broadcast signed trades that update live charts in under 1 second. - Permissionless PoW settlement on Bitcoin: Anyone can pack pending Entmoot orders into a block payload, grind the
reveal_txidoffline until the inscription ID starts with leading zeros (000000…i0), and inscribe it on Bitcoin. - Every browser is a verifying node: Opening the inscription runs the deterministic verifier locally using
ord’s recursive endpoints (/content/<id>,/r/inscription/<id>,/r/blockhash/<h>). No validator fleet is required. - MEV-free trading: All buys and sells for a token inside a block execute at one uniform batch-clearing price using exact
BigIntinteger math. - Trustless BTC on/off-ramp: Miners and winning traders swap native
$I0back into real BTC using built-in Bitcoin L1 HTLC atomic swaps — zero bridge, zero custodian.
System Architecture
Protocol Layers at a Glance
| Layer | Component | Responsibility |
|---|---|---|
| Rules & UI | Genesis Inscription (G) | Immutable HTML/JS app on Bitcoin holding applyBlock(), bonding-curve math, verifier, and UI |
| Live Mempool | Entmoot (entmoot-lite) | WebRTC-direct P2P gossip propagating #i0-tx orders and #i0-blk announcements in <1s |
| Settlement & PoW | Vanity Inscriptions (000000…i0) | Confirmed Bitcoin inscriptions whose reveal_txid satisfies dynamic leading-zero PoW difficulty |
| Verifiers | Every User’s Browser | Validates PoW, Bitcoin confirmation, signatures, nonces, and state diffs locally |
| BTC On/Off-Ramp | Built-in HTLC Swaps | Atomic P2P swaps between real Bitcoin L1 and native $I0 with zero custodian |
Reading Guide
- Start with Protocol Overview to walk through each subsystem chapter by chapter.
- Want everything on a single page to read or share? Jump straight to the Full v1 Design Document.
- Looking for parameters still to lock in before building the v1 prototype? See Open Decisions.
Protocol Overview
The eyezero (i0) protocol is built around five minimal, composable pieces so that v1 can ship in pure JavaScript inside a single Bitcoin inscription and later scale to hundreds of TPS via ZK proofs without changing its rules or block structure.
- Consensus & Vanity PoW — How miners grind
000000…i0inscription IDs offline without wasting BTC fees, how blocks anchor to/r/blockhash/<h>to prevent pre-mining, and how forks and ties resolve. - Economics & Mining — How native
$I0is fair-launched via PoW block rewards and why 100% of bonding-curve trading fees go directly to miners. - Bonding Curve & Batch Clearing — The six transaction primitives, the order-independent
BigIntbatch clearing formula that eliminates MEV/sandwich attacks, and how live<1strading works insideord’s sandbox. - Trustless BTC Swaps (HTLC) — How miners and winning traders move value between
$I0and real Bitcoin L1 atomically without a bridge or centralized exchange. - Block Format & Scaling (v1 → v2) — Compact CBOR+Brotli blocks, State Diffs, periodic Checkpoint Snapshots, and swapping raw signatures for a 200-byte ZK proof in v2 with zero Entmoot data-availability risk.
Consensus & Vanity PoW
Vanity-ID Proof of Work (000000…i0)
Every Ordinal inscription ID has the form <reveal_txid>i0. Because the reveal transaction spends the commit transaction’s Taproot output — whose script commits to the exact inscription payload bytes — changing even one bit of the block changes commit_txid and therefore reveal_txid.
Miners pack pending #i0-tx orders from Entmoot into a block payload and grind a nonce (or nLockTime / reveal fields) entirely offline until the display-order reveal_txid meets the difficulty target (000000…i0). Only when a valid solution is found does the miner broadcast commit + reveal on Bitcoin.
Block Validity Rules
Every browser tab opening Genesis Inscription G rejects a candidate block B unless all six rules hold:
-
Confirmed on Bitcoin:
GET /r/inscription/<B.id>succeeds,B.idends withi0, andBis confirmed in a Bitcoin block at heightbtc_height(B). -
Chain Continuity:
B.prevequals the parent canonical block’s ID (orGat height1),B.height === prev.height + 1, andbtc_height(B) > btc_height(prev)(at most one canonicali0block per Bitcoin block). -
Anti-Premine Anchor:
BincludesbtcRef = { h, hash }, verified againstGET /r/blockhash/<h>, where:btc_height(prev) <= h < btc_height(B)btc_height(B) - h <= 6
Because
reveal_txidcryptographically commits tobtcRef.hash, no miner can secretly pre-grind blockN + 1before the Bitcoin block carrying blockNexists. -
PoW Difficulty Target: Interpreting
B.id.slice(0, 64)(the visible000000…display hex) as a 256-bit unsigned integer satisfies: \[ \text{uint256}(B.\text{id}) \le \text{target}(B.\text{height}) \]- Continuous retargeting: Smooth bit-level target (avoiding 16× jumps between hex nibbles), retargeting every 72 blocks (~12 hours) toward 1
i0block per Bitcoin block, clamped to0.25x–4xper epoch. - Minimum floor: Hard minimum of 20 leading zero bits (
00000…i0) so canonical blocks are always visibly vanity-mined even at low hashrate.
- Continuous retargeting: Smooth bit-level target (avoiding 16× jumps between hex nibbles), retargeting every 72 blocks (~12 hours) toward 1
-
Valid Signatures & Strict Nonces: Every transaction in
B.txshas a valid BIP-340 Schnorr signature,chainId === G.slice(0, 16), strictly sequentialnonce === account.nonce + 1, and sufficient balance. -
Deterministic State Transition: Replaying
applyBlock(prevState, B)in exactBigIntinteger math produces identicalB.stateRootandB.diff(andB.checkpointon checkpoint heights).
Fork Choice & Orphan Tie-Break
When competing valid blocks exist:
- Primary rule: Select the valid chain with the highest cumulative PoW work (\( \sum 2^{256} / \text{target} \)).
- Same-work tie-break:
- Earliest Bitcoin confirmation block (lowest
btc_height). - If both blocks confirmed in the same Bitcoin block: lowest
inscription_numberfrom/r/inscription/<id>.
- Earliest Bitcoin confirmation block (lowest
At the same height with the same parent, competing blocks share the exact same target, so the tie-break reduces immediately to earliest Bitcoin block, then lowest inscription_number.
Block Discovery & Cold Recovery
- Fast discovery: Once a winning block confirms on Bitcoin, the miner broadcasts
#i0-blk: { id, height, prev }on Entmoot. Every online browser caches verified headers inIndexedDBand re-gossips the tip. - Cold recovery (no Entmoot required): Because every block embeds
B.prev, knowing any single recent block ID (from a peer, explorer, or social post) lets any browser walkB.prevbackwards over/content/<id>all the way to GenesisGand reconstruct the entire chain directly from Bitcoin.
Economics & Mining
What Miners Expend
To produce a valid eyezero block, a miner expends two real, scarce resources:
- Compute & electricity — grinding
reveal_txidoffline until000000…i0satisfies the current PoW target. - Bitcoin L1 transaction fees — paying Bitcoin miners to confirm the
commit + revealinscription on mainnet.
If a miner packs even one invalid signature, bad nonce, or miscalculated curve output, every user’s browser rejects the block and the miner loses both their PoW work and their Bitcoin fee.
What Miners Earn
Every valid 000000…i0 block rewards its miner (B.miner) with two native revenue streams:
1. Fair-Launch Block Reward ($I0)
- Each canonical block mints new native
$I0directly toB.mineron a Bitcoin-style halving schedule (0% premine, 0% insider allocation). - Mining is the only way
$I0enters circulation. $I0serves as the quote currency for all bonding curves, launch fees, and spam-prevention fees — eliminating the need for a centralized BTC bridge.
2. 100% of Protocol Trading & Launch Fees
- 1.0% trading fee on every bonding-curve
BUYandSELL, credited directly to the miner of that block. - Flat launch fee (in
$I0) on everyLAUNCHtransaction (anti-spam + miner revenue). - Optional priority tips (
fee) attached to any transaction.
000000…i0 and pay Bitcoin L1 fees to claim those fees quickly → PoW difficulty rises, securing the chain and creating organic demand for $I0.
Closing the Value Loop
The protocol never holds a centralized BTC vault (which would create a custodial honeypot). Instead:
- Miners expend compute + BTC fees to earn
$I0block rewards and 1% trading fees. - Incoming traders bring real BTC and buy
$I0from miners (or winning traders) via the built-in P2P HTLC swap or open markets. - Winning traders cash profits back into real BTC the exact same way.
Bonding Curve & Batch Clearing
All bonding-curve logic lives permanently inside Genesis Inscription G as pure deterministic BigInt integer math — zero floating-point arithmetic, guaranteeing every browser on Earth computes bit-for-bit identical balances.
Transaction Primitives
The entire v1 protocol needs only six transaction types:
| Type | Payload Fields | Purpose |
|---|---|---|
TRANSFER | to, tokenId, amount, fee | Transfer $I0 (tokenId = 0) or any launched token |
LAUNCH | ticker, name, artId, initialBuy, fee | Deploy a new token (artId = any Bitcoin Ordinal inscription_id for permanent on-chain meme art) |
BUY | tokenId, i0In, minTokOut, fee | Buy tokens from a bonding curve or graduated AMM pool |
SELL | tokenId, tokIn, minI0Out, fee | Sell tokens back to a bonding curve or graduated AMM pool |
HTLC_LOCK | recipient, amount, hashlock, timeoutHeight, fee | Lock $I0 for an atomic BTC swap |
HTLC_CLAIM / HTLC_REFUND | swapId, preimage | Claim locked $I0 with SHA256(preimage) == hashlock, or refund after timeoutHeight |
MEV-Free Uniform Batch Clearing
In a sequential mempool, miners or bots can front-run and sandwich trades. eyezero removes ordering MEV completely by clearing all BUY and SELL orders for a token within a block at one single uniform clearing price.
Let a token’s current virtual+real reserves be:
\[ X = V_{I0} + R_{I0}, \qquad Y = V_{\text{tok}} + R_{\text{tok}} \]
For each token traded in block B:
- Deduct the 1% trading fee from every order’s input (credited to
B.miner). - Sum all net buy inputs \( B = \sum b_i \) (in
$I0) and all net sell inputs \( S = \sum s_j \) (in token). - Compute total batch outputs with integer floor division: \[ \text{out}_{\text{tok}} = \left\lfloor \frac{B \cdot (Y + S)}{X + B} \right\rfloor, \qquad \text{out}_{I0} = \left\lfloor \frac{S \cdot (X + B)}{Y + S} \right\rfloor \]
- Allocate pro-rata to every buyer and seller: \[ \text{buyer}_i \text{ receives } \left\lfloor \frac{b_i \cdot \text{out}_{\text{tok}}}{B} \right\rfloor, \qquad \text{seller}_j \text{ receives } \left\lfloor \frac{s_j \cdot \text{out}_{I0}}{S} \right\rfloor \]
- Update reserves: \[ X^{\prime} = X + B - \text{out}_{I0}, \qquad Y^{\prime} = Y + S - \text{out}_{\text{tok}} \]
Mathematical Guarantees
- Order-independent & sandwich-proof: Every buyer and seller in the block receives the exact same effective price \( P = (X + B) / (Y + S) \), regardless of where their transaction sits in
B.txs. - Exact constant-product reduction: When \( S = 0 \) (buys only), \( \text{out}_{\text{tok}} = \lfloor B \cdot Y / (X + B) \rfloor \); when \( B = 0 \) (sells only), \( \text{out}_{I0} = \lfloor S \cdot X / (Y + S) \rfloor \) — identical to standard \( x \cdot y = k \).
- Strict solvency: For any simultaneous buys and sells, \( X^{\prime} \cdot Y^{\prime} \ge X \cdot Y \) always holds (rounding dust stays in the pool), and \( R_{I0}^{\prime} \ge 0 \) always holds.
- Slippage enforcement: Every order included in
B.txsmust satisfyactualOut >= order.minOutat the block’s clearing price, or the entire block is invalid. - Seamless graduation: When real reserve \( R_{I0} \) reaches
GRAD_TARGET, the token transitions permanently into a locked constant-product AMM pool using the exact same batch formula with zero downtime.
Live Trading UX (<1s Soft State)
- When a user clicks Buy, their browser signs an order with their next
nonceand broadcasts it to Entmoot (#i0-tx). - All connected browsers receive the signed order in <1 second, run the exact
applyBlock()preview locally, and update live charts and balances badged as Pending (Entmoot). - Users can chain multiple trades inside the same 10-minute window using incrementing nonces (
nonce 5 → 6 → 7). - When the next
000000…i0block confirms on Bitcoin, included trades snap cleanly from Pending to Final (Bitcoin).
Wallet Keys Inside ord’s Sandbox
Because ord renders inscriptions inside a strict sandboxed iframe (blocking external fetch/WebSocket and typically isolating browser wallet extensions):
- Genesis Inscription
Gcreates and stores a local BIP-340 Schnorr (secp256k1) trading keypair inIndexedDB, exportable as a 12-word recovery phrase or encrypted backup. - Users only need their external Bitcoin L1 wallet when mining blocks or executing L1 HTLC swaps.
Trustless BTC Swaps (HTLC)
Miners and winning traders convert $I0 back into real Bitcoin — and incoming traders acquire $I0 with real BTC — using Hash Time-Locked Contracts (HTLCs), the same atomic primitive used by the Lightning Network.
No multisig, no centralized exchange, and no custodial bridge are required.
Atomic Swap Flow
Step-by-Step Walkthrough
- Match on Entmoot: Alice (a miner or winning trader) posts an offer on Entmoot’s P2P swap channel (
10,000 $I0for0.05 BTC). Bob accepts and exchanges pubkeys. - Alice locks
$I0: Alice generates a random 32-byte secretS, computesH = SHA256(S), and submitsHTLC_LOCK(recipient = Bob, amount = 10000, hashlock = H, timeoutHeight = T + 18)on eyezero. - Bob locks real BTC: Once Alice’s
HTLC_LOCKconfirms on eyezero, Bob locks0.05 BTCon Bitcoin L1 in a standard Taproot/P2WSH HTLC script (OP_SHA256 <H> OP_EQUAL→ Alice, or refund to Bob afterT + 6Bitcoin blocks). - Alice claims BTC: Alice spends Bob’s Bitcoin HTLC UTXO by revealing
Sin the witness, receiving0.05 BTCin her Bitcoin wallet. - Bob claims
$I0:Sis now public on Bitcoin L1. Bob submitsHTLC_CLAIM(swapId, preimage = S)on eyezero. Every browser checksSHA256(S) === Hand releases Alice’s10,000 $I0to Bob.
Safety Invariants
- Timelock ordering:
eyezero_timeout(T + 18Bitcoin blocks) is always strictly longer thanbtc_timeout(T + 6Bitcoin blocks), guaranteeing Bob at least a 12-block window (~2 hours) to readSfrom Bitcoin L1 and claim his$I0. - Zero extra
ordAPIs required: Unlike payment-inspection tricks that break when a seller spends an inscription UTXO,HTLC_CLAIMdepends solely onSHA256(preimage) === hashlock— a mathematical proof that remains verifiable forever insideord’s sandbox. - Atomicity: If either party walks away before Step 4, both locks refund automatically after their respective timeouts.
Block Format & Scaling (v1 → v2)
A single standard Bitcoin inscription supports up to ~380–390 KB of compressed payload (within Bitcoin Core’s 400 KB standardness limit). eyezero is designed so v1 ships immediately in pure JavaScript and v2 later scales to hundreds of TPS using the exact same block schema.
Compact Block Schema (CBOR + Brotli, ≤380 KB)
{
"v": 1,
"h": 4201,
"prev": "0000007a...9f1ei0",
"btcRef": { "h": 924110, "hash": "00000000000000000002..." },
"miner": "<32-byte BIP-340 pubkey>",
"nonce": 18492011,
"stateRoot": "<32-byte SHA-256 Merkle root>",
"diff": [
[104, 0, "495000000"],
[104, 17, "12840000"]
],
"checkpoint": null,
"txs": [ "...compact signed transactions..." ]
}
State Diffs (diff)
- Lists only the
(accountId, tokenId, newBalance)entries that changed during this block (~12 bytes per entry). - No limit on total chain wallets: Even if 10,000,000 wallets exist on the chain, if 500 traded in the last 10 minutes,
diffis only ~6 KB. - One 380 KB inscription can record up to ~30,000 unique active wallets changing balance in a single 10-minute window.
Periodic Checkpoint Snapshots (checkpoint)
- Every
Nblocks (e.g., every 144 blocks ≈ 1 day), a block includes a full compressed snapshot of all non-zero balances. - Up to ~30,000 non-zero balances fit inside a single checkpoint inscription; beyond that, the checkpoint splits cleanly across linked snapshot pages (
page 1, page 2, ...). - New browsers sync immediately from the latest checkpoint instead of replaying every historical block since Genesis.
Throughput & v1 → v2 ZK Upgrade Path
| Stage | On-Chain Block Contents | Estimated Throughput | Browser Verification | Entmoot DA Risk |
|---|---|---|---|---|
| v1 (Ship Now) | prev + diff + checkpoint + raw txs | ~3,500–4,200 txs / block (~6–7 TPS) | Pure JS signature & math check since last checkpoint | Zero (100% on Bitcoin) |
| v2 (ZK Upgrade) | prev + diff + checkpoint + ~200B zkProof | Hundreds of TPS (all intra-block trades collapsed into net diff) | ~5 ms single ZK proof verification, zero replay | Zero (every final balance diff stays permanently on Bitcoin) |
Full v1 Design Document
One-liner: A zero-sequencer, zero-bridge Proof-of-Work mini-chain and meme-coin launchpad whose entire ruleset, UI, and verifier live inside a single Genesis Inscription on Bitcoin.
1. Core Architecture
eyezero (i0) separates live UX from final settlement without introducing any centralized sequencer, validator server, or custodial bridge.
| Layer | Component | Role |
|---|---|---|
| Rules & App | Genesis Inscription (G) | Immutable HTML/JS app on Bitcoin holding the deterministic applyBlock() state machine, bonding-curve math, verifier, and UI. |
| Live Mempool | Entmoot (entmoot-lite) | WebRTC-direct P2P gossip (works inside ord’s strict sandbox CSP). Propagates signed orders (#i0-tx) and block announcements (#i0-blk) in <1s. |
| Settlement & PoW | Vanity Inscriptions (000000…i0) | Anyone packs pending orders, grinds reveal_txid offline until the inscription ID meets dynamic PoW difficulty, and inscribes on Bitcoin. |
| Verifying Nodes | Every User’s Browser | Opening G on ordinals.com verifies PoW, /r/inscription/<id>, signatures, and state transitions locally. Zero dedicated validator fleet. |
| BTC On/Off-Ramp | Built-in HTLC Swaps | Trustless P2P swaps between real Bitcoin L1 and native $I0 coins using standard Hash Time-Locked Contracts. |
2. Consensus, Vanity PoW & Fork Choice
2.1 Vanity-ID PoW (Zero Wasted BTC Fees)
An Ordinal inscription ID is <reveal_txid>i0. Because reveal_tx spends the commit_tx output (whose Taproot script commits to the exact block payload bytes), modifying any byte of the block changes commit_txid and therefore reveal_txid.
Miners grind non-content fields (e.g. nLockTime, miner nonce in payload, or commit/reveal tweaking) entirely offline until the display-order reveal_txid satisfies the difficulty target 000000…i0. Only once a valid hash is found do they broadcast commit + reveal on Bitcoin — failed hashes cost $0 in BTC fees.
2.2 Block Validity Rules
Every browser verifier rejects a block inscription B unless all 6 checks pass:
- Confirmed on Bitcoin:
GET /r/inscription/<B.id>succeeds,B.idends withi0, andBis confirmed in a Bitcoin block (btc_height(B)). - Chain Continuity:
B.prevequals the parent block’s ID (orGat height1),B.height === prev.height + 1, andbtc_height(B) > btc_height(prev)(at most one canonicali0block per Bitcoin block). - Anti-Premine Anchor:
BincludesbtcRefHeightandbtcRefHash, verified againstGET /r/blockhash/<btcRefHeight>, wherebtc_height(prev) <= btcRefHeight < btc_height(B)andbtc_height(B) - btcRefHeight <= 6. - PoW Difficulty Target: Interpreting
B.id.slice(0, 64)as a 256-bit unsigned integer satisfies \( \text{uint256}(B.\text{id}) \le \text{target}(B.\text{height}) \). Retargets smoothly every 72 blocks (~12h) toward 1i0block per Bitcoin block, clamped0.25x–4x, with a minimum floor of 20 leading zero bits (00000…i0). - Valid Transactions & Nonces: Every tx in
B.txshas a valid signature,chainId === G.slice(0, 16), strictly sequentialnonce === account.nonce + 1, and sufficient balance. - Deterministic State Root & Diff: Running
applyBlock(prevState, B)in pureBigIntinteger math produces exact matches forB.stateRootandB.diff(andB.checkpointon checkpoint heights).
2.3 Fork Choice & Orphan Tie-Break
- Primary: Highest cumulative PoW work (\( \sum 2^{256} / \text{target} \)).
- Same-work tie-break: (1) Earliest Bitcoin confirmation block (
lowest btc_height), then (2) lowestinscription_numberfrom/r/inscription/<id>.
2.4 Block Discovery & Cold Recovery
- Fast path: Miners announce confirmed blocks on Entmoot (
#i0-blk: { id, height, prev }). Browsers cache tips inIndexedDBand re-gossip. - Cold recovery: Given any single latest block ID, any browser walks
B.prevbackwards via/content/<id>all the way to GenesisGwithout needing Entmoot.
3. Native Coin ($I0) & Miner Economics
Miners expend compute/electricity + real BTC L1 fees and earn:
- Fair-Launch Block Reward (
$I0): Minted solely toB.mineron a Bitcoin-style halving schedule (0% premine). Serves as the quote currency for all meme-coin curves. - 100% of Protocol Trading & Launch Fees: 1.0% on every
BUY/SELL+ flat launch fee on everyLAUNCH+ optional priority tips.
4. MEV-Free Batch-Auction Bonding Curve
All curve math lives inside Genesis Inscription G in deterministic BigInt arithmetic.
4.1 Six Primitives
TRANSFER, LAUNCH (referencing any Bitcoin Ordinal inscription_id as permanent meme art), BUY, SELL, HTLC_LOCK, and HTLC_CLAIM / HTLC_REFUND.
4.2 Uniform Batch Clearing
For reserves \( X = V_{I0} + R_{I0} \) and \( Y = V_{\text{tok}} + R_{\text{tok}} \), net buy inputs \( B = \sum b_i \) (after 1% fee), and net sell inputs \( S = \sum s_j \) (after 1% fee):
\[ \text{out}_{\text{tok}} = \left\lfloor \frac{B \cdot (Y + S)}{X + B} \right\rfloor, \qquad \text{out}_{I0} = \left\lfloor \frac{S \cdot (X + B)}{Y + S} \right\rfloor \]
Payouts distribute pro-rata (\( \lfloor b_i \cdot \text{out}_{\text{tok}} / B \rfloor \) and \( \lfloor s_j \cdot \text{out}_{I0} / S \rfloor \)), and reserves update to \( X^{\prime} = X + B - \text{out}_{I0} \), \( Y^{\prime} = Y + S - \text{out}_{\text{tok}} \).
- Every buyer and seller receives the exact same uniform price \( P = (X + B) / (Y + S) \) (zero sandwiching / MEV).
- \( X^{\prime} \cdot Y^{\prime} \ge X \cdot Y \) and \( R_{I0}^{\prime} \ge 0 \) hold mathematically; reduces identically to \( x \cdot y = k \) when only buys or sells occur.
- Every included order must satisfy
actualOut >= order.minOut. - Crossing
GRAD_TARGETpermanently locks the curve into a constant-product AMM pool using the same formula.
4.3 Live UX & Sandbox Keys
- Signed orders over Entmoot
#i0-txupdate charts and balances in<1sas Pending (Entmoot) and flip to Final (Bitcoin) when000000…i0confirms. - Genesis Inscription
Gholds a local BIP-340 Schnorr trading keypair inIndexedDB(exportable via 12-word recovery phrase) becauseordsandboxes iframes from external browser wallet extensions.
5. Trustless BTC ↔ $I0 Swaps (HTLC)
- Alice (
$I0seller) and Bob (BTCbuyer) match on Entmoot. - Alice locks
$I0on eyezero viaHTLC_LOCK(H = SHA256(S), timeoutT + 18). - Bob locks real BTC on Bitcoin L1 in a standard Taproot/P2WSH HTLC (
H, timeoutT + 6). - Alice claims Bob’s BTC on Bitcoin L1 by revealing
S. - Bob submits
HTLC_CLAIM(swapId, S)on eyezero; browsers verifySHA256(S) === Hand release$I0to Bob.
6. Block Format, Checkpoints & v1 → v2 Scaling
{
"v": 1,
"h": 4201,
"prev": "0000007a...9f1ei0",
"btcRef": { "h": 924110, "hash": "00000000000000000002..." },
"miner": "<32-byte pubkey>",
"nonce": 18492011,
"stateRoot": "<32-byte SHA-256 Merkle root>",
"diff": [ [104, 0, "495000000"], [104, 17, "12840000"] ],
"checkpoint": null,
"txs": [ "...compact signed txs..." ]
}
- v1:
prev + diff + checkpoint + raw txs→ ~3,500–4,200 txs / block (~6–7 TPS), pure JS verification, 100% on Bitcoin. - v2: Swap
txsfor a ~200-byte ZK proof while keepingdiffon Bitcoin → hundreds of TPS, ~5 ms browser verification, and zero Entmoot data-availability risk.
Open Decisions
These v1 parameters are still open before freezing the Genesis Inscription and starting implementation:
| Parameter | Suggested Default | Alternatives |
|---|---|---|
| PoW Minimum Floor | 20 leading zero bits (00000…i0) | 16 bits (easier laptop mining at launch) vs 24 bits (000000…i0, heavier GPU start) |
Native $I0 Emission | 1,000 $I0 / block, halving every 21,000 blocks (~5 months) | Bitcoin-like 4-year halving (210,000 blocks) |
| Trading / Launch Fee | 1.0% trade fee + 10 $I0 launch fee (100% to miner) | 0.5% lower rake, or burn the launch fee |
| Token Graduation | Locks into AMM pool at 50,000 $I0 curve liquidity | Never graduate (permanent bonding curve) |
| First Prototype Target | Local browser simulator + real Entmoot mempool | Go straight to a Bitcoin regtest / signet vanity miner CLI + inscription |
Milestones
- v0.1 — Deterministic Rules Engine: Pure
BigIntJS implementation ofapplyBlock(), uniform batch clearing, HTLC lock/claim/refund, and unit tests proving solvency and zero-MEV order independence. - v0.2 — Entmoot + Browser Sandbox Demo: Self-contained HTML bundle connecting over
entmoot-liteWebRTC-direct with live<1spending charts and simulated vanity mining. - v0.3 — Bitcoin Signet / Regtest Miner CLI: Offline
commit + revealvanity grinder producing real00000…i0inscriptions confirmed on Signet and verified inside a localordserver. - v1.0 — Mainnet Genesis Inscription: Freeze
G, publish open-source miner CLI, and launch.