Borrow and repay
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.
Loading lesson visuals...
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.
Select the current vault
Both actions spend the live vault output and must preserve its identity and authorized successor structure.
Inspect every idea above to open it.
Repay is a structured burn plus successor-vault transition, not an ordinary token transfer to an address.
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.