LogoLogo
  • Welcome
  • 🪙DUCAT
    • The Ducat Protocol
  • 🔳Unit
    • Philosophy
  • 💠How DUCAT works
    • Overview
    • Architecture
    • Vaults
      • Open Vault
      • Deposit BTC
      • Borrow UNIT
      • Repaying UNIT
      • Withdraw BTC
    • Canonical Reference Satoshis
    • Multi-Party Computation (MPC) Network
    • Indexer
    • Oracles
      • How It works
      • Price Quotes
      • Generating Keys and Signatures
  • 📊Liquidations
    • Basic Mechanics
    • Profit settlement
      • Example
  • 🤝Trust Assumptions
    • Overview
    • Asset management
    • Liquidations
    • Supply Control
  • 📩Governance
    • Governance
    • Risk Management
  • ⚠️Disclaimer
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. How DUCAT works

Oracles

The price oracle is a web server (or group of servers) that responds to requests for a “Price Quote”, or a signed attestation to the Bitcoin / USD exchange price for a given moment in time. Each quote includes a UTC time-stamp, plus the exchange price for that timestamp. Users can request a quote for the latest price, or for a historical price (by providing a time-stamp).

In addition, each request will include a “threshold” price. This threshold price is provided by the user, and used (by the oracle) to generate a unique secret key. This key is hashed and returned to the user along with the price quote.

This protocol is designed for the price oracle to trigger stop-loss events within the DUCAT protocol, without requiring any knowledge of the protocol or its participants. This event is triggered through the use of a cryptographic hash (in Bitcoin Script), and revealing the secret pre-image when a threshold condition is met.

PreviousIndexerNextHow It works

Last updated 3 months ago

Was this helpful?

💠