This library is a JavaScript toolkit designed for working with Discreet Log Contracts (DLCs) and the Bitcoin Lightning Network. It aims to provide standard-compliant tools and modules for building advanced Bitcoin applications, supporting multiple Bitcoin network types (Mainnet, Testnet4, Signet, Regtest) and privacy-focused options like Tor and I2P.
Core Features
Implements core DLC specifications, including covenant support, Schnorr and ECDSA signing, event and oracle management, as well as advanced transaction types.
Integrates with major Lightning Network implementations such as LND, LDK, Eclair, Core Lightning, and includes support for BOLT11/BOLT12 payment standards.
Experimental features for working with Nostr relays and events, privacy improvements, and covenant-based logic.