From e25129107630b052c2caeb9434362c6a35187c29 Mon Sep 17 00:00:00 2001 From: Pac Date: Fri, 12 Feb 2021 11:07:51 -0300 Subject: [PATCH] Display QRcode for easy wallet export This adds a QRcode of the "url_root/wallet?usr=#####&wal=####" so that the user can create a wallet on desktop and easily use it on his phone. Also, in a use case where the extension is used, the manager can create a wallet and show the QRcode for the user to take it (e.g. in a hotel front desk the clerk creates it and the user takes it in his phone browser, to pay for laundry, massage, soda machine...) --- lnbits/core/templates/core/wallet.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lnbits/core/templates/core/wallet.html b/lnbits/core/templates/core/wallet.html index e641a4ca..727738ec 100644 --- a/lnbits/core/templates/core/wallet.html +++ b/lnbits/core/templates/core/wallet.html @@ -224,6 +224,14 @@ >
LNbits wallet
Wallet name: {{ wallet.name }}
+

+ Scan this QRcode to open this wallet somewhere else (e.g. your cell phone)

+ + +

Wallet ID: {{ wallet.id }}
Admin key: {{ wallet.adminkey }}
Invoice/read key: {{ wallet.inkey }}