Run the DLC in your lightning node
- Lightning Node (Unannounced integration)
- NPM
- Git
- Bitcoin Core
- Bitcoinjs-lib
- Lightning Node (optional)
Git the repository for use in your local machine
git clone https://github.com/AreaLayer/javascript-dlc.git
You need to have already installed npm
npm install javascript-dlc
After change .env and lightning file accordingly with your lightning implementation (e.g. LND, CLN, LDK,etc)
Host=xxx
Post=xxx
TLS.cert=xxx
GRPC=xxx
Contract_info=xxx
Input_blinding_key=xxx
npm install javascript-dlc
npm run start