add CoreLightningRestWallet (#362)

* add CoreLightningRestWallet

* add macaroon loader

* add correct config
This commit is contained in:
callebtc
2023-11-16 09:50:34 -03:00
committed by GitHub
parent 45d3059c2d
commit 84453f5dbe
9 changed files with 382 additions and 42 deletions

View File

@@ -56,6 +56,11 @@ MINT_LND_REST_ENDPOINT=https://127.0.0.1:8086
MINT_LND_REST_CERT="/home/lnd/.lnd/tls.cert"
MINT_LND_REST_MACAROON="/home/lnd/.lnd/data/chain/bitcoin/regtest/admin.macaroon"
# CoreLightningRestWallet
MINT_CORELIGHTNING_REST_URL=https://localhost:3001
MINT_CORELIGHTNING_REST_MACAROON="./clightning-rest/access.macaroon"
MINT_CORELIGHTNING_REST_CERT="./clightning-2-rest/certificate.pem"
# fee to reserve in percent of the amount
LIGHTNING_FEE_PERCENT=1.0
# minimum fee to reserve