Update INSTALL.md

This commit is contained in:
Peter Rounce 2022-11-16 13:49:12 +00:00 committed by GitHub
parent 8188ddde51
commit 6b3e482a06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,6 +84,17 @@ use a PoS setup to read the bolt card, e.g. [Breez wallet](https://breez.technol
monitor the service log to ensure decryption, authentication, payment rules and lightning payment work as expected monitor the service log to ensure decryption, authentication, payment rules and lightning payment work as expected
#### lightning address (optional) #### lightning address (optional)
add lightning address support to receive funds to cards add lightning address support to receive funds to cards
create an updated macaroon with limited permissions to the lightning node
```
$ lncli \
--rpcserver=lightning-node.io:10009 \
--macaroonpath=admin.macaroon \
--tlscertpath="tls.cert" \
bakemacaroon uri:/routerrpc.Router/SendPaymentV2 uri:/lnrpc.Lightning/AddInvoice > SendAdd.macaroon.hex
$ xxd -r -p SendAdd.macaroon.hex SendAdd.macaroon
```
`Environment="LN_MACAROON_FILE=..."` update to point to new SendAdd.macaroon
`Environment="FUNCTION_LNURLP=ENABLE` `Environment="FUNCTION_LNURLP=ENABLE`
`cards.lnurlp_enable='Y'` in the database record `cards.lnurlp_enable='Y'` in the database record
#### email notifications (optional) #### email notifications (optional)