bitpay / bitcore

A full stack for bitcoin and blockchain-based applications
https://bitcore.io/
MIT License
4.8k stars 2.07k forks source link

[Multi] Regtest support #3696

Closed kajoseph closed 4 months ago

kajoseph commented 4 months ago

This adds natural regtest support in a way that doesn't require you to clobber testnet. This is necessary because several currencies have address formats that are different between regtest and testnet.

This relates to https://github.com/bitpay/bitpay-app/pull/1054 which may be useful for testing this

NOTE: when using the above PR, you'll have to update your bitpay-app package.json bitcore dependencies to point to local bitcore dirs. You'll also need to update any bitcore sub dependencies to point to local dirs as well, since running yarn in the bitpay-app won't respect lerna linking when pulling sub-dependencies.