From 6355ce2cc52d70940bbcaa9f608567abfeb1a470 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Fri, 27 Aug 2021 11:52:17 +0200 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index fdc2b91..4fc8b5a 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,16 @@ All environment variables must be prefixed by `LNME_` use `_` instead of `-` $ LNME_LND_ADDRESS=127.0.0.1:10005 lnme +### LND Permissions + +LnMe needs the following LND permissions: + +* Read/Write permission for invoices +* Write permission for onchain address (if you want to use the onchain option) + +Use the LND [macaroon bakery](http://macaroon-bakery.freedomnode.com/) to create a new macaroon for LnMe. + +To get the HEX versions of the files use `xxd -ps -u -c 100000` e.g. `cat invoice.macaroon | xxd -ps -u -c 100000` ### Deployment @@ -92,6 +102,8 @@ It is the easiest to run LnMe on the same node as LND. But you can run it anywhe #### Heroku One click deployment with Heroku: +You will need your LND address, the LND tls certificate (HEX) and the macaroon (HEX). + [![Deploy on Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/bumi/lnme) #### Notes