Testnet

Joining the BitNet Testnet

This guide explains how to connect to the BitNet testnet, configure your node, and become a testnet validator.


1. Select the Testnet

Choose the testnet version by setting the appropriate Chain ID and retrieving the corresponding genesis file and seed peers. You can find these in the BitNet testnet repository.


2. Install the BitNet Binary

Install the BitNet CLI binary (bitnetd) following the official installation instructions.

Ensure you install the correct version for the current testnet. Run:

bitnetd version

3. Save Chain ID (Optional)

To avoid passing --chain-id in every CLI command, you can set it globally:

bitnetd config chain-id bitnet_testnet_9000

4. Initialize the Node

Initialize your node:


5. Add Genesis File

Download the testnet genesis.json and place it into your config folder:


6. Configure Seed and Persistent Peers

Add Seeds

Open ~/.bitnetd/config/config.toml and set:

Or auto-configure using:

Add Persistent Peers


7. Start Your Node

Once two-thirds of testnet validators are online, block production begins.


8. Create a Validator (Optional)

After getting testnet tokens from the faucet, submit a validator creation transaction:


9. Resetting or Restarting the Node

If required, reset data:

Then restart:


10. Share Your Peer

To help others find you, get your node ID:

Share it on the BitNet Discord's #find-peers channel.

Last updated