Skip to content

polynetwork/ont-voter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ont-voter

side voter for polynetwork.

Build

git clone https://github.com/polynetwork/side-voter
cd side-voter
make clean && make

Build binary with docker

git clone https://github.com/polynetwork/side-voter.git
cd side-voter
make build

Run

Before running, you need feed the configuration file config.json.

{
    "PolyConfig": {
        "RestURL": "http://seed1.poly.network:20336",
        "WalletFile": "poly.node.dat"
    },
    "BoltDbPath": "db",
    "WhitelistMethods": [
        "add",
        "remove",
        "swap",
        "unlock",
        "addExtension",
        "removeExtension",
        "registerAsset",
        "onCrossTransfer"
    ],
    "SideConfig": {
        "SideChainId": 19,
        "ECCMContractAddress": "0x7ceA671DABFBa880aF6723bDdd6B9f4caA15C87B",
        "RestURL": [
            "https://kovan.optimism.io"
        ]
    }
}

Now, you can start voter as follow:

./side_voter -conf config.json 

It will generate logs under ./Log and check relayer status by view log file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •