Skip to content

AreaLayer/javascript-dlc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript DLC ⚡ 👁️

Publish to NPM NPM version Bitcoin-only LN Nostr

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
  • Breez SDK
  • BOLT11/BOLT12

DLCs with core functions:

  • Data
  • Covenants (experimental)
  • 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
  • Regtest

Status

The implementation is mainly based on the DLC specifications

More information around DLCs

Run Javascript DLC

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

Documentation

Library

Import packages or modules for build your own application

Contribution

Checkout here

Roadmap

  • Nakamoto version in 2025
  • Oracle (WIP)
  • Musig2
  • DLC message
  • Ark compatible (Basic)

Contributors