Git Product home page Git Product logo

arealayer / javascript-dlc Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 4.0 9.72 MB

Javascript library for working with Discreet Log Contracts and Lightning Network

Home Page: https://www.npmjs.com/package/javascript-dlc

License: MIT License

JavaScript 97.89% Shell 1.66% Dockerfile 0.46%
bitcoin lightning-network nostr discreet-log-contract dlc taproot javascript-library library schnorr-signatures miniscript

javascript-dlc's Introduction

Javascript DLC ⚡ 👁️

Publish to NPM 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 full tested. Use your own at risk

Documentation

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)
  • Testnet4
  • Frost
  • Musig2
  • Miniscript
  • NIP-88
  • TXO
  • RBF
  • CLI
  • API for JS DLC by OpenAI (WIP)
  • Dockerfile
  • Bitcoin Knots
  • BOLT12 support
  • BOLT11 support
  • LNURL
  • Breez SDK compatible
  • Bindings (Rust, TS and C++)
  • Node DLC compatible
  • Mutinynet
  • DLC message

Contributors

javascript-dlc's People

Contributors

22388o avatar renovate[bot] avatar rsync25 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

javascript-dlc's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

dockerfile
Dockerfile
github-actions
.github/workflows/codeql.yml
  • actions/checkout v4
  • github/codeql-action v3
  • github/codeql-action v3
  • github/codeql-action v3
.github/workflows/dependency-review.yml
  • actions/checkout v4
  • actions/dependency-review-action v4
.github/workflows/npm-publish.yml
  • actions/checkout v4
  • actions/setup-node v4
npm
package.json
  • bitcoinjs-lib ^6.1.6
  • bitcoinjs-message ^2.2.0
  • bip32 ^4.0.0
  • bip39 ^3.1.0
  • bip66 ^2.0.0
  • lightningdevkit-node-net 0.0.12-3.0
  • node-fetch ^3.0.0
  • secp256k1 ^5.0.0
  • tiny-secp256k1 ^2.0.0
  • wif ^5.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

Release Q3 2023

Pre Beta

  • Taproot implementation
  • LND/LDK integration
  • Finalize code via file LND.js , LDK.js , CLN.js and Eclair.js
  • DLCs events
  • Nostr integration
  • Core functions
  • Docs
  • Testnet
  • JSON contracts example (WIP)
  • Package JSON

Beta

  • Open source code
  • Announcement on Twitter, Telegram and Nostr
  • Taproot Channels (LND or LDK)

Detail: Release until end of 2023, if LND or LDK have Taproot channels already working:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.