Browse Source

hints on how to connect

master
Christian Rotzoll 6 years ago
parent
commit
e3e3965160
  1. 9
      home.admin/97addMobileWalletLNDconnect.sh

9
home.admin/97addMobileWalletLNDconnect.sh

@ -98,19 +98,18 @@ if [ ${#sshtunnel} -gt 0 ]; then
fi fi
fi fi
# write qr code data to text file # write qr code data to an image
#echo -e "${host}:${port},\n$(xxd -p -c2000 ./.lnd/data/chain/${network}/${chain}net/admin.macaroon)," > qr.txt
lndconnect --host=${host} --port=${port} --image lndconnect --host=${host} --port=${port} --image
# display qr code on LCD # display qr code image on LCD
./XXdisplayLCD.sh lndconnect-qr.png ./XXdisplayLCD.sh lndconnect-qr.png
# show pairing info # show pairing info dialog
msg="" msg=""
if [ ${local} -eq 1 ]; then if [ ${local} -eq 1 ]; then
msg="Make sure you are on the same local network.\n(WLAN same as LAN - use WIFI not cell network on phone).\n\n" msg="Make sure you are on the same local network.\n(WLAN same as LAN - use WIFI not cell network on phone).\n\n"
fi fi
msg="${msg}When you start the App choose to connect to your own node.\n\nClick on the 'Scan QR' button. Scan the QR on the LCD and <continue> or <show QR code> to see it in this window." msg="${msg}When you start the App choose to connect to your own node.\n(DIY / Remote-Node / lndconnect)\n\nClick on the 'Scan QR' button. Scan the QR on the LCD and <continue> or <show QR code> to see it in this window."
whiptail --backtitle "Connecting Mobile Wallet" \ whiptail --backtitle "Connecting Mobile Wallet" \
--title "Pairing by QR code" \ --title "Pairing by QR code" \
--yes-button "continue" \ --yes-button "continue" \

Loading…
Cancel
Save