Open ZZiigguurraatt opened 2 days ago
The Polar UI currently shows the macaroon files that are auto-generated on startup by lnd
& litd
. Since the super macaroon isn't automatically created by the nodes, Polar would need to make an RPC call to create it. This is certainly doable, but I just wanted to provide a bit of clarity on why this isn't already in Polar today.
I didn't think of that, but it makes sense.
Wondering if it would be better to have a config option for litd
to auto generate super.macaroon
on startup if it doesn't exist instead of doing that in polar? There could be a lot more use cases where you might want this outside of polar too.
Would like to see a super macaroon for
litd
available in the GUI.We can open a terminal and run
litcli bakesupermacaroon --save_to ~/.lit/regtest/super.macaroon
however, it would be nice to just be in the GUI for quick copy and paste.
Also, all macaroons that are available in the GUI are available under a path on the host like
/home/xxxxxxxxxxx/.polar/networks/1/volumes/litd/dave/lit/regtest/lit.macaroon
which can be used by other test scripts running on the host as soon as the node is setup. Would be nice for the super macaroon to automatically be available this way too.