Reviewed Aug 2026
DE
DA-01 · LESSON 05

Accounts, reserves, and UNIT debt

KEY DEFINITIONS

Terms used in this lesson

UNIT
Ducat’s dollar-pegged stablecoin, the asset a borrower can create against bitcoin collateral.
UTXO
Unspent transaction output: one discrete chunk of bitcoin that can be used as a transaction input.
Validator
Software or a participant that independently checks state transitions under a system's rules. The exact role depends on the protocol being discussed.
Guardian
A Ducat policy-checking signer that can authorize or reject defined protocol transactions.
Vault
A set of Bitcoin outputs and spending rules that holds collateral and represents the current loan state.
Runestone
Transaction data interpreted by the Runes protocol to describe token creation or allocation.
OP_RETURN
A Bitcoin Script operation commonly used to create an unspendable output carrying a small amount of data.
Runes
A Bitcoin metaprotocol that assigns fungible-token meaning to transaction outputs through off-chain interpretation.
Identifier
Identifier: a value used to distinguish one request, object, or participant from another.
SDK
Software development kit: reusable code and tools for building applications against a system.
BTC
The common market ticker for bitcoin.

Issuance and reserve accounts are UTXO-based protocol objects whose availability and transitions are tracked by validators and coordinated by Guardians.

35 min Difficulty 4/5 Not started

Loading lesson visuals...

01

Learn the idea

A UTXO is a Bitcoin transaction output that has not yet been spent. The UNIT reserve is a UTXO to which the indexer assigns the displayed reserve balance; this is distinct from the transient unallocated pool used while executing one runestone. An issuance account is a Guardian-controlled UTXO carrying a smaller allocation that can be used in a later borrow. A runestone is OP_RETURN data that tells a compatible Runes indexer how UNIT moves between output numbers. An edict is its Rune-ID, amount, and output-selector allocation instruction. A pointer is the output selector that receives the remainder left after edicts. RawAccountsIssue is the captured SDK parser's expected account-issue transaction shape. Vault debt is the amount owed by one vault. These are separate objects that must agree during issuance and repayment.

GUIDED EXPLANATION1/4 ideas inspected
1

Consume reserve capacity

The account issue builder spends the reserve UTXO, creates a successor reserve, and creates account outputs.

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

Inspect every idea above to open it.

Important distinctionAn account UTXO is the borrower's UNIT wallet balance.

It is protocol issuance capacity controlled through Guardian rules. Borrower-held UNIT outputs and vault debt are related but different objects.

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.