Skip to content

AreaLayer/javascript-dlc

Repository files navigation

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

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
  • Testnet
  • 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
  • BOLT12 support

Contributors