BRO200BS / Bitcoin-Address-Generator

Every type of Bitcoin addresses generator in python🐍
https://github.com/BRO200BS/Bitcoin-Address-Generator
18 stars 9 forks source link

Creates invalid bech32 addresses? #1

Open mattysparkles opened 10 months ago

mattysparkles commented 10 months ago

the script seems to be generating invalid bech32 addresses. Im trying to debug it and figure out what the issue is but havent been successful yet maybe im missing something, please take a look if you can also PM me I made a bunch of other additions to this including a gui threading output to .csv along with other efficiency updates, but Im trying to run your orignal function for the generation of bech32 addresses and i get what looks like a valid output until i go to check them and block explorers are indicating they are invalid. Please advise. Thanks. Sorry if ive done this issue thing wrong while im not exactly new to github I am new to participating in the collab process.

ZenulAbidin commented 8 months ago

https://github.com/BRO200BS/Bitcoin-Address-Generator/blob/main/Gen.py#L41-L51

The (invalid) P2SH hash160 is also being used to create the Bech32 address in addition to the witness program being added at the beginning of the data.

BRO200BS commented 4 months ago

Please advise