# Proof of burn: the only design with nobody at the buttons

## The problem with every "reserve"

A reserve has a key. A key has a holder. A holder is a person, a company, or a script with a
condition. In all three cases there is a "someone" who could, in principle, move the funds. A
3-of-5 multisig reduces that to "five people who must agree", which is better than one, and is
still not zero.

There is exactly one state in Bitcoin where no key exists: an output that cannot be spent by
anyone, under any condition, ever. `OP_RETURN` is that output. It is not a policy, not a promise
and not a multisig with honest signers — it is a consensus rule: nodes reject any transaction
that tries to spend it.

So the honest choice is:

> If you want nobody at the buttons, the BTC must be destroyed, and the proof of destruction
> must be public and permanent. That is a receipt, not a reserve.

## The protocol

Every swap that settles in BTC produces a Bitcoin transaction with two kinds of outputs:

```
vin : the HTLC (or the buyer's wallet)
vout 0 : OP_RETURN  <commitment>          <- unspendable, the receipt
vout 1 : change back to the funder        <- ordinary, spendable
```

The commitment is a fixed, parseable string followed by the facts of the swap:

```
BTC-PQS|v1|<swapId>|<amountSat>|<tokenAmount18>|<recipientEthAddress>
```

Example:

```
BTC-PQS|v1|0xed9ea0eb92aa09bf7e2da27b354863ff2c9df4b7c5af2420f36fc6d8085a6a0f|1000000|1000000000000000000|0x70997970c51812dc3a010c7d01b50e0d17dc79c8
```

The `OP_RETURN` data is limited to 80 bytes, so in practice the receipt carries the swap id and
the amount; the longer fields belong in a separate `OP_RETURN` output or off-chain, referenced by
the swap id. The rule that matters is the first one: **the output exists, it is `OP_RETURN`, and
the amount burned is `amountSat` minus the change.**

## Why this has no shadow of doubt

| Question | Answer |
|---|---|
| Who can move the burned BTC? | Nobody. Not the operator, not a multisig, not a court order. |
| Who can fake a receipt? | Nobody: the transaction is in a block, signed by the funder, and the output is `OP_RETURN`. |
| Who can delete it? | Nobody. Removing it means rewriting Bitcoin's history. |
| Who has to be trusted? | Only the Bitcoin consensus rules and the hash function. |
| What is the operator's power? | None. There is no operator role in the protocol. |

## What it costs you

- The BTC is gone. It is not a treasury, it cannot pay anyone, it cannot be sold.
- The token is therefore not "backed" by anything. Its only property is a fixed supply and a
  public record of BTC destroyed in exchange for it.
- If the story is "1 BTC in, 1 token out, and the BTC is provably destroyed", that is a coherent
  and checkable product. If the story is "there is a reserve", it is false, and no amount of
  code can make it true.

## The alternative, stated fairly

A 3-of-5 multisig keeps the value and removes single-operator control. It is the right answer if
the goal is a treasury that no one person can move. It is the wrong answer if the goal is
"nobody at all, ever". Both are defensible; they are just different products, and the site must
say which one it is.

## Verification tool

```bash
# build the receipt line for a swap
node scripts/burn-receipt.js build <swapId> <amountSat> <tokenAmount18> <ethAddress>

# verify a real Bitcoin transaction: is the output OP_RETURN, and does it parse?
node scripts/burn-receipt.js verify <txid>
```

The verify mode asks a public mempool API for the transaction and checks the script type
directly, without trusting the API's interpretation.
