Skip to content

Contains sample docker-compose file to bootstrap 4 node polygon edge network

Notifications You must be signed in to change notification settings

vineetaparodkar/polygon-edge-dockerization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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
    

About

Contains sample docker-compose file to bootstrap 4 node polygon edge network

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published