UNIT state versus vault state
Terms used in this lesson
- 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.
- Runes
- A Bitcoin metaprotocol that assigns fungible-token meaning to transaction outputs through off-chain interpretation.
- UTXO
- Unspent transaction output: one discrete chunk of bitcoin that can be used as a transaction input.
- Collateral
- An asset pledged against a debt; it can be used to cover the debt if agreed conditions are breached.
- Validator
- Software or a participant that independently checks state transitions under a system's rules. The exact role depends on the protocol being discussed.
- BTC
- The common market ticker for bitcoin.
- Outpoint
- A transaction ID plus output number that identifies one exact prior output.
Rune token allocations, vault UTXOs, collateral values, and debt records are related protocol views but are not one interchangeable state object.
Loading lesson visuals...
Learn the idea
UNIT state maps token amounts to Bitcoin outputs. Vault state maps one loan's collateral, debt, owner, and spending commitments to its current vault output. Validators relate these views during specific actions, but neither view is a substitute for the other.
Read separate inputs
A transfer may consume UNIT outputs only, while a deposit consumes the vault and BTC funding without issuing UNIT.
Inspect every idea above to open it.
UNIT can be received, transferred, or held independently. Debt belongs to a specific vault state.
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.