Liquidity vaults
Build liquidity vaults that survive Q-day.
A vault is bound to its owner's post-quantum identity. Funds leave only when the contract checks a one-time signature itself, then the remainder rolls into vault[i+1], which the next unused leaf signs for.
reading the index
- … vaults
- … withdrawals verified
- … leaves burned
Root matches the registered key1,005 of 1,005 hashes
verified on chain
The contract checks the key itself.
Funds leave a vault only when the contract verifies a hash-based signature from the identity it is bound to. No secp256k1 signature can move them alone, and no leaf is ever used twice.
- 01signOne unused WOTS leaf of the owner’s identity signs the packed withdraw digest.
- 02submitThe 2,404 B signature travels in one transaction.
- 03verifyThe contract finishes all 67 chains with the SHA-256 precompile and compares the root.
- 04roll overThe payee is paid, the remainder moves into vault[i+1], the leaf is marked spent.
read from PQVault
On chain
Reading PQVault on Robinhood Chain.
