rootzoll
7 years ago
2 changed files with 50 additions and 14 deletions
@ -1,14 +0,0 @@ |
|||
#!/bin/bash |
|||
|
|||
# location of lnd.conf |
|||
lnd_config=/home/bitcoin/.lnd/lnd.conf |
|||
|
|||
# add qrcode-encoder to pass info |
|||
sudo apt-get install qrencode -y |
|||
|
|||
cd /home/admin/.lnd |
|||
# save LAN IP |
|||
myip="ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p'" |
|||
|
|||
# display qr code |
|||
echo -e "${myip},\n$(xxd -p -c2000 admin.macaroon)," > qr.txt && cat tls.cert >>qr.txt && qrencode -t ANSIUTF8 < qr.txt |
@ -0,0 +1,50 @@ |
|||
#!/bin/bash |
|||
|
|||
# make sure qrcode-encoder in installed |
|||
clear |
|||
echo "*** Setup ***" |
|||
sudo apt-get install qrencode -y |
|||
|
|||
# get local IP |
|||
myip="ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p'" |
|||
|
|||
clear |
|||
echo "******************************" |
|||
echo "Connect Shango Mobile Wallet" |
|||
echo "******************************" |
|||
echo "" |
|||
echo "GETTING THE APP" |
|||
echo "At the moment this app is in closed beta testing and the source code has not been published yet." |
|||
echo "Go to http://www.shangoapp.com/insider sign up with your email (confirmation can take time)" |
|||
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 "" |
|||
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 "ENTER into IP & PORT the following:" |
|||
echo "${myip}:10009" |
|||
echo "" |
|||
echo "The following two will be a QR code to scan (press leading qr-code icon)." |
|||
echo "PRESS ENTER to make RaspiBlitz displaying the MACAROON QR code ..." |
|||
read key |
|||
|
|||
clear |
|||
echo "SCAN MACAROON (make whole QR code fill camera):" |
|||
qrencode $(xxd -p -c3000 /home/admin/.lnd/admin.macaroon) -t ANSIUTF8 |
|||
echo "Press ENTER to make RaspiBlitz displaying the TLS-CERT QR code ..." |
|||
read key |
|||
|
|||
clear |
|||
echo "SCAN TLS-Cert (make whole QR code fill camera):" |
|||
qrencode $(xxd -p -c3000 /home/admin/.lnd/tls.cert) -t ANSIUTF8 |
|||
echo "Press ENTER to continue .." |
|||
read key |
|||
|
|||
clear |
|||
echo "Now press 'Connect' within the Shango Wallet." |
|||
echo "If its not working - check issues on GitHub:" |
|||
echo "https://github.com/neogeno/shango-lightning-wallet/issues" |
|||
echo "" |
Loading…
Reference in new issue