litcli passthrough
This commit is contained in:
parent
990128da86
commit
6aa5991520
@ -62,7 +62,7 @@ export default function LNC () {
|
||||
<div className='d-flex align-items-center'>pairing phrase
|
||||
<Info label='help'>
|
||||
<Text>
|
||||
{'We only need permissions for the uri `/lnrpc.Lightning/SendPaymentSync`\n\nCreate a budgeted account with narrow permissions:\n\n```$ litcli accounts create --balance <budget>```\n\n```$ litcli sessions add --type custom --account_id <account_id> --uri /lnrpc.Lightning/SendPaymentSync```'}
|
||||
{'We only need permissions for the uri `/lnrpc.Lightning/SendPaymentSync`\n\nCreate a budgeted account with narrow permissions:\n\n```$ litcli accounts create --balance <budget>```\n\n```$ litcli sessions add --type custom --label <your label> --account_id <account_id> --uri /lnrpc.Lightning/SendPaymentSync```\n\nGrab the `pairing_secret_mnemonic` from the output and paste it here.'}
|
||||
</Text>
|
||||
</Info>
|
||||
</div>
|
||||
|
10
sndev
10
sndev
@ -340,6 +340,15 @@ sndev__help_stacker_clncli() {
|
||||
docker__stacker_cln help
|
||||
}
|
||||
|
||||
sndev__stacker_litcli() {
|
||||
shift
|
||||
docker__exec -t litd litcli -n regtest --rpcserver localhost:8444 "$@"
|
||||
}
|
||||
|
||||
sndev__help_stacker_litcli() {
|
||||
docker__exec -t litd litcli -h
|
||||
}
|
||||
|
||||
__sndev__pr_track() {
|
||||
json=$(curl -fsSH "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/stackernews/stacker.news/pulls/$1")
|
||||
case $(git config --get remote.origin.url) in
|
||||
@ -493,6 +502,7 @@ COMMANDS
|
||||
sn_lndcli lncli passthrough on sn_lnd
|
||||
stacker_lndcli lncli passthrough on stacker_lnd
|
||||
stacker_clncli lightning-cli passthrough on stacker_cln
|
||||
stacker_litcli litcli passthrough on litd
|
||||
"
|
||||
echo "$help"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user