PQGrind Docs

Companion rune (dual mining)

Warning

Proposed, pending freeze. Requires claim Format B. The rune has not been etched; its name and terms are on Constants.

What it is

A PQSB mint in Format B carries a runestone. That runestone can also contain a Runes Mint field for one ordinary rune, the companion rune. Every Runes indexer, wallet and explorer then sees the companion rune minted in the same transaction, without knowing anything about PQSB.

one Bitcoin transaction
 ├─ input 0: PQSB lock spent                     → layer 1 (Bitcoin)
 ├─ output 0: recipient                          ← R PQSB units (this indexer)
 │                                               ← companion runes (Runes indexers)
 └─ output k: OP_RETURN OP_13 runestone
        tag 127 = PQSB claim                     → read by this indexer
        tag 20  = Mint <companion rune id>       → read by Runes indexers

What it is not

Statement True?
Companion runes are PQSB units No. Two different assets, two different ledgers. PQSB balances come only from this indexer.
Only PQSB minters can get companion runes No. Runes mint terms cannot require a search. Anyone may mint the companion rune with an ordinary transaction while its mint is open.
The two supplies match No. Companion supply follows the rune's own cap and amount and includes mints by non-PQSB transactions.
A failed companion mint invalidates the PQSB mint No. If the rune's mint is closed or its cap is reached, Runes simply mints nothing; the PQSB mint is judged on its own rules.

Why do it

  • Visibility: the mint shows up in every Runes explorer and wallet.
  • Runes-aware wallets treat output 0 as a rune-holding output and avoid spending it as fee, which also protects the PQSB units on it.

Etching

  • Etched once, before H_start, by an ordinary Runes etching transaction: premine 0, open mint terms, mint window starting at or before H_start.
  • Runes requires a commitment to the name in a Taproot input with at least six confirmations, and the name must be unlocked at the etching height. Per the Runes documentation, each name length unlocks gradually over a 17,500-block period: five-letter names finish unlocking at block 980,000, four-letter names unlock between blocks 980,000 and 997,500, and names of six or more letters are already unlocked. The exact schedule is in the ord code.
  • The etching transaction must not be linked to any identity.

Hazards for holders

  1. Both assets sit on output 0. Selling the companion rune on a Runes market moves the whole output, PQSB units included, unless the output is split first. Selling PQSB units through a PQSB listing likewise moves the companion runes on that output.
  2. Different movement rules. In a transfer without edicts, Runes sends all unallocated runes to the first non-OP_RETURN output, while PQSB units are cut first-in first-out. A split such as [600 → A, 400 → B] gives A and B PQSB units 600/400 but gives all companion runes to A.
  3. Cenotaphs. A malformed runestone burns the runes on its inputs. Use tools that build runestones correctly.

Recommended practice: after minting, split output 0 into one output carrying the PQSB units and one carrying the companion runes, then manage them separately.