A vault that a quantum computer can't open
Ordinary wallets are protected by elliptic-curve signatures (ECDSA). A large enough quantum computer could derive a private key from a public one. YEkos protects funds with hash-based signatures instead: their security rests only on keccak256, which quantum computers do not break.
Four steps
Generate keys
Your browser creates a secret and derives 256 one-time keys from it. Only a 32-byte fingerprint (the root) goes on-chain.
Create the vault
Your wallet deploys a vault contract bound to that root. The wallet only pays gas: it has no power over the funds.
Sign & queue
To move funds you sign the request with one unused one-time key. The vault checks it and starts the time-lock.
Execute or cancel
When the time-lock ends, anyone can execute it. Until then, you or your guardian can cancel it.
One-time keys (Winternitz)
Each one-time key is 67 hash chains. A chain starts from a secret value and is hashed up to 15 times. The end of every chain is public.
To sign, the message digest is cut into 64 base-16 digits plus a 3-digit checksum. For digit d you reveal the value d steps along its chain. The contract hashes each revealed value the remaining 15 − d steps and checks that it lands on the public end.
Forging a signature would mean running keccak256 backwards. The checksum stops anyone from moving a digit forward: lowering the checksum would need exactly that.
Why "one-time"? A signature reveals part of every chain. Two signatures with the same key could reveal enough for someone to sign a third message. So the app marks each key as used before it signs, and never signs with it again.
256 keys in one root
The public ends of each key are hashed into one leaf, and the 256 leaves are hashed pairwise into a Merkle tree of height 8. The vault stores only the root. Every signature carries the 8 sibling hashes that link its key to the root, so the contract can check it without storing the keys.
Key #255 is reserved for rotation. When the 255 ordinary keys run low, you generate a new set and use #255 to move the vault to the new root. The vault can never lock itself out.
Time-lock and guardian
Every action waits in a queue for the vault's time-lock (1 hour to 30 days, 24 hours by default). This gives you a window to react if your key file was ever stolen:
- You can cancel any pending action with another one-time key.
- An optional guardian (a separate wallet, for example a hardware wallet) can cancel pending actions. It can do nothing else: it cannot move funds or change settings.
- Anyone can execute an action after its time-lock. Execution needs no key, so a friend or a bot can finish your withdrawal.
Changing the guardian, the time-lock or the key set goes through the same queue, so an attacker can't remove your protections quietly.
Parameters
| Item | Value |
|---|---|
| Network | Elysium, chain id 99901, gas in HYPE |
| Signature | W-OTS, w = 16, keccak256, 67 chains |
| Keys per set | 256 (255 for actions + 1 for rotation) |
| Time-lock | 1 hour – 30 days |
| Assets | HYPE and any ERC-20 token on Elysium |
| Gas | Verify ≈ 191k · queue a transfer ≈ 346k |
| Replay protection | Every message binds chain id, vault address, key epoch and action id |