Start here

How to use BTC-PQS

Three things, in this order: add the token to a wallet, decide whether you want the vault, and swap. Every step comes with a check you can perform yourself. Nothing here asks you to trust the authors.

Three rules before anything else

  1. The contract address is the only identity. Not the name BTC, not the symbol, not this website. Anyone can deploy a token called BTC. Compare the address, character by character.
  2. Nobody from the project will contact you first. There is no support, no team, no admin. Any DM offering help, a swap, or a "fix" is a theft attempt.
  3. If a check fails, stop. Do not send BTC, do not sign anything, do not "try anyway".

1. Add the token to your wallet

MetaMask, Rabby and Trust Wallet all follow the same pattern: you paste the contract address and the wallet fills in the rest. What matters is that the address you paste is the one you verified.

MetaMask / Rabby

  1. Switch to the network where the token was deployed. The network name and chain id are shown next to the contract address on the home page and in site/config.js.
  2. Open Import tokens (MetaMask: Tokens → Import tokens; Rabby: + Add token).
  3. Paste the contract address. Symbol BTC and decimals 18 should fill in by themselves. If the wallet asks you to type them, type exactly BTC and 18.
  4. Import. You will now see a second entry named BTC in your list.

That second entry is this token, not bitcoin. Bitcoin has 8 decimals and lives on its own chain; this token has 18 and lives on an EVM chain.

Trust Wallet / mobile wallets

  1. Open the wallet, tap the token list, then + → Add custom token.
  2. Choose the correct network first — the same address exists on many chains and each deployment is a different token.
  3. Paste the contract address, symbol BTC, decimals 18, save.

Check that you added the right thing

  • Tap the token → the contract address must match exactly what you verified.
  • The supply shown must be 21,000,000. It cannot be anything else, ever.
  • The token has no owner: there is no admin panel, no pause button, no "mint" anywhere.

2. The PQ vault (optional)

The vault is a safe inside the token contract. You deposit tokens against a 32-byte secret you generate yourself; withdrawal is authorised by that secret, verified by hash, not by a wallet signature. That is the only part of this system that is genuinely post-quantum, and it is the reason the token exists.

Deposit

  1. Open the app and connect the wallet that holds the tokens.
  2. Choose Generate secret. It is created in your browser; it never leaves the device unless you copy it out.
  3. Write the secret on paper, twice, in two places. The commitment shown is derived from the secret plus your address — the secret itself is never sent on-chain at deposit time.
  4. Enter the amount and deposit. From that moment the tokens sit in the vault, not in your wallet balance.

Withdraw

  1. Open the app, choose Withdraw, paste the secret.
  2. The contract recomputes the commitment from the secret and your address and releases the tokens to that address — only there.

Consequences worth knowing: lose the secret and the tokens are lost forever — there is no owner who can recover them. But a copy of the secret cannot steal them either: a thief could only trigger a withdrawal to the address fixed at deposit.

3. Swap: selling tokens for BTC

You hold tokens, your counterparty holds BTC. Nothing is held in custody: the tokens sit in the contract under a hashlock, the BTC sits in a Bitcoin script under the same hashlock, and the same secret unlocks both.

Seller, step by step

  1. Receive from the buyer: a hashlock (a 32-byte hash) and the buyer's EVM address. The buyer keeps the secret; you never see it until the swap is done.
  2. Open HTLC Swap → Sell tab. Connect your wallet.
  3. Enter the amount. The calculator shows the 1:1 figure minus the fee (0.5% by default, fixed at deployment). Lock exactly the figure shown.
  4. Paste the hashlock, set the beneficiary to the buyer's address, set the timelock in EVM blocks (2–3 hours is plenty). Confirm Lock.
  5. Copy the swap id and send it to the buyer. Send the hashlock only to that buyer — a public hashlock can be squatted by anyone who sees it first.
  6. Wait. When the buyer claims the tokens, the secret becomes public in that transaction.
  7. Take the secret from the claim transaction and call the Bitcoin claim branch before the BTC timelock expires. The BTC lands in your address; you are done.

4. Swap: buying tokens with BTC

Buyer, step by step

  1. Open HTLC Swap → Buy tab. Generate the secret. Keep it: it is the key to your tokens.
  2. Send only the hash to the seller. Never send the secret.
  3. Build the BTC address: claim address = the seller's BTC address, refund address = your own, timelock = a Bitcoin block height well in the future (24 h or more). The page derives the P2WSH address locally in your browser; compare it with what the seller sees.
  4. Wait for the seller to lock the tokens. Then open the swap on the contract and check the Locked event: the amount must equal your 1:1 figure, the hashlock must be yours, and the beneficiary must be your address. If any of the three is wrong, do not send BTC.
  5. Send BTC to the P2WSH address.
  6. Claim the tokens with your secret. This reveals the secret in the transaction — that is how the seller collects the BTC.
  7. If the seller never locks the tokens, you still hold the BTC: refund it after the Bitcoin timelock.

5. The timing rule (the only rule that can hurt you)

The Bitcoin timelock must expire after the token timelock — for example tokens in 2–3 hours, BTC in 24 hours. Then:

  • if the buyer never claims, the seller takes the tokens back after the token timelock;
  • if the BTC was already sent and the swap aborts, the buyer takes the BTC back after the Bitcoin timelock;
  • nobody can take both: a token claim zeroes the swap, so a later token refund reverts.

Both sides can always recover their own asset. The only thing at risk is time.

6. What actually goes wrong in practice

  • Sending BTC before checking the Locked event. You can still refund, but only after the Bitcoin timelock — a day of your capital in limbo.
  • Posting a hashlock publicly. Someone can occupy it with 1 token and delay you. It costs them gas and a locked token; it costs you 20 minutes. Send hashlocks privately.
  • Reusing a secret across two swaps. Whoever learns it from the first claim can claim the second without paying. One secret, one swap.
  • Trusting a price. The contracts never set a rate. 1:1 is a convention computed by the page; the chain only enforces the amount the seller locked.
  • Signing on a fake site. Use the address you verified, not a link someone sent you.

7. Verify, do not trust

The full checklist is in the whitepaper, section 2.5: supply read from the contract, absence of owner/mint/burn in the ABI, deployment transaction anatomy, bytecode hash, verified source.

Read the verification checklist

If any check fails, treat every claim on this site as false.

>