feat(docker): display Zeus lndconnect as QR code
- Add qrencode to devenv.nix packages - Display QR code in terminal for easy Zeus wallet scanning - Falls back to text if qrencode not available Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
c8006638b2
commit
786b118d54
2 changed files with 8 additions and 1 deletions
|
|
@ -50,6 +50,7 @@
|
||||||
just # Task runner
|
just # Task runner
|
||||||
jq # JSON processing
|
jq # JSON processing
|
||||||
websocat # WebSocket client
|
websocat # WebSocket client
|
||||||
|
qrencode # QR code generation for terminal
|
||||||
|
|
||||||
# Database tools
|
# Database tools
|
||||||
pgcli
|
pgcli
|
||||||
|
|
|
||||||
|
|
@ -339,7 +339,13 @@ show_status() {
|
||||||
|
|
||||||
if [[ -n "$lndconnect" ]]; then
|
if [[ -n "$lndconnect" ]]; then
|
||||||
echo -e "${CYAN}Zeus Wallet (connect to lnd-3 for testing)${NC}"
|
echo -e "${CYAN}Zeus Wallet (connect to lnd-3 for testing)${NC}"
|
||||||
echo -e " ${DIM}$lndconnect${NC}"
|
if command -v qrencode &> /dev/null; then
|
||||||
|
echo ""
|
||||||
|
qrencode -t ANSIUTF8 "$lndconnect"
|
||||||
|
else
|
||||||
|
echo -e " ${DIM}$lndconnect${NC}"
|
||||||
|
echo -e " ${DIM}(install qrencode for QR code display)${NC}"
|
||||||
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue