Browse Source

shango with just one code

#146
rootzoll 7 years ago
parent
commit
97582e7413
  1. 28
      home.admin/97addMobileWalletShango.sh

28
home.admin/97addMobileWalletShango.sh

@ -29,32 +29,20 @@ echo "Go to http://www.shangoapp.com/insider sign up with your email (confirmati
echo "iOS: Read https://developer.apple.com/testflight/testers/" echo "iOS: Read https://developer.apple.com/testflight/testers/"
echo "Android: https://play.google.com/apps/testing/com.shango (from device, after confirmation email)" echo "Android: https://play.google.com/apps/testing/com.shango (from device, after confirmation email)"
echo "" echo ""
echo "SETUP"
echo "Once you have the app running make sure you are on the same local network (WLAN same as LAN)."
echo "Then go to --> 'Connect to your LND Server'"
echo "There you see three 3 form fields to fill out."
echo ""
echo "*** STEP 1 ***" echo "*** STEP 1 ***"
echo "ENTER into IP & PORT the following:" echo "Once you have the app is running make sure you are on the same local network (WLAN same as LAN)."
echo "${myip}:10009" echo "Then go to --> 'Connect to your LND Server'"
echo "" echo "There you see three 3 form fields to fill out. Skip those and go right to the buttons below."
echo "NOTE: You can replace IP with dyndns if available and port forwarding on router."
echo "" echo ""
echo "The following two steps, will be a QR code - press scan icon in app next to field." echo "Click on the 'Scan OR' button"
echo "PRESS ENTER to make RaspiBlitz displaying the MACAROON QR code ..." echo "Make the this terminal as big as possible - fullscreen would be best."
echo "Then PRESS ENTER here in the terminal to generare the QR code and scan it with the app."
read key read key
clear clear
echo "*** STEP 2 : SCAN MACAROON (make whole QR code fill camera) ***" echo "*** STEP 2 : SCAN MACAROON (make whole QR code fill camera) ***"
qrencode $(xxd -p -c3000 /home/admin/.lnd/data/chain/${network}/${chain}net/admin.macaroon) -t ANSIUTF8 echo -e "${myip}:10009,\n$(xxd -p -c2000 ./.lnd/data/chain/bitcoin/mainnet/admin.macaroon)," > qr.txt && cat ./.lnd/tls.cert >>qr.txt && qrencode -t ANSIUTF8 < qr.txt
echo "Press ENTER to make RaspiBlitz displaying the TLS-CERT QR code ..." echo "(To shrink QR code: OSX->CMD- / LINUX-> CTRL-) Press ENTER when finished."
echo "(To shrink QR code: OSX->CMD- / LINUX-> CTRL-) Press ENTER for next step."
read key
clear
echo "*** STEP 3_ SCAN TLS-Cert (make whole QR code fill camera) ***"
qrencode $(xxd -p -c3000 /home/admin/.lnd/tls.cert) -t ANSIUTF8
echo "(To shrink QR code: OSX->CMD- / LINUX-> CTRL-) Press ENTER when Done."
read key read key
clear clear

Loading…
Cancel
Save