Crate ddk_manager

Source
Expand description

§Library providing data structures and functions supporting the execution

and management of DLC.

Modules§

  • Implementation of a chain monitor to watch the blockchain for transactions of interest.
  • Module containing structures and methods for working with DLC channels.
  • This module contains static functions to update the state of a DLC channel.
  • Module containing structures and functions related to contracts.
  • This module contains static functions to update the state of a DLC.
  • #Error
  • #Manager a component to create and update DLCs.
  • #PayoutFunction

Structs§

Traits§

  • Blockchain trait provides access to the bitcoin blockchain.
  • Provides signing related functionalities.
  • Derives a ContractSigner from a ContractSignerProvider and a contract_keys_id.
  • Oracle trait provides access to oracle information.
  • Storage trait provides functionalities to store and retrieve DLCs.
  • Time trait to provide current unix time. Mainly defined to facilitate testing.
  • Wallet trait to provide functionalities related to generating, storing and managing bitcoin addresses and UTXOs.

Type Aliases§