{"repo":"thebrandonlucas/bitcoin-qr","free":true,"listed":false,"github":"https://github.com/thebrandonlucas/bitcoin-qr","clone":"git clone https://github.com/thebrandonlucas/bitcoin-qr.git","description":"A zero-dependency, zero-framework QR code web component for Bitcoin on-chain, Lightning, and unified BIP-21 payments.","language":"TypeScript","stars":20,"topics":["bitcoin","lightning","lightning-network","qr-code","stenciljs","web-components","qr"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"A zero-dependency, zero-framework QR code web component for Bitcoin on-chain, Lightning, and unified BIP-21 payments. PRs and suggestions welcome! Table of Contents - - Table of Contents - Features - Background - Installation - CDN - NPM - Usage - More Examples - API Reference - Base attributes: - Callback - Styles and Other Options - Roadmap - Run Locally - License Features - [x] URI support for Lightning, on-chain, BIP-21 - [x] Poll for payment - [x] Customizable styles - [x] WebLN support - [x] Embed or overlay images Background When developing a Bitcoin payment flow, there are multiple ways a user can expect to be able to pay. They might want to pay an on-chain address or Lightning invoice, they may be scanning a QR Code from their phone, copy/pasting from a wallet, or using a WebLN browser extension. Creating an intuitive interface that also captures all the possible ways a user can pay is one of the fundamental UX challenges of developing an application that can receive payments in Bitcoin. This flexibility opens up many exciting use cases, but often comes at the cost of being able to easily develop a smooth experience for the user. The greater the developer's cognitive load, the more difficult it is to create intuitive UX. This project aims to provide everything needed to allow standard Bitcoin & Lightning Network payments out of the box. It handles creating the proper URIs from just an address or invoice, and favors creating unified URIs whenever possible. Styles are ","default_branch":null,"files":null,"tree":[],"storefront":"/r/thebrandonlucas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/thebrandonlucas/bitcoin-qr/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}