node sdk/scripts/benchmark.ts measures comparative end to end gas on a chain where both account factories are deployed; forge test --mc Benchmark -vv measures verification alone. npm run check:testnet performs a read-only infrastructure check, while its explicit --broadcast mode records the WOTS operation sequence. Deployment alone is not a benchmark.
Gas & benchmarks
Quantum safety has a price. We measured it against the reference ERC-4337 ECDSA wallet (SimpleAccount), both on EntryPoint v0.7.
These are recorded measurements, not current network fees. The live Robinhood testnet comparison below has public receipts. The separate local baseline comes from docs/benchmark-local.json; verification measurements are recorded in docs/benchmark.md.
Live Robinhood testnet comparison#
ECDSA / steady transfer
86,091 gas
WOTS / steady transfer
218,479 gas
| Scenario | ECDSA | WOTS | WOTS / ECDSA |
|---|---|---|---|
| First transfer + deployment | 274,920 | 388,574 | 1.41× |
| ETH transfer (mean of 5) | 86,091 | 218,479 | 2.54× |
| Batch of three transfers | 111,378 | 236,235 | 2.12× |
Outer transaction gas, one UserOperation per bundle, identical calls. Five samples per scheme for steady transfers; one per scheme for deployment and batching. Includes L2 transaction/data accounting; these snapshots are not current fee quotes.
Inspect all 14 receipts
- 1. ECDSA · deployment · 274,920 gas
- 2. WOTS · deployment · 388,574 gas
- 3. WOTS · steady-transfer · 214,683 gas
- 4. ECDSA · steady-transfer · 83,137 gas
- 5. ECDSA · steady-transfer · 83,137 gas
- 6. WOTS · steady-transfer · 206,463 gas
- 7. WOTS · steady-transfer · 229,233 gas
- 8. ECDSA · steady-transfer · 83,137 gas
- 9. ECDSA · steady-transfer · 91,928 gas
- 10. WOTS · steady-transfer · 225,141 gas
- 11. WOTS · steady-transfer · 216,873 gas
- 12. ECDSA · steady-transfer · 89,116 gas
- 13. ECDSA · batch-of-three · 111,378 gas
- 14. WOTS · batch-of-three · 236,235 gas
Download benchmark JSON · Runtime hashes and baseline deployment receipt included.
Both account schemes use EntryPoint v0.7 and the same self-relaying EOA. The sequence alternates which scheme goes first across pairs. Both make the same calls with a 200,000 call-gas limit; each has its own validation limits and L1 data estimate. WOTS signs through a persistent write-ahead journal; the ECDSA baseline uses the reference SimpleAccount.
The ECDSA factory and implementation runtime hashes match the locally compiled dependency artifacts. Explorer source verification is pending; runtime matching does not mean an independent audit. The original WOTS deployment block and transaction remain unchanged in the deployment record.
Local Anvil summary#
ECDSA SimpleAccount | Winternitz | |
|---|---|---|
| ETH transfer, total transaction gas | 91,315 | 219,293 |
Signature verification only (validateUserOp) | 11,332 | 108,209 |
| Signature size | 65 bytes | 2,176 bytes |
Winternitz adds about 128,000 gas per transaction, roughly 2.4× an ECDSA wallet.
Full results#
Real handleOps transactions, one operation per bundle, measured on Anvil with the benchmark’s configured Ethereum rules (including the EIP-7623 calldata floor). "Total gas" is what the chain charges, including calldata.
| Scenario | ECDSA | Winternitz | Ratio |
|---|---|---|---|
| First transfer (deploys the account) | 305,547 | 392,107 | 1.28× |
| ETH transfer (mean of 10) | 91,315 | 219,293 | 2.40× |
| Batch of 3 transfers | 115,677 | 234,372 | 2.03× |
Deployment is relatively cheap because accounts are minimal proxies (EIP-1167), and batching spreads the fixed signature cost over several calls.
Where the gas goes#
Verification cost depends on the message digits: the higher a digit, the fewer hashes are needed to reach the end of its chain.
| Digest | Hash steps | Verification gas |
|---|---|---|
All 0xff (best case) | 45 | 26,337 |
| Random (typical) | ~510 | 82,326 |
All 0x00 (worst case) | 990 | 161,148 |
The rest comes from calldata (2,176 mostly nonzero bytes at 16 gas each, about 34k) and key rotation (two storage writes, about 6k).
On Robinhood Chain#
Robinhood Chain is an Arbitrum L2, so execution is cheap, but posting data to Ethereum is charged as extra gas. The project benchmark report records these Robinhood Chain Testnet NodeInterface measurements; they are snapshots, not current fee quotes:
| Operation | L1 data component |
|---|---|
| ECDSA sized operation | ~13,600 gas |
| Winternitz operation | ~102,600 gas |
A current transfer fee requires a fresh estimate for the actual operation. The data component changes with Ethereum blob prices; the local benchmark and recorded data component should not be treated as a live fee quote.
Live testnet operation receipts#
The 19 October 2026 testnet verification records five consecutive WOTS transfers, recovery of a deliberately unsubmitted operation, and another normal transfer after recovery. Its public JSON report includes outer transaction gas, UserOperation gas, and actual gas cost for each receipt.
Those earlier receipts are WOTS-only functional measurements. The later comparative run at the top of this page includes both WOTS and ECDSA, following deployment and runtime verification of the separate ECDSA baseline.
Reproduce it
For the bounded Robinhood testnet comparison, use npm run benchmark:testnet -- --report /tmp/wtz-benchmark-preflight.json for read-only checks. Add --broadcast and choose a new public report path to run the sequence. --deploy-baseline is required to deploy a missing ECDSA baseline. The runner caps funding plus reserved outer transaction fees at 0.003 test ETH, persists fresh account keys and WOTS signing state under ignored local storage, and preserves existing reports. See the JSON for the actual run timestamps, per-operation costs and receipts.
Ways to make it cheaper#
- Different
w. A largerwshortens the signature (less data) but needs more hashing. On an L2 where data dominates, that trade is attractive. - Many keys under one root (XMSS style). Removes the rotation write per transaction.
- ZK aggregation. Prove many signature checks offchain and verify one proof per bundle.
- Arbitrum Stylus. A verifier compiled to WASM could make the hashing far cheaper on Robinhood Chain.