Open a vault
Terms used in this lesson
- Vault
- A set of Bitcoin outputs and spending rules that holds collateral and represents the current loan state.
- Oracle
- A system that reports outside information, such as a market price, for use by a protocol.
- PSBT
- Partially Signed Bitcoin Transaction: a format for passing an unsigned or partly signed transaction between constructors and signers.
- Guardian
- A Ducat policy-checking signer that can authorize or reject defined protocol transactions.
- BTC
- The common market ticker for bitcoin.
- 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.
- Collateral
- An asset pledged against a debt; it can be used to cover the debt if agreed conditions are breached.
- 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.
- Runestone
- Transaction data interpreted by the Runes protocol to describe token creation or allocation.
- Transaction ID
- The identifier produced by hashing a Bitcoin transaction’s non-witness serialization.
- Validator
- Software or a participant that independently checks state transitions under a system's rules. The exact role depends on the protocol being discussed.
The client fetches protocol and oracle data, reserves issuance capacity, builds and signs PSBTs, and submits the request for Guardian validation and co-signing.
Loading lesson visuals...
Learn the idea
Opening creates a new vault UTXO, the Bitcoin output that represents the loan state. An issuance account is a Guardian-controlled Bitcoin output that carries the protocol's current UNIT issuance capacity. The captured builder spends that account in an issue transaction, then builds a dependent vault transaction that locks collateral and creates the initial debt state.
Gather fixed inputs
The client loads the active protocol settings, UNIT Rune ID, oracle price contract, Guardian key, funding UTXOs, collateral amount, requested debt, and output postage. Output postage is the small bitcoin amount attached to a token-bearing or metadata-bearing output so that it is a real Bitcoin output.
Inspect every idea above to open it.
It is a signed two-transaction Bitcoin workflow whose confirmed outputs are later reconstructed as UNIT and 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.