Browse Source

fixqrcode

master
/geco 6 years ago
parent
commit
148a2fb4c3
  1. 3
      home.admin/97addMobileWalletShango.sh

3
home.admin/97addMobileWalletShango.sh

@ -41,9 +41,10 @@ read key
clear
echo "*** STEP 2 : SCAN MACAROON (make whole QR code fill camera) ***"
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 -e "${myip}:10009,\n$(xxd -p -c2000 ./.lnd/data/chain/${network}/${chain}net/admin.macaroon)," > qr.txt && cat ./.lnd/tls.cert >>qr.txt && qrencode -t ANSI256 < qr.txt
echo "(To shrink QR code: OSX->CMD- / LINUX-> CTRL-) Press ENTER when finished."
read key
shred qr.txt
clear
echo "Now press 'Connect' within the Shango Wallet."

Loading…
Cancel
Save