Macaroons generated from the $ lncli bakemacaroon
method are output as hex-encoded strings by default. To decode these to a binary file for easy usage with lncli
these are a few options included here for bash
and python
.
The output file from these can be passed to the --macaroonpath
flag directly when using $ lncli
.