Skip to content

Latest commit

 

History

History
28 lines (14 loc) · 817 Bytes

README.md

File metadata and controls

28 lines (14 loc) · 817 Bytes

Polygon-Edge-Dockerization

Setup

  • Step 1: Initialize data folders for IBFT and generate validator keys

    polygon-edge secrets init --data-dir test-chain-1

    polygon-edge secrets init --data-dir test-chain-2

    polygon-edge secrets init --data-dir test-chain-3

    polygon-edge secrets init --data-dir test-chain-4

  • Step 2: Generate the genesis file with the 4 nodes as validators

    polygon-edge genesis --consensus ibft --ibft-validators-prefix-path test-chain- --bootnode /ip4//tcp/8002/p2p/16Uiu2HAmJxxH1tScDX2rLGSU9exnuvZKNM9SoK3v315azp68DLPW --bootnode /ip4//tcp/8005/p2p/16Uiu2HAmS9Nq4QAaEiogE4ieJFUYsoH28magT7wSvJPpfUGBj3Hq

    Docker compose network commands

    start the network

    docker-compose up
    

    stop the network

    docker-compose down