From 6b3e482a066c2a381bec6029fc4d49ad5cfbf2cf Mon Sep 17 00:00:00 2001 From: Peter Rounce Date: Wed, 16 Nov 2022 13:49:12 +0000 Subject: [PATCH] Update INSTALL.md --- docs/INSTALL.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 0272d08..fa6e998 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -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 #### lightning address (optional) 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` `cards.lnurlp_enable='Y'` in the database record #### email notifications (optional)