QUANTUM VAULTS: do it yourself (no website needed)
Everything a vault owner needs is on Ethereum and on your own computer. The website is a convenience, not a requirement.
Treat the website like any wallet app
Assume the website can be compromised the same way MetaMask, Phantom or any other wallet app can: a hacked or impersonated site could serve code that steals a key file the moment you load it. So:
- Deposits never need your key. Depositing through the website is fine.
- For withdrawals from anything you can't afford to lose, don't load your key file into the website. Use the offline signer or the command-line tool below, on your own computer.
- Only use tool files whose SHA-256 matches the published list (see "Get the tools").
What you need
- Your key file (
quantum-vault-key-….json). It is the only way into your vault. Anyone who has it can empty the vault. Lose it and nobody, including us, can open the vault again. - Any Ethereum wallet with a little ETH for gas. It does not have to be the wallet that deposited: the vault only checks the key's signature, the wallet just pays the gas.
- The vault contract address (QuantumVaults on Ethereum mainnet), published in this repository's README and on the site.
Get the tools
SHA-256 (also in the repository and on IPFS):
Two tools, both made from the same signing code as the website, both with no network access:
| Tool | Use it | File |
|---|---|---|
| Offline signer | Open the file in a browser, from your own disk. It cannot load or send anything (its security policy blocks all network access). | tools/qv-offline.html |
| Command line | node qv.mjs … (Node 18 or newer, no install) | tools/qv.mjs |
Check them before use:
sha256sum qv-offline.html qv.mjs
Compare with tools/SHA256SUMS in this repository (and the copy pinned on IPFS). If a hash doesn't match, don't use the file.
1. Make a key and open a vault
Offline signer: tab "New vault key", paste the vault contract address, click Generate. A key file downloads. Back it up before you go on. The page shows your vault id, the vault's public seed and its first key.
Command line:
node qv.mjs new --contract 0xQUANTUM_VAULTS_ADDRESS
Then open the vault on-chain with any wallet, either:
- Etherscan: the QuantumVaults contract → Contract → Write Contract → connect a wallet →
open,pubSeed= your public seed,key= your first key. cast send 0xQUANTUM_VAULTS_ADDRESS "open(bytes32,bytes32)" 0xPUBLIC_SEED 0xFIRST_KEY --rpc-url https://ethereum-rpc.publicnode.com --account YOUR_WALLET
Your vault id never changes: it is the hash of your public seed and first key, so nobody can take it or redirect deposits meant for it. If someone else sends this same open first, they have simply opened your vault for you.
2. Deposit (no key needed)
Anyone can deposit into any vault. 0.5% goes to $QV stakers; the rest is credited to the vault.
- ETH: Etherscan → Write Contract →
depositETH,id= your vault id, put the amount in thepayablefield. Or:cast send 0xQUANTUM_VAULTS_ADDRESS "depositETH(uint256)" VAULT_ID --value 0.5ether … - Tokens (WETH, USDC, USDT, WBTC): first on the token's Etherscan page → Write →
approve(spender = QuantumVaults, amount), then on QuantumVaults →deposit(id, token, amount)with the amount in the token's base units (USDC and USDT: 6 decimals, so 100 USDC =100000000; WBTC: 8; WETH: 18).
Each vault holds at most the launch limit per token (1 ETH, 1 WETH, 2,000 USDC, 2,000 USDT, 0.03 WBTC) until that is raised.
3. Check your vault
Etherscan → Read Contract:
vaults(id)→key(the vault's current key),pubSeedandnonce(how many withdrawals so far)balanceOf(id, token)→ what the vault holds (0x0000000000000000000000000000000000000000= ETH)
4. Withdraw
You need the current nonce from vaults(id).
Offline signer: tab "Sign a withdrawal", load your key file, enter the nonce, click "Check my key against the vault" (the key it shows must equal vaults(id).key on Etherscan), then choose the token, amount and recipient and click Sign. A signed-withdrawal file downloads and the page shows what to send.
Command line:
node qv.mjs withdraw quantum-vault-key-….json --nonce 0 --token ETH --amount 0.5 --to 0xYOUR_ADDRESS
It prints a ready cast send command and saves the signed withdrawal next to your key file.
Then send it from any wallet, either:
- Etherscan → Write Contract →
withdrawwithid,token,amount,to,nextKeyandsig(paste the 67-value list exactly as shown), 0 ETH. - Or send the raw transaction data the tool shows to the QuantumVaults address with 0 ETH (
cast send 0xQUANTUM_VAULTS_ADDRESS 0xDATA …).
0.5% of the amount goes to $QV stakers; the recipient gets the rest. The vault moves to its next key.
The one rule: one signature per key
A vault key is a one-time (Winternitz) key. It is safe for exactly one signature.
- Never sign two different withdrawals for the same vault and nonce. The tools refuse to.
- If a withdrawal doesn't go through (stuck, dropped, out of gas), send the same signed withdrawal again. Don't make a new one.
- If the contract accepted your signature but couldn't pay out (amount more than the balance, or the recipient refused it), the transaction still succeeds: it emits
WithdrawFailed, the funds stay in the vault, and the vault has moved to its next key. Check the nonce and sign a new withdrawal for the new nonce.
If the website is gone
Nothing changes for your funds. The contracts are on Ethereum and verified on Etherscan; the tools in this repository (and on IPFS) plus any wallet are all you need. Every step above works without the website.