Merge pull request #32 from boltcard/lndhub

Lndhub
This commit is contained in:
Peter Rounce 2023-02-19 17:30:45 +00:00 committed by GitHub
commit f84014d2ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 122 additions and 16 deletions

13
docs/LNDHUB.md Normal file
View file

@ -0,0 +1,13 @@
## lndhub
### in the `settings` table
- set 'LNDHUB_URL' to 'lndhub.yourdomain.com'
- set 'FUNCTION_LNDHUB' to 'ENABLE'
### create card
- set the card_name to the 'login:password' for the lndhub account
e.g. '11111111111111111111:22222222222222222222'
### limits
- there are currently no payment rules in this code, only the lndhub account limit
i.e. tx_limit_sats & day_limit_sats are not enforced