Skip to main content

Run a Testnet Node

Nervos has introduced the Pudge Testnet for developers to experiment with integrations and Scripts. This is ideal for exploring functionalities in a risk-free environment. Due to hash rate fluctuations, expect periodic resets. We suggest allocating 200GB for experimentation.

Step 1: Download CKB Binary

info

We will use ckb_v0.115.0 for this guide. Please ensure you download the latest version corresponding to your operating system.

Get the latest CKB binary from Github releases.

Step 2: Navigate to CKB Directory

Unzip the downloaded file to an easily accessible folder, e.g., C:\ckb for Windows, ~/Documents for Mac. Open your terminal/command line and navigate to your CKB directory using the following command:

  cd /Users/(NAME)/Documents/ckb_v0.115.0-rc3_aarch64-apple-darwin-portable/ckb

Step 3: Verify versions

  ckb --version
ckb-cli --version

Step 4: Connect to Pudge Testnet

Initialize your CKB node:

  ckb init --chain testnet

Step 5: Start the CKB Testnet Node

ckb run

After these steps, your CKB Testnet node will be up and running, allowing you to experiment and develop with the Nervos blockchain.

Track Your Node

Track your node using CKB Node Probe and view the global distribution of active CKB nodes.