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
  • 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
  • Testne3
  • Testnet4
  • Signet
  • Regtest

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 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)
  • Compile code
  • Frost
  • Musig2
  • Miniscript
  • CLI
  • Breez SDK compatible
  • DLC message
  • Ark and Cashu compatible (Basic)

Contributors