Reviewed Aug 2026
DE
DA-03 · LESSON 04

Two-transaction actions

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.

Open, borrow, and repay use an issue-or-burn transaction plus a vault transaction connected so package structure and fees matter.

65 min Difficulty 4/5 Not started

Loading lesson visuals...

01

Learn the idea

A two-transaction action has a parent that creates an output the child spends. In the captured Ducat client, open, borrow, and repay use issue-or-burn parents plus vault children, so dependency order and combined fees matter.

GUIDED EXPLANATION1/4 ideas inspected
1

Construct the parent

The issue or burn transaction establishes the UNIT-side change and a child-spendable output or relationship.

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

Inspect every idea above to open it.

Important distinctionThe child can confirm first because it pays the package fee.

A child cannot precede the parent output it spends. Its fee can make mining both attractive, but dependency order remains fixed.

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.