Skip to content

Instantly share code, notes, and snippets.

@guggero
Created July 26, 2020 11:51
Show Gist options
  • Save guggero/c1ffcc309ef0ad8079196e3ba6d02b50 to your computer and use it in GitHub Desktop.
Save guggero/c1ffcc309ef0ad8079196e3ba6d02b50 to your computer and use it in GitHub Desktop.
Create a maximum sized macaroon in lnd
lncli bakemacaroon --save_to /tmp/max.macaroon --timeout 999999999 --ip_address 255.255.255.255 \
uri:/autopilotrpc.Autopilot/ModifyStatus \
uri:/autopilotrpc.Autopilot/QueryScores \
uri:/autopilotrpc.Autopilot/SetScores \
uri:/autopilotrpc.Autopilot/Status \
uri:/chainrpc.ChainNotifier/RegisterBlockEpochNtfn \
uri:/chainrpc.ChainNotifier/RegisterConfirmationsNtfn \
uri:/chainrpc.ChainNotifier/RegisterSpendNtfn \
uri:/invoicesrpc.Invoices/AddHoldInvoice \
uri:/invoicesrpc.Invoices/CancelInvoice \
uri:/invoicesrpc.Invoices/SettleInvoice \
uri:/invoicesrpc.Invoices/SubscribeSingleInvoice \
uri:/lnrpc.Lightning/AbandonChannel \
uri:/lnrpc.Lightning/AddInvoice \
uri:/lnrpc.Lightning/BakeMacaroon \
uri:/lnrpc.Lightning/ChannelAcceptor \
uri:/lnrpc.Lightning/ChannelBalance \
uri:/lnrpc.Lightning/CloseChannel \
uri:/lnrpc.Lightning/ClosedChannels \
uri:/lnrpc.Lightning/ConnectPeer \
uri:/lnrpc.Lightning/DebugLevel \
uri:/lnrpc.Lightning/DecodePayReq \
uri:/lnrpc.Lightning/DeleteAllPayments \
uri:/lnrpc.Lightning/DescribeGraph \
uri:/lnrpc.Lightning/DisconnectPeer \
uri:/lnrpc.Lightning/EstimateFee \
uri:/lnrpc.Lightning/ExportAllChannelBackups \
uri:/lnrpc.Lightning/ExportChannelBackup \
uri:/lnrpc.Lightning/FeeReport \
uri:/lnrpc.Lightning/ForwardingHistory \
uri:/lnrpc.Lightning/FundingStateStep \
uri:/lnrpc.Lightning/GetChanInfo \
uri:/lnrpc.Lightning/GetInfo \
uri:/lnrpc.Lightning/GetNetworkInfo \
uri:/lnrpc.Lightning/GetNodeInfo \
uri:/lnrpc.Lightning/GetNodeMetrics \
uri:/lnrpc.Lightning/GetRecoveryInfo \
uri:/lnrpc.Lightning/GetTransactions \
uri:/lnrpc.Lightning/ListChannels \
uri:/lnrpc.Lightning/ListInvoices \
uri:/lnrpc.Lightning/ListPayments \
uri:/lnrpc.Lightning/ListPeers \
uri:/lnrpc.Lightning/ListPermissions \
uri:/lnrpc.Lightning/ListUnspent \
uri:/lnrpc.Lightning/LookupInvoice \
uri:/lnrpc.Lightning/NewAddress \
uri:/lnrpc.Lightning/OpenChannel \
uri:/lnrpc.Lightning/OpenChannelSync \
uri:/lnrpc.Lightning/PendingChannels \
uri:/lnrpc.Lightning/QueryRoutes \
uri:/lnrpc.Lightning/RestoreChannelBackups \
uri:/lnrpc.Lightning/SendCoins \
uri:/lnrpc.Lightning/SendMany \
uri:/lnrpc.Lightning/SendPayment \
uri:/lnrpc.Lightning/SendPaymentSync \
uri:/lnrpc.Lightning/SendToRoute \
uri:/lnrpc.Lightning/SendToRouteSync \
uri:/lnrpc.Lightning/SignMessage \
uri:/lnrpc.Lightning/StopDaemon \
uri:/lnrpc.Lightning/SubscribeChannelBackups \
uri:/lnrpc.Lightning/SubscribeChannelEvents \
uri:/lnrpc.Lightning/SubscribeChannelGraph \
uri:/lnrpc.Lightning/SubscribeInvoices \
uri:/lnrpc.Lightning/SubscribePeerEvents \
uri:/lnrpc.Lightning/SubscribeTransactions \
uri:/lnrpc.Lightning/UpdateChannelPolicy \
uri:/lnrpc.Lightning/VerifyChanBackup \
uri:/lnrpc.Lightning/VerifyMessage \
uri:/lnrpc.Lightning/WalletBalance \
uri:/routerrpc.Router/BuildRoute \
uri:/routerrpc.Router/EstimateRouteFee \
uri:/routerrpc.Router/HtlcInterceptor \
uri:/routerrpc.Router/QueryMissionControl \
uri:/routerrpc.Router/QueryProbability \
uri:/routerrpc.Router/ResetMissionControl \
uri:/routerrpc.Router/SendPayment \
uri:/routerrpc.Router/SendPaymentV2 \
uri:/routerrpc.Router/SendToRoute \
uri:/routerrpc.Router/SendToRouteV2 \
uri:/routerrpc.Router/SubscribeHtlcEvents \
uri:/routerrpc.Router/TrackPayment \
uri:/routerrpc.Router/TrackPaymentV2 \
uri:/signrpc.Signer/ComputeInputScript \
uri:/signrpc.Signer/DeriveSharedKey \
uri:/signrpc.Signer/SignMessage \
uri:/signrpc.Signer/SignOutputRaw \
uri:/signrpc.Signer/VerifyMessage \
uri:/verrpc.Versioner/GetVersion \
uri:/walletrpc.WalletKit/BumpFee \
uri:/walletrpc.WalletKit/DeriveKey \
uri:/walletrpc.WalletKit/DeriveNextKey \
uri:/walletrpc.WalletKit/EstimateFee \
uri:/walletrpc.WalletKit/LabelTransaction \
uri:/walletrpc.WalletKit/LeaseOutput \
uri:/walletrpc.WalletKit/ListSweeps \
uri:/walletrpc.WalletKit/ListUnspent \
uri:/walletrpc.WalletKit/NextAddr \
uri:/walletrpc.WalletKit/PendingSweeps \
uri:/walletrpc.WalletKit/PublishTransaction \
uri:/walletrpc.WalletKit/ReleaseOutput \
uri:/walletrpc.WalletKit/SendOutputs \
uri:/watchtowerrpc.Watchtower/GetInfo \
uri:/wtclientrpc.WatchtowerClient/AddTower \
uri:/wtclientrpc.WatchtowerClient/GetTowerInfo \
uri:/wtclientrpc.WatchtowerClient/ListTowers \
uri:/wtclientrpc.WatchtowerClient/Policy \
uri:/wtclientrpc.WatchtowerClient/RemoveTower \
uri:/wtclientrpc.WatchtowerClient/Stats \
address:read \
address:write \
info:read \
info:write \
invoices:read \
invoices:write \
macaroon:generate \
message:read \
message:write \
offchain:read \
offchain:write \
onchain:read \
onchain:write \
peers:read \
peers:write \
signer:generate \
signer:read
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment