Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 633 Bytes

library.md

File metadata and controls

28 lines (18 loc) · 633 Bytes

Library

In this library, we have sections:

  • DLC with Events, Signatures, Data, UTXOracle
  • Lightning Network with CLN, Eclair, LND
  • Nostr with examples
  • Mainnet or Testnet

Import package

You can use Events or data using const DLC for build your applications using DLCs

All the code about DLCs, Lightning, Nostr and Bitcoin is in src folder

Example

const DLC = require('data');
const DLC = require('DLC-js');

const NETWORK = bitcoin.networks.testnet;

function Oracle = {
Oracleinfo = contract_pubkey;
Sats: Number;
timestamp: String;