make lndgrpc work using the purerpc library and a manually-declared method.

This commit is contained in:
fiatjaf 2020-10-04 00:22:37 -03:00
parent 9994e61615
commit f5b8ed8fc6
6 changed files with 94 additions and 27 deletions

View file

@ -32,4 +32,5 @@ E.g. when you want to use LND you have to run:
```sh
./venv/bin/pip install lndgrpc
./venv/bin/pip install purerpc
```

View file

@ -29,7 +29,7 @@ Using this wallet requires the installation of the `pylightning` Python package.
### LND (gRPC)
Using this wallet requires the installation of the `lndgrpc` Python package.
Using this wallet requires the installation of the `lndgrpc` and `purerpc` Python packages.
- `LNBITS_BACKEND_WALLET_CLASS`: **LndWallet**
- `LND_GRPC_ENDPOINT`: ip_address