Step 1: Installing dependencies & Generating Keys

Installing required packages and tools on the server with the sharder keys.

These steps will set up an environment by installing dependent tools and packages like qq, unzip, dnsutils, docker & docker-compose.

Run the following command in your home folder:

wget -N https://raw.githubusercontent.com/0chain/zcnwebappscripts/as-deploy/0chain/sharder_init_setup.sh ; bash sharder_init_setup.sh

The above command will download and execute a script which will:-

  • Prompt you to enter url. Please input your domain(as asked in pre-requisites).

    • url : Your domain, eg: test.example.com

  • Generate nodes.yaml, operational_wallet key and initial_states config and place them within /var/0chain directory of your server.

Last updated