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

bech32 #37

Open
PsyShark opened this issue Nov 10, 2019 · 3 comments
Open

bech32 #37

PsyShark opened this issue Nov 10, 2019 · 3 comments

Comments

@PsyShark
Copy link

Hi,
Thank you for adding bech32 addresses, but there is a problem with decoding long bech32 addresses. Is it possible to modify the decoding of long bech32 addresses?
Example: bc1q3026x9qhu5ucsx6fcly682zu54ma0w3js4nvasp53lx0rkyh8k8scn8yp5
Thank.

@streamofstars
Copy link

What do you mean by decoding exactly, what would like to get?

Keep in mind that long Bech32 addresses (as in your example 62 characters long) are P2WSH addresses so, if I'm not missing anything, we can only reverse it to: human readable part, the main payload hash of a script and the checksum. I believe it is not possible to convert to other type of addresses as in the P2WSH the data is hashed differently than in all other address types.

@streamofstars
Copy link

@PsyShark has my answer shed any light on the problem? Can you close the issue or provide more details?

@hamnaz
Copy link

hamnaz commented Jan 5, 2021

when bitcoin tools updates his repo with addresses starting with "3" and "b"
as in bitcoin section its only for starting address "1"
waiting your earliest updates

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

No branches or pull requests

3 participants