mirror of
https://github.com/bitromortac/lndmanage.git
synced 2026-08-13 12:33:37 +02:00
This means that calls to `openchannels` and `update-fees` will fail. A custom lndmanage.macaroon can be created with `scripts/bakemacaroon.sh` to enable the commands.
20 lines
736 B
Bash
Executable file
20 lines
736 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# This command creates a macaroon containing permissions to call all the
|
|
# enpoints lndmanage uses. This is more secure than using an admin macaroon.
|
|
|
|
lncli bakemacaroon \
|
|
--save_to lndmanage.macaroon \
|
|
uri:/lnrpc.Lightning/GetInfo \
|
|
uri:/lnrpc.Lightning/GetChanInfo \
|
|
uri:/lnrpc.Lightning/GetNodeInfo \
|
|
uri:/lnrpc.Lightning/DescribeGraph \
|
|
uri:/lnrpc.Lightning/ListChannels \
|
|
uri:/lnrpc.Lightning/FeeReport \
|
|
uri:/lnrpc.Lightning/UpdateChannelPolicy \
|
|
uri:/lnrpc.Lightning/ForwardingHistory \
|
|
uri:/lnrpc.Lightning/ClosedChannels \
|
|
uri:/lnrpc.Lightning/BatchOpenChannel \
|
|
uri:/lnrpc.Lightning/ConnectPeer \
|
|
uri:/walletrpc.WalletKit/ListUnspent \
|
|
uri:/routerrpc.Router/QueryMissionControl
|