network:chianetwork:testnet
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
network:chianetwork:testnet [2021/09/14 13:38] – vleesbanaan | network:chianetwork:testnet [2021/09/14 19:22] (current) – vleesbanaan | ||
---|---|---|---|
Line 2: | Line 2: | ||
Below you will find the instructions for joining testnet7 using a Windows machine. | Below you will find the instructions for joining testnet7 using a Windows machine. | ||
+ | This guide is for farmers that want to run the testnet on the same machine as their mainnet. | ||
+ | If you want to do it on a seperate device, please see https:// | ||
====Step 1 - Create a Windows Subsystem for Linux (WSL)==== | ====Step 1 - Create a Windows Subsystem for Linux (WSL)==== | ||
Line 27: | Line 29: | ||
Below you find the relevant code: | Below you find the relevant code: | ||
- | '' | + | < |
- | + | # Install Git | |
- | '' | + | sudo apt install git -y |
- | + | # Checkout the source and install | |
- | '' | + | git clone https:// |
- | + | cd chia-blockchain | |
- | '' | + | sh install.sh |
- | + | . ./activate | |
- | '' | + | </ |
- | + | ||
- | '' | + | |
- | + | ||
- | '' | + | |
Line 50: | Line 48: | ||
the previous step only changed the target network from mainnet to testnet7 and the external port from 8444 to **5**8444 in config.yaml. All other internal TCP ports are 8XXX, just like your Windows running the mainnet instance. This will lead to TCP ports conflicts. | the previous step only changed the target network from mainnet to testnet7 and the external port from 8444 to **5**8444 in config.yaml. All other internal TCP ports are 8XXX, just like your Windows running the mainnet instance. This will lead to TCP ports conflicts. | ||
- | To change this, we need to go to the config.yaml file and change all 8xxx ports to 58xxx ports (about 10 occurences) | + | To change this, we need to go to the config.yaml file and change all 8xxx ports to **5**8xxx |
You can do this by | You can do this by | ||
* using '' | * using '' | ||
Line 63: | Line 61: | ||
'' | '' | ||
- | If you get an error, try to retrace the previous steps. Still having issues? Our experts will support you in our [[https:// | + | At this point, if you get an error try to retrace the previous steps. Still having issues? Our experts will support you in our [[https:// |
See if all processes started correctly by using '' | See if all processes started correctly by using '' | ||
Line 70: | Line 68: | ||
add '' | add '' | ||
- | Now you need to wait until you finished synching | + | ====Step 5 - Syncing the testnet blockchain==== |
+ | Now it is time to get up to speed on the testnet blockchain. | ||
+ | There are two ways to sync the testnet blockchain: | ||
+ | * Downloading the db file from the Chia Github (+-12minutes) | ||
+ | * Synchronizing the blockchain through a peer-to-peer network (+-8 hours) | ||
- | In the meantime, try to get your hands on some TXCH (testnet | + | ===Downloading |
+ | - You can download the testnet db file from the [[https://github.com/Chia-Network/ | ||
+ | - Stop all the chia processes with '' | ||
+ | - Check all are gone with '' | ||
+ | - '' | ||
+ | - '' | ||
+ | - copy the downloaded db to '' | ||
- | ==== Using testnet ==== | + | * do it from Windows in the File Explorer using '' |
- | Once you are fully synched, you can start making (pool) plots and interact with testnet. | + | * or do it from WSL, if you downloaded the db in e.g. '' |
+ | |||
+ | When you are done copying, you can restart all the Chia processes by using '' | ||
+ | |||
+ | If the node restarts properly, don't forget to cleanup the database backup | ||
+ | rm ~/ | ||
+ | |||
+ | === Synchronising peer-to-peer=== | ||
+ | For this method you have to do nothing but wait. | ||
+ | Keep tracking your synchronization progress by using command '' | ||
+ | |||
+ | ==== Step 6 - Using testnet ==== | ||
+ | Once you are fully synched, you can start making (pool) plots and interact with testnet. In the meantime, try to get your hands on some TXCH (testnet Chia) by asking your friends. Don’t have friends? No problem, you can always ask us on [[https:// | ||
An community built explorer for testnet can be found here: https:// | An community built explorer for testnet can be found here: https:// | ||
You may join the SpaceFarmer testnet pool by asking in our [[https:// | You may join the SpaceFarmer testnet pool by asking in our [[https:// | ||
- | |||
network/chianetwork/testnet.1631626739.txt.gz · Last modified: 2021/09/14 13:38 by vleesbanaan