chainside / btcpy

A Python3 SegWit-compliant library which provides tools to handle Bitcoin data structures in a simple fashion.
https://www.chainside.net
GNU Lesser General Public License v3.0
270 stars 73 forks source link

Add support for regtest bech32 addresses #62

Open sushi30 opened 3 years ago

sushi30 commented 3 years ago

Although its not documented anywhere official, regtest addresses have a different prefix for bech32 than regtest. It uses the bcrt prefix rather than tb.

This is currently not supported by the Bech32Codec.