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

Add regtest support #135

Closed jamesob closed 2 years ago

jamesob commented 2 years ago

Closes https://github.com/buidl-bitcoin/buidl-python/issues/134

Tested functionally (for my use anyway) with HDPrivateKey.from_seed(..., network='regtest').

I also have some ideas about global-default network switching to avoid having to specify network='...' for all calls (while still retaining the ability to specify network per-call) if you guys are interested.

jamesob commented 2 years ago

Pushed; thanks for the look @jimmysong