Skip to content

Instantly share code, notes, and snippets.

@bretton
Last active July 7, 2021 01:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bretton/e3de90404c05f63933444ef11c9b3c43 to your computer and use it in GitHub Desktop.
Save bretton/e3de90404c05f63933444ef11c9b3c43 to your computer and use it in GitHub Desktop.
Random stuff for testing with Lightning, QRCodes

Random stuff on using QRCodes for testing Lightning between Mac, Linux and Android

generate a QR code on the command line for LND

sudo apt-get install qrencode
lncli newaddress np2wkh |jq -c -r .address |qrencode -t ASCII -m 5

MacOS: copy-paste an address or lightning payment request from command line into QREncoder and then scan with Eclair

QR code in websites for storefronts

https://github.com/soldair/node-qrcode

Mobile Wallets

As of 2018-01-25, Android only, neither are particularly great yet

Eclair Wallet

Bitcoin + Lightning Wallet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment