Wrapper for Lightning Network Daemon. It provides separate accounts and trust minimization for end users
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
class REF: default lock time 2 min -> 5 min Feb 6, 2019
controllers OPS Feb 16, 2019
doc FIX: occasional duplicate payments (closes #3) Jan 6, 2019
static ADD: about page Dec 9, 2018
templates REF: better channels display Jan 5, 2019
utils INIT Dec 2, 2018
.eslintrc INIT Dec 2, 2018
.gitignore INIT Dec 2, 2018
README.md Merge branch 'master' of github.com:BlueWallet/LndHub Feb 16, 2019
bitcoin.js REF Dec 8, 2018
config.js ADD: lnd wallet unlock attempt upon start Jan 25, 2019
index.js FIX: no crashes, just hangs Jan 6, 2019
lightning.js REF Jan 26, 2019
package.json REL Jan 7, 2019
rpc.proto INIT Dec 2, 2018



Wrapper for Lightning Network Daemon. It provides separate accounts with minimum trust for end users


You can use those guides or follow instructions below:

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.

bitcoind should run with -deprecatedrpc=accounts, for now. Lndhub expects Lnd's wallet to be unlocked, if not - it will attempt to unlock it with password stored in config.lnd.password. Don't forget to enable disk-persistance for redis.

Deploy to Heroku

Add config vars :

  • CONFIG : json serialized config object
  • MACAROON: hex-encoded admin.macaroon
  • TLSCERT: hex-encoded tls.cert


Acceptance tests are in https://github.com/BlueWallet/BlueWallet/blob/master/LightningCustodianWallet.test.js


Responsible disclosure

Found critical bugs/vulnerabilities? Please email them bluewallet@bluewallet.io Thanks!