Make sure you have all prerequisites set up
[deployment/ansible/inventory/group_vars/all.yml
]
chain_id: <chain-id>
...
Every network must have a unique chain ID (e.g. test-net
, main-net
etc.)
Example for Testnet 2.0 (clickable)
chain_id: testnet-2.0
Example for Mainnet (clickable)
chain_id: main-net
[deployment/ansible/inventory/group_vars/all.yml
]
company_name: <your-company-name>
dcl_version: <latest-DCL-version>
...
-
Get or download
genesis.json
file of a network your node will be joining and put it under the following path:deployment/persistent_chains/<chain-id>/genesis.json
where
<chain-id>
is the chain ID of a network spefied in the previous step.Example for Testnet 2.0 (clickable)
For
testnet-2.0
the genesis file is already in place. So you don't need to do anything!deployment/persistent_chains/testnet-2.0/genesis.json
Example for Mainnet (clickable)
For
main-net
the genesis file is already in place. So you don't need to do anything!deployment/persistent_chains/main-net/genesis.json