node icon indicating copy to clipboard operation
node copied to clipboard

Migrate supported Bitcoin testnet network to Testnet4 or Signet

Open lumtis opened this issue 1 year ago • 9 comments

Describe the Issue

Bitcoin testnet3 might become deprecated and is not optimal for Bitcoin testing (chain much faster than mainnet)

This task is about finding alternative to Bitcoin testnet3 for testnet

We might want to move to Testnet4: https://mempool.space/testnet4

Blocked by https://github.com/zeta-chain/node/issues/2728

We'll be adding Signet support as 1st step to provide a stable test network.

lumtis avatar May 22 '24 17:05 lumtis

Please prioritize this: nobody can test with Testnet3 anymore. Here's the link to claim the faucet for Testnet4.

Claim Faucet for Testnet4 https://coinfaucet.eu/en/btc-testnet4/

ronaldoguedess avatar Jun 20 '24 20:06 ronaldoguedess

We should definitely consider it. It doesn't seem though btcd has completed support for testnet4: https://github.com/btcsuite/btcd/issues/2187 We might need to consider forking btcd

lumtis avatar Jun 26 '24 15:06 lumtis

@ronaldoguedess https://github.com/zeta-chain/node/issues/2386

fadeev avatar Jun 26 '24 16:06 fadeev

We should definitely consider it. It doesn't seem though btcd has completed support for testnet4: btcsuite/btcd#2187 We might need to consider forking btcd

Testnet4 might not be finalized yet, but it's performing 1000% better than Testnet3, which is now deprecated. This makes it the perfect time to add support for Testnet4.

ronaldoguedess avatar Jun 26 '24 17:06 ronaldoguedess

Just so you know, someone is actively working on adding the current testnet4 to btcd now (not just that open issue that we haven't finished).

Hope to have it in within a few days.

jcvernaleo avatar Jul 09 '24 18:07 jcvernaleo

I'd of course encourage contributing to btcd rather than forking. If you tag me in any PRs, I'll make sure to take a look at it sooner rather than later!

jcvernaleo avatar Jul 09 '24 18:07 jcvernaleo

@ronaldoguedess we're look into migrating Bitcoin testnet in one of the coming release

Do you have an opinion about using Signet instead of Testnet4?

lumtis avatar Aug 28 '24 16:08 lumtis

@ronaldoguedess we're look into migrating Bitcoin testnet in one of the coming release

Do you have an opinion about using Signet instead of Testnet4?

I knew signet a few days ago on the mempool, but I believe Testnet4 will require fewer changes and it's newer.

Testnet4 also offers some great faucet tools:

Mempool Testnet4 Faucet CoinFaucet Testnet4

ronaldoguedess avatar Aug 29 '24 02:08 ronaldoguedess

Multiple Bitcoin chain zetaclient config will be supported by https://github.com/zeta-chain/node/pull/2870

ws4charlie avatar Sep 17 '24 20:09 ws4charlie

Hello; there was a message on #bitcoin-signet irc about wanting some coins, but @CryptoFewka (presumably?) didn't end up hanging around long enough to get an answer:

06:12 <CryptoFewka> Hey all, we're looking at integrating Signet in to ZetaChain's
                    Testnet, and are in need of a stack of sBTC. Ideally we would receive
                    enough to also disperse it to developers using our SDK to complete
                    crosschain transactions. Does anyone have any advice on how we could
                    obtain enough sBTC to enable us to distribute a small amount
                    ourselves?

FWIW, as I understand it, Babylon set up a discord bot that acted as a faucet for their users during their testing phases, maybe you want to do something similar? Feel free to ping me here or on a new issue here if you want to nail things down without timezones being as much of an issue, maybe?

ajtowns avatar Oct 31 '24 05:10 ajtowns

Hey @ajtowns, my irc client kept dropping in the background and wouldn't reconnect automatically. Tracking the issue here would be great.

We have a dependency issue which prevents us from integrating testnet4 at the moment but signet integration would be straightforward.

We absolutely would like to operate our own faucet for the tokens, if we could acquire them.

CryptoFewka avatar Oct 31 '24 13:10 CryptoFewka

Sure, point me at an address, and I'll send some "starter capital", then once you've got a faucet setup we can either do a one-off manual funding, or set it up to receive a distribution from the coinbase funds (eg).

ajtowns avatar Oct 31 '24 14:10 ajtowns

Thanks. Can some sBTC please be sent here: tb1qj06h3t9vh53n960efq477jyywaj2tkyxuk0d3c?

CryptoFewka avatar Oct 31 '24 17:10 CryptoFewka

https://mempool.space/signet/address/tb1qj06h3t9vh53n960efq477jyywaj2tkyxuk0d3c

ajtowns avatar Nov 02 '24 15:11 ajtowns

Both signet and testnet4 are now live on the ZetaChain athens3 testnet. There's a bit more work to be done on our indexer and in the toolkit but everything has been completed on the node and infrastructure side.

gartnera avatar Dec 04 '24 19:12 gartnera