Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
lncli: add command to create new macaroon #1160
As discussed in #1147 there is a need to create macaroons with custom permissions set since the three existing macaroon files
A new gRPC method named
lncli newmacaroon --permission=invoices/write --permission=invoices/read --save_to=~/.lnd/custom-invoice.macaroon --timeout=10
Creates a macaroon that is valid for reading and writing invoices during the next 10 seconds.
NOTE for release notes: Users will need to delete or move their