CashScript / cashscript

⚖️ Easily write and interact with Bitcoin Cash smart contracts
https://cashscript.org
MIT License
115 stars 80 forks source link

Feature/regtest #82

Closed 2qx closed 3 years ago

2qx commented 3 years ago

Hello @rkalis,

This PR adds regtest as a network type available for network providers and bchreg as an address prefix.

I had tried to use the library as is on regtest, but the way it ties network to address prefix made it problematic.

rkalis commented 3 years ago

Awesome, looks great. I fixed the linting errors with yarn lint --fix. Will take another look at it and publish a new version tomorrow.

rkalis commented 3 years ago

Just published v0.5.5 with this change included. Thanks for the contribution!