mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 09:57:17 +01:00
connect shango wallet
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user