From 7141cb16741891be72ca28641f11bd65e34bc6a0 Mon Sep 17 00:00:00 2001 From: /rootzoll Date: Tue, 13 Dec 2022 18:14:47 +0100 Subject: [PATCH] #2192 lnd xpubs display (#3515) #2192 menu entry to show lnd xpubs --- home.admin/99lndMenu.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/home.admin/99lndMenu.sh b/home.admin/99lndMenu.sh index 84fa3b190..576cdff7a 100644 --- a/home.admin/99lndMenu.sh +++ b/home.admin/99lndMenu.sh @@ -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