Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a package for Bech32 encoding of addresses #57

Open
mpizenberg opened this issue Sep 29, 2024 · 0 comments
Open

Create a package for Bech32 encoding of addresses #57

mpizenberg opened this issue Sep 29, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@mpizenberg
Copy link
Owner

Cardano addresses have 2 main representations. One is binary using raw bytes, the other is Bech32, an address format standardized by Bitcoin. Here is an example of the same address, in raw bytes (hex encoded) or in Bech32:

  • Bech32: addr_test1vza0s44v9ljpgu5h9wkayt03s5406adkdk8xju5dcd853acuqzfzx
  • Raw bytes (hex encoded): 60baf856ac2fe41472972badd22df1852afd75b66d8e69728dc34f48f7

The Bech32 format is more user-friendly because it contains a human-readable prefix, but is less convenient for actual programming stuff. So currently, we only support the raw bytes format in elm-cardano. It would be great if someone could create a Bech32 elm package, that we could reuse in elm-cardano.

@mpizenberg mpizenberg added help wanted Extra attention is needed good first issue Good for newcomers labels Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant