Documentation

How Hashfort works

A smart-contract vault whose spending key is a NIST post-quantum signature, verified on chain. Live on Robinhood Chain; the Standard vault also works on Ethereum, Base, Arbitrum, Optimism, BNB Chain and Polygon.

Threat model

Almost every wallet today signs with ECDSA on secp256k1. A large enough quantum computer running Shor's algorithm can derive the private key from the public key. The public key of an address becomes public the first time that address sends a transaction, and on a blockchain it stays public forever, so it can be recorded now and attacked later ("harvest now, crack later").

Hashfort moves the authority over funds to a key a quantum computer is not known to break: ML-DSA-65 (FIPS 204, lattice-based) for everyday control and SLH-DSA-SHA2-128s (FIPS 205, built only from SHA-256) for recovery. The vault contract verifies those signatures itself; no server, relayer or Hashfort operator can move funds.

What it does not protect against: a compromised device that has your passphrase and key file, bugs in the contracts (they are not audited), or tokens you keep outside the vault.

Vault types

v3 (post-quantum, default)Standard (v2)
Primary keyML-DSA-65, any number of signaturesWOTS+ one-time hash keys in a Merkle tree (1,024 signatures)
Recovery keySLH-DSA-SHA2-128s, with a 2-day delayGuardians
NetworksRobinhood ChainRobinhood Chain and 6 more
Agents, Sentinel, plansYesAgents and Sentinel

Keys

Primary key (ML-DSA-65)
Made in your browser and saved as an encrypted Primary Kit file (passphrase-derived key, 600,000 PBKDF2 rounds). It signs withdrawals and every settings change. Each signature covers the chain, the vault, a nonce, a deadline and the exact calls, under the context string HASHFORT_V3_OP, so it cannot be replayed elsewhere.
Recovery key (SLH-DSA-SHA2-128s)
Saved as a separate Recovery Kit. Keep it offline. Its only power is to start replacing the primary key (context HASHFORT_V3_RECOVERY).
Daily key (optional)
Your normal wallet. It can spend up to a daily limit you set, and nothing else. Choose post-quantum only when creating the vault and the limit is 0: every spend then needs the primary key.

Recovery

Lost the primary key: sign with the Recovery Kit to propose a new primary key. It takes effect after the recovery delay (2 days by default, at least 1 day; the primary key can change it). If someone else started it, cancel it with the primary key during the delay.

Lost everything: guardians you chose (up to 8, with a threshold and a delay of at least 1 day) can together replace the daily key, the primary key and the recovery key.

Migrating funds

The scanner on the home page checks an address on every supported network and Bitcoin. If its key is exposed, Secure it now opens the app with the Migrate panel: create a vault, connect the exposed wallet, and move its native coin and tokens into the vault, one wallet confirmation per asset. A small amount of the native coin is kept back for gas. The Exposure leaderboard shows the same measurement for the top tokens on Robinhood Chain.

Agents and Sentinel

Agent keys are ordinary keys the primary key authorises with hard limits on chain: a daily cap per asset, an expiry, and optionally a list of allowed payees. An agent can pay for services (x402, in USDG) without ever touching the primary key.

Sentinel watches the vault and alerts you (in the app, or push on Pro and Team). It holds a key that can only freeze the vault; unfreezing needs the primary key.

Plans and token

Free, Pro and Team are sold by the HashfortPlans contract in USDG on Robinhood Chain. It has no admin: the prices and the treasury are fixed at deployment, and payment goes straight to the treasury. Anyone can pay for any account. planOf(account) also returns Pro for any account holding the holder threshold of HASHFORT, checked on chain at each call. Revenue funds buybacks; every token bought is sent to the dead address, listed with its transactions on the home page.

Costs (measured on Robinhood Chain)

ActionGas
Create a v3 vault (stores the key data)about 6.35M
Withdraw with an ML-DSA-65 signatureabout 5.25M
Start recovery with an SLH-DSA signatureabout 1.3M
Daily-key or agent spendordinary transfer cost

Limits

  • Not audited. Keep amounts small.
  • Post-quantum signatures are large, so withdrawals cost millions of gas; on Robinhood Chain that is still cents.
  • Lose both kits and have no guardians, and the funds stay locked: no one, including Hashfort, can move them.
  • Only what is inside the vault is protected. Tokens left in an exposed wallet are not.

Contracts

Loading…

All verified with an exact match on Sourcify. Source, compiler settings and file hashes: /code.

Verify it yourself

/proof decodes a real ML-DSA-65 withdrawal and calls the live verifier with its signature (true; one byte flipped: false), signs with fresh keys in your browser and verifies them on mainnet, and simulates creating a vault, all without a wallet or gas. JSON: /api/proof/demo, /api/live, /api/deployments.