echo"*** PAIRING STEP 2 : Click on Scan (make whole QR code fill camera) ***"
# display qr code on LCD
./XXdisplayLCD.sh qr.png
lndconnect --host=${host} --port=${port}
echo"(To shrink QR code: CTRL- or CMD-) Press ENTER when finished."
read key
# show pairing info
msg=""
if[${local} -eq 1];then
msg="Make sure you are on the same local network (WLAN same as LAN).\n\n"
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."
whiptail --backtitle "Connecting Mobile Wallet"\
--title "Pairing by QR code"\
--yes-button "continue"\
--no-button "show QR code"\
--yesno "${msg}"2065
if[$? -eq 1];then
lndconnect --host=${host} --port=${port}
echo"(To shrink QR code: OSX->CMD- / LINUX-> CTRL-) Press ENTER when finished."
read key
fi
clear
echo"If it's not working - check issues on GitHub:"
msg="Once you have the app is running make sure you are on the same local network (WLAN same as LAN)."
if[${local} -eq 1];then
msg="Once you have the app running make sure you are on the same local network (WLAN same as LAN).\n\n"
fi
msg="${msg}On Setup Step 'Choose LND Server Type' connect to 'DIY SELF HOSTED'\n\n(Or in the App go to --> 'Settings' > 'Connect to your LND Server') \n\nThere you see three 3 form fields to fill out. Skip those and go right to the buttons below.\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 Shango Mobile Wallet"\