Skip to content
forked from BlueWallet/LndHub

Wrapper for Lightning Network Daemon. It provides separate accounts and trust minimization for end users

License

Notifications You must be signed in to change notification settings

ravishing/LndHub

 
 

Repository files navigation

LndHub

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

INSTALLATION

You can use those guides or follow instructions below:

git clone [email protected]: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

Reference client implementation

Can be used in ReactNative or Nodejs environment

Tests

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

image

Responsible disclosure

Found critical bugs/vulnerabilities? Please email them [email protected] Thanks!

About

Wrapper for Lightning Network Daemon. It provides separate accounts and trust minimization for end users

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 73.3%
  • HTML 24.5%
  • CSS 2.2%