You generate the secret, offline
32 bytes from the system's cryptographic generator. The secret stays with you: only the hash goes into the deposit transaction, never the secret.
secret = getRandomValues(32)
21,000,000 tokens, all issued at deploy, with no owner and no mint function. On top of them, a vault whose withdrawal right is a 32-byte secret verified by hash — not by ECDSA signatures.
The name is the design statement. Custody here is hash-based, so it survives a quantum break of ECDSA. The account layer does not: transfers are still authorized by the chain’s secp256k1 signatures. That distinction is the whole claim — no more, no less.
The vault does not ask for a post-quantum signature. It asks for a secret only you know, cryptographically bound to the address that receives the funds. The flow below is exactly what the contract executes, not a simplified diagram for presentation.
32 bytes from the system's cryptographic generator. The secret stays with you: only the hash goes into the deposit transaction, never the secret.
secret = getRandomValues(32)
The commitment binds the secret to the address that will receive the funds. The contract moves the tokens to its own address and credits the vault. There is no second key that could move the funds.
commitment = keccak256(secret ‖ to)
You send the secret and the address to. The contract recomputes the hash; if it matches, the tokens go exclusively to to. Anyone who copies the calldata from the mempool cannot change the recipient.
pqWithdraw(secret, to)
The vault is not a separate contract and has no administrator. It is a mapping inside
the same token: mapping(bytes32 => uint256) vaultBalance. There is no
function that can move funds out of a vault anywhere other than the address bound in
the commitment — not even for whoever deployed it.
Why a hash and not a signature? Because the signatures that authorize a transaction are verified by the chain with ECDSA secp256k1, and a contract cannot change that. What a contract can do is not depend on a signature for internal custody: the withdrawal right becomes knowledge of a preimage. A quantum computer that breaks ECDSA gets nothing from this.
to goes into the hash. A front-runner who copies the transaction cannot redirect the funds.
function pqWithdraw(bytes32 secret, address to) external {
bytes32 commitment = pqCommitment(secret, to);
uint256 amount = vaultBalance[commitment];
require(amount > 0, "BTC-PQS: nothing to withdraw");
vaultBalance[commitment] = 0;
totalVaulted -= amount;
// funds leave only to `to`
_transfer(address(this), to, amount);
emit PqWithdraw(commitment, to, amount);
}
There is no secondary issuance, no vesting in the contract and no transfer fees. What is not in the code cannot be promised — and, just as important, cannot be taken back.
| Parameter | Value |
|---|---|
| Max supply | 21,000,000 BTC-PQS |
| Decimals | 18 |
| Issuance at deploy | 100%, to the constructor address |
mint function | does not exist |
| Owner / admin | does not exist |
| Blacklist / pause | does not exist |
| Transfer fees | 0% |
| Supply changes | impossible after deploy |
| Swap fee (HTLC) | 0–5%, fixed in the constructor, no setter |
| Standard | ERC-20 |
The constructor mints all 21M to a fixed address. The contract cannot issue anything after that, but the holder of that address has 100% of the supply at launch. This is a trust risk, not a code one — and it must be verified on-chain, not assumed.
After the constructor there is no function that can mint or burn tokens from the
supply. totalSupply stays 21,000,000 forever: there is no owner, no
admin, no path for intervention.
Stated plainly, before you read the rest: a token does not change the cryptography of the chain it runs on, and this project has no bridge, no liquidity and no audit. The list below is the most important part of the site.
The token runs on an EVM chain. Every transfer, approve or withdrawal
is a transaction signed with ECDSA secp256k1 by your wallet. A contract cannot
change the chain's signature scheme. Any ERC-20 token that promises otherwise
either does not understand what it promises or is lying.
The token itself is an ordinary ERC-20. The Grover-resistant layer is PQ Vault:
custody based on the keccak256 preimage. Outside the vault, tokens
sit in ECDSA accounts, with exactly the same limits as any token on Ethereum.
There is no BTC reserve behind this token and no redemption function. Swapping for real BTC requires a bridge, a custodian or a listing on an exchange. The Swap page describes only the paths that actually exist.
Wallets index tokens by contract address, not by symbol. Two entries called “BTC” will appear: native Bitcoin and this token. Always verify the contract address — not the symbol, not the name, not the logo.
We are not Bitcoin, Bitcoin Core or any exchange. The code has not been independently audited by a third party. There are no guarantees of price, liquidity or listing. You can lose everything you put in.
The vault has no recovery, owner or admin. If you lose the 32-byte secret or send it to someone else, the funds stay locked forever. There is no “forgot password”.
The private key cannot be derived today from the public key. ECDLP is infeasible on classical hardware (≈2128 operations with Pollard rho), and Shor would need an error-tolerant quantum computer that does not exist. The real risk is that transactions and public keys exposed on-chain are recorded now and attacked later. Details and references in the whitepaper.
The figures below come from compiling and testing the contract locally. They are reproducible from the repository; they are not a security review.
| Compiler | solc 0.8.26 |
| Bytecode | 2,871 B |
| Deployed bytecode | 2,469 B |
| Functions in ABI | 15 |
| Events | 4 |
| Owner / mint / burn | none |
Figures are from the current build of the contract (solc 0.8.26). Deploy cost in ETH depends on the gas price at launch time. Local tests do not replace an independent audit.
The whitepaper describes the construction, the threat model, the references on the state of quantum computing and what the vault does not cover. The app talks directly to your wallet: no backend, no custody, no account.