Lifeboat PQ

Move an exposed Ethereum account to quantum-safe keys in one free, all-or-nothing transaction

Lifeboat PQ

Created At

ETHGlobal Mumbai

Project Description

Every Ethereum account that has sent a transaction has published its public key. A large enough quantum computer could turn that key back into the private key and empty the account. You can't fix this by changing keys: the address is derived from the key, so the funds have to move.

Lifeboat is that move. First it checks, privately, whether an address has exposed its key: the reads go through Anon-RPC over the Nym mixnet or Tor, so the RPC provider never learns who asked. Then one sponsored transaction creates a quantum-safe account and moves all the ETH and tokens into it. Everything moves or nothing does, and a sponsor pays the fee, so even a wallet holding only tokens can get out.

The new account checks a hash-based signature on every transaction. In hybrid mode it also requires the old key, until the owner flips a one-way switch to quantum-safe only. In the demo we hand an attacker the old private key, exactly what a quantum computer would recover: a forged signature and a replayed real one are both refused by the network.

Completed moves can be listed, opt-in, on a public log on Arkiv, so the record outlives the test network, and each row can be checked against the chain from the site.

It runs end to end on the EIP-8141 alt-mempool devnet. Keys are made and kept in the browser. MIT licensed.

How it's Made

The signature is XMSS with WOTS+C, written from scratch in TypeScript and verified in Solidity using only keccak256. Each account holds 1,024 one-time keys in a Merkle tree. Instead of a checksum, the signer searches for a counter that makes the message's base-4 digits add up to a fixed total, so verification always walks the same 144 hash steps: a fixed 48,600 gas per signature (an earlier w = 16 version averaged 101k and didn't fit the budget), with a 4,424-byte signature. The account is an EIP-8141 frame account that checks this signature in its VERIFY frame and only accepts the one-time key matching the transaction's nonce, so a key can't be reused.

The move is a single frame transaction that creates the account through a CREATE2 factory and moves ETH and tokens atomically. A staked MigrationSponsor pays the gas only if the sender's key is exposed, the destination is a real Lifeboat account and it's that account's first move. Checking that means reading the factory's storage during validation, which the public mempool refuses (StorageReadNonSender) and the ERC-8421 alt mempool allows for a staked sponsor. The site shows the same signed transaction refused by one and mined through the other. The account itself fits the public mempool's 100k validation budget; only the sponsor needs the alt mempool.

The exposure check makes five mainnet reads through Anon-RPC (@anon-rpc/browser-harness), Nym first and Tor as a backup, with the address as the isolation key; stalled reads retry over a fresh route. The opt-in public log uses the Arkiv SDK on the Rabdi testnet; the publisher re-derives every field from the mined transaction before writing.

Frontend: React and Vite, keys generated in a Web Worker in about 5 seconds, signing in the browser. Contracts compile with solc-js and are tested in-process with @ethereumjs/evm (no Foundry); 24 tests. Claude Code helped write and test the code and draft the docs; details in the README.

background image mobile

Join the mailing list

Get the latest news and updates

Lifeboat PQ | ETHGlobal