Skip to content

How to Connect to the Testnet

Roy Natian edited this page Jan 20, 2022 · 25 revisions

Testnet 10 is the supported testnet. Testnet 7 is not supported and will go offline on January 13, 2022.


How to join testnet

These steps assume you have Chia installed.

Step 1. Run chia init

Step 2. If you do not already have keys generated then run chia keys generate.

Step 3. Run chia configure --testnet true.

This will make your client automatically select and configure itself for the currently active testnet.

Step 4. Create a directory named db in the Chia root directory.

Once in root directory (~/.chia/mainnet), you can run mkdir db and cd db on Linux or just create the folder on Windows/macOS and go into it.

Step 5. Download the Official Testnet DB (optional)

This step is optional, but it will speed up syncing with the testnet.

For Linux users wget https://download-chia-net.s3-us-west-2.amazonaws.com/testnet10/blockchain_v1_testnet10.sqlite while in the directory. Windows users can just download it normally from https://download.chia.net/?prefix=testnet10/ and move it to the db folder.

Step 6. Starting Your Node and Getting Peers

Then you need to start your node by running chia start farmer. Once your node has started, you can connect to Chia's testnet node by using chia show -a testnet10-node.chia.net:58444. Then finally run chia wallet show.

Step 7. (Optional) Getting funds.

Go to Chia testnet faucet and input your address. If it says you are in the queue it has worked. (You will see it once you are all synced)

What to do if you are having trouble with setting up testnet.

Join Our Keybase and join the #testnet channel for support

Clone this wiki locally