Wrapper for Lightning Network Daemon. It provides separate accounts with minimum trust for end users
git clone git@github.com:BlueWallet/LndHub.git
cd LndHub
npm i
Install bitcoind
, lnd
and redis
.
Edit config.js
and set it up correctly.
Copy admin.macaroon
and tls.cert
in root folder of LndHub.
Add config vars :
CONFIG
: json serialized config objectMACAROON
: hex-encodedadmin.macaroon
TLSCERT
: hex-encodedtls.cert
Acceptance tests are in https://github.com/BlueWallet/BlueWallet/blob/master/LightningCustodianWallet.test.js