Skip to content

Conversation

@DanGould
Copy link
Contributor

@DanGould DanGould commented Mar 28, 2024

Bech32m has a human-readable prefix, checksum, creates smaller
QR codes, and is already available in rust-bitcoin.

It's a much better encoding scheme than base64 for bip21 uri params.


This supersedes #226.

Bech32m is a better encoding scheme than bytewords because it's both more dense than bytewords because its character set includes digits based on base32 encoding and it doesn't introduce a new dependency. bech32 is already part of rust-bitcoin.

Bech32m has a human-readable prefix, checksum, creates smaller
QR codes, and is already available in rust-bitcoin.

It's a much better encoding scheme than base64 for bip21 uri params.
@DanGould DanGould marked this pull request as draft April 3, 2024 00:18
@DanGould
Copy link
Contributor Author

bip21 URIs are not alphanumeric mode encodable since they use '=' and '?' characters. Therefore, base64URI seems to be the appropriate encoding.

@DanGould DanGould closed this Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant