blitz_api icon indicating copy to clipboard operation
blitz_api copied to clipboard

Remove gRPC as a hard dependency

Open fusion44 opened this issue 3 years ago • 2 comments

Currently gRPC is always installed, even if the user only runs Core Lightning.

The dependencies for the lightning backend must be installed by pip manually upon install:

  • LND: pip install grpcio grpcio-tools googleapis-common-protos protobuf
  • CLN: pip install pyln-client

fusion44 avatar Apr 16 '22 05:04 fusion44

Maybe gRPC can now be of bigger use with new Core Lightning supports this interface?

rootzoll avatar May 02 '22 17:05 rootzoll

Yes, but the end goal is to extract the abstraction layer to its own library. I want to make it usable for LNbits medium term too. LNbits supports also other funding sources that don't have a gRPC requirement.

fusion44 avatar May 02 '22 18:05 fusion44