Skip to content

How to Connect to the Testnet

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

Note: This documentation is out of date as of Jan 13, 2022. It will be updated.

Testnet 10 is the supported testnet. Testnet 7 is not supported and will going offline Jan 13, 2022.


How to join testnet

Step 1. Change your Chia root Directory

If you are on linux run export CHIA_ROOT="~/.chia/testnet". If you are on windows go to Environment Variables as seen below. Then add a USER variable like the one also shown below.


Environment Variables CHIA_ROOT ENV variable

Step 2. Run chia init

Step 3. Run chia configure --testnet true.

This will make your client automatically select the currently active testnet

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

Once in the directory you can run mkdir db and cd db respectively on linux or just make the folder on windows and go into it.

Step 5. Download the Official Testnet DB

For linux users wget https://download.chia.net/testnet7/blockchain_v1_testnet7.sqlite while in the directory. Windows users can just download it normally and move it to the db folder.

Step 6. Starting your node and Getting Peers

Both windows and linux users need to run chia keys generate if you don't have keys already. Then you need to start your node by running chia start farmer. Once your node is started run chia show -a testnet-node.chia.net:58444 Then Finally run chia wallet show And state that you don't have a backup

Step 7. (Optional) Getting funds.

Go to Chia testnet faucet and input your address. If it sends you to the main page that means it worked. (You will see it once you are all synced) Should it some how reject your request, just paste your TXCH address in #testnet and ask for a few mojo's.

What to do if your having trouble with setting up testnet.

Join Our Keybase And join the #testnet channel for support

Clone this wiki locally