How it works
From your wallet to Bitcoin
A Ducat transaction starts in your wallet and settles on Bitcoin. Guardians check the protocol rules; validators read the resulting records.
Who does what
Your wallet authorizes the transaction. These three parts build it, check it and record its effect on the ledger.
Client + SDK
Builds the transaction with your wallet.
Guardians
Check protocol rules and co-sign.
Validators
Read Bitcoin transactions to check Ducat’s ledger.
Validators reconstruct the ledger from Bitcoin records. They do not sign transactions or move collateral.
Read the transaction documentationFrom a price threshold to a Bitcoin hashlock
Ducat’s Chainlink CRE oracle uses HMAC to derive a secret for a price condition. The vault commits to its hash. The oracle controls when the secret is revealed; Bitcoin checks that it matches.
The hash is committed
A signed quote contains the price threshold, timestamp and the secret’s hash. The secret stays with the oracle.
The price condition is checked
A liquidator requests the historical quote. If the oracle determines that the threshold has been crossed since the quote, it can return the secret.
The liquidation is verified
The secret satisfies the hashlock. Guardians still verify the quote and transaction before co-signing. The secret alone cannot move the BTC.
The animation explains the mechanism, rather than showing live prices. Available operations depend on the network and deployment.
Read the oracle documentation
