#2192 lnd xpubs display (#3515)

#2192 menu entry to show lnd xpubs
This commit is contained in:
/rootzoll 2022-12-13 18:14:47 +01:00 committed by GitHub
parent fb9283a06c
commit 7141cb1674
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@ OPTIONS+=(PEERING "Connect to a Peer")
OPTIONS+=(CHANNEL "Open a Channel with Peer")
OPTIONS+=(SEND "Pay an Invoice/PaymentRequest")
OPTIONS+=(RECEIVE "Create Invoice/PaymentRequest")
OPTIONS+=(XPUB "Show OnChain xPubs")
if [ "${chain}" = "main" ]; then
OPTIONS+=(lnbalance "Detailed Wallet Balances")
@ -140,4 +141,16 @@ case $CHOICE in
echo "Press ENTER to return to main menu."
read key
;;
XPUB)
clear
echo "LND wallet xPubs => $lncli_alias wallet accounts list --name default"
echo
$lncli_alias wallet accounts list --name default | grep --color=never .*,
echo
echo "EXPERIMENTAL - DONT USE FOR SERIOUS FUND RECEIVING YET"
echo "Report your experience to: https://github.com/rootzoll/raspiblitz/issues/2192"
echo
echo "Press ENTER to return to main menu."
read key
esac