In this library, we have sections:
- DLC with Events, Signatures, Data, UTXOracle
- Lightning Network with CLN, Eclair, LND
- Nostr with examples
- Mainnet or Testnet
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
const DLC = require('data');
const DLC = require('DLC-js');
const NETWORK = bitcoin.networks.testnet;
function Oracle = {
Oracleinfo = contract_pubkey;
Sats: Number;
timestamp: String;