How to run a Testnet5 node
Testnet5 is not in a Bitcoin Core release yet, so you build Bitcoin Core from the Testnet5 pull request. The chain is only days old, so it syncs in minutes and uses very little disk.
This is unreleased, unmerged code from pull request #35861 [PR #35861]. Use it only for testing, and keep it away from wallets that hold real bitcoin.
1. Install build tools
Follow the build guide for your system in the Bitcoin Core repository, doc/build-unix.md, doc/build-osx.md or doc/build-windows.md. You need Git, CMake, a C++ compiler and the listed libraries.
2. Fetch the Testnet5 pull request
git clone https://github.com/bitcoin/bitcoin.git
cd bitcoin
git fetch origin pull/35861/head:testnet5
git checkout testnet5
3. Build
cmake -B build
cmake --build build -j"$(nproc)"
4. Start the node
There are no DNS seeds or fixed seeds for Testnet5 yet, so connect to a known peer by hand [PR #35861].
./build/bin/bitcoind -testnet5 -addnode=lapis.erisian.com.au:18353 -daemon
Or put this in bitcoin.conf:
chain=testnet5
[testnet5]
addnode=lapis.erisian.com.au:18353
The default P2P port is 18353, not 18335. The port was changed in BIP 95 version 0.2.0, so ignore older notes that say 18335 [BIP 95]. The pull request uses RPC port 18352 by default [PR #35861].
5. Check you are on the right chain
./build/bin/bitcoin-cli -testnet5 getblockhash 0
./build/bin/bitcoin-cli -testnet5 getblockchaininfo
The first command must print the Testnet5 genesis hash:
00000000000008c1637e7d3252dc1c333d4546fd6fff6a474b200d674a91d497
That value comes from bips pull request #2356 [bips #2356].
6. Get an address for mining
./build/bin/bitcoin-cli -testnet5 createwallet mining
./build/bin/bitcoin-cli -testnet5 -rpcwallet=mining getnewaddress
Use the tb1 address it prints as your username on our pool. See Start mining.
Optional: verify the fair launch
The bootstrap notes include a script that hashes the genesis block from your node and checks an OpenTimestamps proof, showing the block was built between mainnet blocks 975,744 and 975,749 [bootstrap notes].
AltQuick lists Bitcoin Testnet4 (TBTC4) and Bitcoin Signet (SBTC).