Reviewed Aug 2026
DE
DA-04 · LESSON 09

Failure, rotation, and migration

KEY DEFINITIONS

Terms used in this lesson

Guardian
A Ducat policy-checking signer that can authorize or reject defined protocol transactions.
DKG
Distributed key generation: participants create shares of a group key without one party learning the complete secret.
Validator
Software or a participant that independently checks state transitions under a system's rules. The exact role depends on the protocol being discussed.
Oracle
A system that reports outside information, such as a market price, for use by a protocol.
Vault
A set of Bitcoin outputs and spending rules that holds collateral and represents the current loan state.

The v1 custody design treats lost Guardians and rotations as a new DKG plus funds migration rather than reconstructing shares centrally.

35 min Difficulty 4/5 Not started

Loading lesson visuals...

01

Learn the idea

Rotation replaces an active Guardian group or key. A new DKG creates a new group key, but existing Bitcoin outputs still commit to old spending paths. Activation is safe only after affected outputs are migrated or the new deployment explicitly supports both old and new commitments.

GUIDED EXPLANATION1/4 ideas inspected
1

Detect an unavailable or compromised group

Monitoring and governance determine whether quorum loss, suspected compromise, or planned replacement requires migration.

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

Inspect every idea above to open it.

Important distinctionGuardian rotation is a configuration edit because Bitcoin outputs follow the newest key automatically.

Existing outputs commit existing keys or scripts. Funds or state generally need an authorized Bitcoin migration path.

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.