Reviewed Aug 2026
DE
DA-04 · LESSON 07

Signing policy binding

KEY DEFINITIONS

Terms used in this lesson

Identifier
Identifier: a value used to distinguish one request, object, or participant from another.
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.
Vault
A set of Bitcoin outputs and spending rules that holds collateral and represents the current loan state.

Request IDs, action types, transaction hashes, signing inputs, group keys, and policy digests prevent replay and cross-round substitution.

55 min Difficulty 4/5 Not started

Loading lesson visuals...

01

Learn the idea

Policy binding ties one authenticated owner and caller session to the exact request it covers. A request identifier distinguishes one attempt and helps reject replay. Action, transaction hash, input, group public key, and policy digest then fix the authorized signing context. Matching bytes from an unauthenticated caller are still rejected.

GUIDED EXPLANATION1/4 ideas inspected
1

Authenticate the request

Verify the caller or owner authorization and parse the expected action schema.

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

Inspect every idea above to open it.

Important distinctionA valid owner signature authorizes any Guardian transaction for that vault.

Authorization must bind the exact action, transaction data, inputs, group key, and current policy context.

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.