Add Match Network
Pick a Testnet
You specify the network you want to join by setting the genesis file and seeds. If you need more information about past networks, check our testnets repo.
Testnet Chain ID | Description | Site | Version | Status |
---|---|---|---|---|
match_698-0 | match_698-0 Testnet | todo | todo |
|
Server Timezone Configuration
Make sure your server timezone configuration is UTC. To know what is your current timezone, run the timedatectl
command.
Initialize Node
We need to initialize the node to create all the necessary validator and node configuration files:
By default, the init
command creates your ~/.matchd
(i.e $HOME
) directory with subfolders config/
and data/
. In the config
directory, the most important files for configuration are app.toml
and config.toml
.
Genesis & Seeds
Copy the Genesis File
Check the genesis.json
file from the archive
and copy it over to the config
directory: ~/.matchd/config/genesis.json
. This is a genesis file with the chain-id and genesis accounts balances.
Then verify the correctness of the genesis configuration file:
Add Seed Nodes
Your node needs to know how to find peers. You'll need to add healthy seed nodes to $HOME/.matchd/config/config.toml
. The testnets
repo contains links to some seed nodes.
Edit the file located in ~/.matchd/config/config.toml
and the seeds
to the following:
You can use the following code to get seeds from the repo and add it to your config:
Add Persistent Peers
We can set the persistent_peers
field in ~/.matchd/config/config.toml
to specify peers that your node will maintain persistent connections with. You can retrieve them from the list of available peers on the testnets
repo.
You can get a random 10 entries from the peers.txt
file in the PEERS
variable by running the following command:
Use sed
to include them into the configuration. You can also add them manually:
Run a Testnet Validator
Claim your testnet tMatch on the faucet using your validator account address and submit your validator account address:
TIP
For more details on how to run your validator, follow these instructions.
Start testnet
The final step is to start the nodes. Once enough voting power (+2/3) from the genesis validators is up-and-running, the testnet will start producing blocks.
Last updated