Reviewed Aug 2026
DE
DA-07 · LESSON 01

Validator reconstruction

KEY DEFINITIONS

Terms used in this lesson

Validator
Software or a participant that independently checks state transitions under a system's rules. The exact role depends on the protocol being discussed.
UTXO
Unspent transaction output: one discrete chunk of bitcoin that can be used as a transaction input.
UNIT
Ducat’s dollar-pegged stablecoin, the asset a borrower can create against bitcoin collateral.
Vault
A set of Bitcoin outputs and spending rules that holds collateral and represents the current loan state.
API
Application programming interface: a defined way for one program to request data or actions from another.
Guardian
A Ducat policy-checking signer that can authorize or reject defined protocol transactions.
Runestone
Transaction data interpreted by the Runes protocol to describe token creation or allocation.
Outpoint
A transaction ID plus output number that identifies one exact prior output.

Validators scan Bitcoin blocks, maintain UTXOs and protocol objects, validate UNIT transfers against vault differentials, and serve query APIs.

35 min Difficulty 5/5 Not started

Loading lesson visuals...

01

Learn the idea

A Ducat validator is an indexer and rule engine. An indexer reads Bitcoin blocks in selected-chain order and derives application state from their transactions. Derived state means the current vaults, accounts, reserves, and UNIT allocations calculated from Bitcoin history. A reorganization, or reorg, replaces previously selected blocks, so the validator must undo their derived effects before applying the replacement branch. It does not create Bitcoin consensus or hold the Guardian signing key.

GUIDED EXPLANATION1/4 ideas inspected
1

Follow the active chain

Read blocks in order and identify protocol transactions, inputs, outputs, action tags, and runestones.

Inspect each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinctionThe validator database is the authoritative owner of Ducat funds.

Bitcoin outputs are authoritative for spends. The validator reconstructs additional Ducat meaning and can be independently compared or rebuilt.

02
FINISH LEARNING FIRST

The questions unlock after every required learning activity

Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.