Reviewed Aug 2026
DE
DA-03 · LESSON 03

Borrow and repay

KEY DEFINITIONS

Terms used in this lesson

Vault
A set of Bitcoin outputs and spending rules that holds collateral and represents the current loan state.
UNIT
Ducat’s dollar-pegged stablecoin, the asset a borrower can create against bitcoin collateral.
Collateral
An asset pledged against a debt; it can be used to cover the debt if agreed conditions are breached.
Runestone
Transaction data interpreted by the Runes protocol to describe token creation or allocation.

Issuance or burn activity is paired with a vault state update so UNIT changes reconcile with the vault differential.

55 min Difficulty 4/5 Not started

Loading lesson visuals...

01

Learn the idea

Borrow increases vault debt and releases UNIT. Repay burns UNIT and decreases debt. The captured design uses paired token and vault transactions so the two changes can be reconciled.

GUIDED EXPLANATION1/4 ideas inspected
1

Select the current vault

Both actions spend the live vault output and must preserve its identity and authorized successor structure.

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

Inspect every idea above to open it.

Important distinctionRepaying means sending UNIT to the vault's Bitcoin address.

Repay is a structured burn plus successor-vault transition, not an ordinary token transfer to an address.

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.