Skip to content

Latest commit

 

History

History
78 lines (50 loc) · 1.56 KB

File metadata and controls

78 lines (50 loc) · 1.56 KB

Running Node using Ansible (common part)

Prerequisites

Make sure you have all prerequisites set up

Configure DCL network parameters (local machine)

1. Set network chain ID

[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

2. Set other parameters

[deployment/ansible/inventory/group_vars/all.yml]

  company_name: <your-company-name>
  dcl_version: <latest-DCL-version>
  ...

3. Put genesis.json file under specific directory

  • 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