[BIP proposal] Private Payments



Summary:

A proposal to use bech32 instead of base58 for more compact QR codes has been agreed upon. The use of lowercase letters and certain characters should be avoided as they prevent auto-compression in QRs. Base64 is a big offender as it not only does not auto-compress, but also triggers binary mode that almost doubles the size of the QR. Standards and libraries focused on bitcoin QRs, including support of animated QRs for things like PSBTs, can be found, and techniques used in swift library https://github.com/BlockchainCommons/QRCodeGenerator and https://www.nayuki.io/page/qr-code-generator-library support “optimal encoding using segments” to avoid doubling the QR size. The Blockchain Commons offers other Airgap QR and TorGap UR efforts, including NFC encrypted Airgap & crypto-request/response flows. Proposals for various payment and invoice QRs leveraging these wallet interoperability standards have been invited, with discussions taking place at https://github.com/BlockchainCommons/Airgapped-Wallet-Community.


Updated on: 2023-06-15T22:16:39.702616+00:00