On chain
Deployed contracts
Token utility
Plans and HASHFORT
| Contract | Address | Verified source |
|---|---|---|
| Robinhood Chain · HashfortPlans Pro 9 USDG and Team 49 USDG per 30 days, paid straight to the treasury. planOf() gives Pro to any account holding 1,000,000 HASHFORT. | 0x5CE14d54D3b4A444A2802d9EB0a8347bB50c791F | Sourcify |
| Robinhood Chain · HASHFORT token | 0xAd961b8fDEF6d74b48eDc07A2cf9B4Cf6a1a04e8 | ERC-20 |
In use
Vaults on Robinhood Chain
Every vault the factories created, read from the chain now (VaultCreated), and how many vault-key operations each has run (Executed: a hash-based signature the contract verified).
| Vault | Created in | Vault-key operations |
|---|---|---|
| 0x8988309d720c2a826C2571cDD79610377e1a17D0 v3 | 0xeaa17a90fd993b02… | 1 · latest |
| 0x45C366Cd729365FD38c88D94526DAeC1Efe41Cb6 v2 | 0x8fff5a1722c1d683… | 1 · latest |
Source
Files
| File | Lines | SHA-256 |
|---|---|---|
| contracts/HashSig.sol Hash-based signature verifier (WOTS+ one-time keys in a Merkle tree, keccak256 only) | 72 | c5553dc25042388befb93be87775a1d5486bd50c1a550786eb9352e4c964b225 |
| contracts/QuantumVault.sol The vault (v1): daily key with limits, vault key for everything else, guardians, no admin | 259 | e485ec5d96f83a6108b560810ca2c885b279d05d17cc252624d53e5bc545ded6 |
| contracts/QuantumVaultV2.sol The vault (v2, Robinhood Chain): v1 plus scoped agent keys (limits, allowed addresses, expiry) and Sentinel keys that can only freeze | 364 | a78e16d5f228e53f7bd48e93e76135b58781d34b3cb7af62e2af60e58cafb23e |
| contracts/QuantumVaultFactoryV2.sol Factory for v2 vaults | 59 | 921f8b3a25a4ff872756b443aa6911f4d29de5059e5b2c81655bf820e23cdd17 |
| contracts/plans/HashfortPlans.sol Free / Pro / Team plans in USDG, admin-free; HASHFORT holders get Pro on chain (planOf reads the token balance) | 77 | f246e19dc8c412a292cf03015af060de0544ea5ba09924abfb0324099d4ff8ae |
| contracts/v3/QuantumVaultV3.sol The vault (v3): ML-DSA-65 primary key, SLH-DSA-SHA2-128s recovery key with a 2-day delay, plus every v2 feature | 431 | fa813e30ea11d109cb1bf89c4da8810a188678261145384392186a143f11cef8 |
| contracts/v3/QuantumVaultFactoryV3.sol Factory for v3 vaults; stores each primary key's verification data as contract code | 87 | 287b51965ad4fdbf12b4a5cfec7c6ea1bbdfc6aedc9a0e7d03cfae7ab0a403ae |
| contracts/mldsa/MLDSA65Verifier.sol ML-DSA-65 (FIPS 204) verification on chain, plus checkExpansion to audit a vault's stored key data | 322 | 6b84ede8d05d049c18bbc8e02c97fefa7046faa7a2a9d33749a42161a4863466 |
| contracts/mldsa/SLHDSA128sVerifier.sol SLH-DSA-SHA2-128s (FIPS 205) verification on chain, using the SHA-256 precompile | 132 | 52a63e348a08bf97bf71a8c3b48ab6bafa537a572b93dc298373d6ba4153ca99 |
| contracts/mldsa/Shake.sol SHAKE128/256 (FIPS 202) in Yul, generated by scripts/gen/keccak_yul.py | 205 | 1a65bd09ff4f213763c1c6fb4be5d7e3f841abdcf57ed7b484cbd85f62ac5e71 |
| sdk/mldsa65.mjs What the app computes from an ML-DSA-65 public key before storing it on chain | 61 | cc62ff8b9ad4a337677d51377c65adaba10e31bac0e113fffcc6e7134b256f65 |
| test/vault-v3.test.js v3 tests: browser-made ML-DSA-65 and SLH-DSA signatures, replay, rotation, recovery delay, guardians | 157 | 124fe27e02dac9f2fec3d918915dd60e811e08f28b28d28496c0323cbf77acf5 |
| test/mldsa65.test.js ML-DSA-65 verifier tests against signatures from the browser library | 59 | 8768b0fb8979e5840c7c539042344c5d305767ee76067608a12e862cb18b71bc |
| test/slhdsa.test.js SLH-DSA-SHA2-128s verifier tests against signatures from the browser library | 37 | 6829a729090252f61993d9d7ef380c905aeac45acc88d8df712d839d51ab20d1 |
| contracts/QuantumVaultFactory.sol Deterministic vault addresses (CREATE2 + EIP-1167 clones of one immutable implementation) | 59 | 938d05ba6577a52c04f4347d0c95d3fa50ef8e6d6078f5c958790408c9c534ec |
| sdk/hashsig.mjs Key trees, signing and the operation digest, the same code the app runs in your browser | 118 | 52f4623655f7830ce7670ecf474f29d12d918b50991c2109c66a972195cb0f55 |
| web/app/app.js The vault app: key generation, Recovery Kit, signing, transactions through your wallet | 1028 | d81e4ce3c56110fea3832fd4a443f37949c886c97123884ea200e8372090eba4 |
| server.mjs This web server: static files, read-only chain proxy, exposure scan (EVM and Bitcoin) | 463 | de420063ffd2ac3e75f867e95e2c0e5b53d1fc3e16b2475e94adf07145e73485 |
| services.mjs Transaction auditor (simulation and rules) and x402 payments in USDG on Robinhood Chain | 393 | 3a5b15c89bf47edf2dbf544caf11f92c4ce9b860acbafa27da968c6b0cb4eef8 |
| agents.mjs Agent keys, agent runtime (pays x402 through agentSpend), MEMORY.md, and the Sentinel watcher | 394 | 8c101e044bd3912cc1a636da43032cfe5ef5c38fd72639db85cc923cd2e6f57c |
| ai.mjs Optional language model for summaries and the agent's reasoning (key sealed on the server) | 61 | 838d08e298465891dc5d9652176b74743ae68553062f9bef7592e8e19c0ee840 |
| relayer.mjs Gasless relayer for vault-key operations (only Hashfort vaults, simulated first) | 86 | 6c2ebd701c80714cbe8f2e1bcfc2c70a78a895196eda85f85b9371ca53792bbe |
| test/vault-v2.test.js Tests for agent keys, Sentinel freeze, and the vault key during a freeze | 116 | 969a91dc565ea4ed25be606c1f20fb4c639f8de7760028962a1908a24a613424 |
Build
Compile it yourself
solc 0.8.24, optimizer on, 10,000 runs, evmVersion shanghai v3 primary key ML-DSA-65 (FIPS 204): q = 8380417, (k, l) = (6, 5), signature 3,309 B, public key 1,952 B; SHAKE128/256 in Yul v3 recovery key SLH-DSA-SHA2-128s (FIPS 205): n = 16, h = 63, d = 7, a = 12, k = 14; signature 7,856 B; SHA-256 precompile Standard key HashSig: WOTS+ n = 32 bytes, w = 16, 67 chains, Merkle height 10 (1,024 one-time keys); keccak256 with tweaks Test suite: 40 tests (Hardhat): signatures, replay, forgery, expiry, limits, rotation, guardians, factory, agent keys, Sentinel freeze, ML-DSA-65 and SLH-DSA-SHA2-128s verifiers against browser-made signatures, v3 vaults (primary key, recovery delay, guardians)