buidl-bitcoin / buidl-python

python3 bitcoin library with no dependencies and extensive test coverage
https://pypi.org/project/buidl/
MIT License
83 stars 26 forks source link

support native segwit regtest addresses (#148) #162

Open chadchapnick opened 3 months ago

chadchapnick commented 3 months ago

Add support for Native Segwit addresses on regtest networks

Resolves Issue #148

To verify this human readable part for bech32 regtest addresses, the following references may be helpful:

jimmysong commented 4 weeks ago

Are there plans to add regtest as a separate network parameter? There are a lot of functions that use network as a parameter and if we're to support regtest, they all need to be updated. For example bech32.py has a function encode_bech32_checksum. That would need to return the address of the type that is in this function.