/javascript-dlc

Javascript library for working with Discreet Log Contracts and Lightning Network

Primary LanguageJavaScriptMIT LicenseMIT

Javascript DLC ⚡ 👁️

A Javascript library for working with Discreet Log Contracts.

Contributions are welcome

⚠️Beta Software and WIP

⚠️Use small amount

Standard Compliance and library

Bitcoin

  • Bitcoin Core and other libraries

Lightning Network:

  • LND
  • LDK
  • Greenlight
  • Eclair
  • Core Lightning
  • BOLT11/BOLT12

DLCs with core functions:

  • Data
  • Covenants
  • EDCDSA
  • Event
  • Exc
  • Lightning Channel (non-taproot)
  • Miniscript
  • Sign
  • Schorr
  • Sign
  • Oracle
  • Transaction
  • Taproot Channel
  • UTXOracle

Nostr:

  • Relay and Events (experimental)

Privacy

  • Tor
  • I2P

Bitcoin Network (by default)

  • Mainnet
  • Testnet4
  • Signet

API

  • OpenAI (experimental)

Status

The implementation is mainly based on the DLC specifications

More information around DLCs

Run Javascript DLC

Disclaimer: Note this library isn't full tested. Use your own at risk

Documentaion

Library

Import packages or modules for build your own application

Contribution

Checkout here

Roadmap

  • Nakamoto version in 2024
  • Compatible with React and LDK react
  • Oracle (WIP)
  • Frost
  • Musig2
  • Minsiscript
  • NIP-88
  • TXO
  • RBF
  • API for JS DLC by OpenAI (WIP)
  • Dockerfile
  • Bitcoin Knots
  • Testnet4
  • BOLT12 support
  • BOLT11 support

Contributors