PQGrind Docs

Before you start

Important

The public reference miner — the tool that creates a lock and searches for a nonce — is not yet available. This guide describes every step so that the surrounding work (node, indexer, funding, broadcast, checking) can be prepared and reviewed now. Steps that need the miner are marked.

You need

Item Why Status
Bitcoin Core ≥ 23.0, synced, with a wallet funding, signing ordinary inputs, broadcasting available
jq, curl reading indexer output available
An indexer URL in $INDEXER current wave, leading zeros and claim bytes; checking results public endpoint not yet available
The reference miner lock creation and nonce search not yet available
A GPU or a fast CPU the search see expected trials on The lock

Decide these first, they cannot change later

Decision Why it is fixed
Fee rate the fee is part of the transaction the search runs on; changing it voids the result
Recipient address (output 0) same
Change address and amount same
Lock value must be at least R (Constants) plus fee plus change

Rules of thumb

  1. Use each lock for exactly one spend. Never reuse a lock or its address.
  2. Fund the lock from unmarked coins. If the funding input already carries units in its first R satoshis, the result is undefined until the overlap rule is frozen (State transition).
  3. Output 0 is the recipient. Use a fresh address of a wallet you will manage with coin control (Holding units).
  4. Check the wave right before broadcasting. A wave may have ended while you searched; a transaction judged against the next wave needs one more leading zero, so it confirms, pays its fee, and mints nothing.
  5. Practise on a test network first. Everything below works on regtest or signet with the same commands.