https://github.com/AreaLayer/javascript-dlc
Javascript library for working with Discreet Log Contracts and Lightning Network
https://github.com/AreaLayer/javascript-dlc
bitcoin discreet-log-contract dlc javascript-library library lightning-network miniscript nostr oracle schnorr-signatures taproot
Last synced: 10 days ago
JSON representation
Javascript library for working with Discreet Log Contracts and Lightning Network
- Host: GitHub
- URL: https://github.com/AreaLayer/javascript-dlc
- Owner: AreaLayer
- License: mit
- Created: 2023-04-25T10:12:13.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T10:52:49.000Z (11 months ago)
- Last Synced: 2024-05-22T11:11:52.203Z (11 months ago)
- Topics: bitcoin, discreet-log-contract, dlc, javascript-library, library, lightning-network, miniscript, nostr, oracle, schnorr-signatures, taproot
- Language: JavaScript
- Homepage:
- Size: 541 KB
- Stars: 12
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-bolt12 - Javascript DLC - Javascript library for working with Discreet Log Contracts and Lightning Network (Ecosystem / Projects)
README
# Javascript DLC ⚡ 👁️
[](https://github.com/AreaLayer/javascript-dlc/actions/workflows/npm-publish.yml)
[](https://npmjs.org/package/javascript-dlc)
[](https://twentyone.world)
[](https://mempool.space/lightning)
[]((https://user-images.githubusercontent.com/99301796/223592277-34058d0e-af30-411d-8dfe-87c42dacdcf2.png))>A Javascript library for working with [Discreet Log Contracts](https://adiabat.github.io/dlc.pdf).
**Contributions are welcome**
⚠️**Pre Sakamamoto Version**
⚠️**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](https://github.com/discreetlogcontracts/dlcspecs)
More information around [DLCs](https://www.dlc.wiki/)
## Run Javascript DLC
**Disclaimer:** Note this library isn't fully tested. Use your own at risk
[Documentation](https://github.com/AreaLayer/javascript-dlc/blob/main/docs/run.md)
## Library
Import packages or modules for build your own application
- [Check details](https://github.com/AreaLayer/javascript-dlc/blob/main/docs/library.md)
- [Development](https://github.com/AreaLayer/javascript-dlc/blob/main/docs/development.md)
- [Bindings](https://github.com/AreaLayer/javascript-dlc/blob/main/docs/bindings.md)## Contribution
[Checkout here](https://github.com/AreaLayer/javascript-dlc/blob/main/CONTRIBUTING.md)
## Roadmap
- [ ] Nakamoto version in 2025
- [x] Ark compatible (Basic)
- [ ] Ark Wallet SDK
- [ ] BTC signer
## Contributors