-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support BTC signet #170
Support BTC signet #170
Comments
You can currently claim sBTC test coins through 2 faucetsFaucet 1: https://signetfaucet.com/ (0.00001 at a time) Faucet 2: https://botanix.5thweb.io/ (0.001 at a time, 1 time in 24 hours) |
If we switch to BTC testnet4, do we redeploy RGB++ lock script and BTC time lock script for testnet4? |
Since BTC testnet3 is coming back somehow. So the priority of supporting BTC signet or testnet4 is now lower.
However, if testnet3 remains unstable or problematic, then rgbpp-sdk and assets-api have to investigate to support a new test environment. So the answer to your question is |
Background
The BTC testnet3 is currently slow and the peak fee rate is sky high.
Therefore, we may have to support switching to other testnets in the rgbpp-sdk/btc.
Questions
Some questions to be answered, some decisions to be made:
NetworkType.TESTNET
, or should we add a newNetworkType
option?Discussion -> Conclusions
BTC testnet4 is not finalized yet, so BTC signet will be supported first. BTC testnet4 may be supported later.
The BTC testnet3 should continue to be maintained as most of the RGB++ testnet dApps are running on this environment. A new
BTC NetworkType
may be required to accommodate this need.TODO
Bitcoin/RGB++ Assets API @ahonn @mfuuzy
https://api.signet.rgbpp.io/docs
BTC signet SPV on CKB testnet @EthanYuan
https://pudge.explorer.nervos.org/script/0xc8a30fe3e8101cb4163e70b4eb1e42d477ae7094524a30bfdf1c90be41876d28/type
CKB testnet rgbpp contracts with BTC signet SPV config @EthanYuan @jjyr
rgbpp-sdk/btc @ShookLyngs
Without modification:
If adding NetworkType.SIGNET:
Update thedecodeAddress
function and remove thenetworkType
from the return type, as it's no longer accurateCheck and update where thedecodeAddress
function was referencedNote
need discussion because signet and testnet are almost exactly the same at the application level
ref: bitcoinjs/bitcoinjs-lib#1820 (comment)
rgbpp-sdk/ckb @duanyytop
References
The text was updated successfully, but these errors were encountered: