Fork of LndHub with some fixes, as well as additions for lnurl-pay support https://lndhub.kosmos.org
Go to file
Overtorment 091e0f6b3e OPS
2020-08-12 16:45:29 +01:00
class FIX: race condition in generateAddress (closes #93) 2020-08-03 13:06:05 +01:00
controllers FIX: groundcontrol notifications for internal invoices 2020-07-13 14:43:13 +01:00
doc FIX: groundcontrol notifications for internal invoices 2020-07-13 14:43:13 +01:00
scripts REF: script 2020-05-10 12:12:40 +01:00
static ADD: about page 2018-12-09 22:46:14 +00:00
templates ADD: process-unpaid-invoices; REF: stuck payments script; REF: website; REF: important channels script; DOC: some docs 2020-05-04 14:09:37 +01:00
utils REF 2020-01-25 15:41:49 +00:00
.babelrc INIT 2018-12-02 22:17:02 +00:00
.eslintrc INIT 2018-12-02 22:17:02 +00:00
.gitignore INIT 2018-12-02 22:17:02 +00:00
bitcoin.js REF: minor 2020-03-11 16:01:35 +00:00
config.js ADD: lnd wallet unlock attempt upon start 2019-01-25 22:59:32 +00:00
index.js REF: minor 2020-03-11 16:01:35 +00:00
LICENSE MIT License added see #40 2019-11-04 14:23:43 +00:00
lightning.js REF 2020-05-05 08:22:29 +01:00
package-lock.json fix: upgrade frisbee from 3.1.3 to 3.1.4 2020-08-02 12:29:34 +01:00
package.json fix: upgrade frisbee from 3.1.3 to 3.1.4 2020-08-02 12:29:34 +01:00
README.md Update README.md 2019-12-09 21:41:25 +00:00
rpc.proto ADD: unlock stuck payments script 2019-03-10 23:39:48 +00:00
run-process-locked.sh OPS 2020-08-12 16:45:29 +01:00

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 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

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 bluewallet@bluewallet.io Thanks!