Skip to content

Latest commit

 

History

History
57 lines (47 loc) · 1.05 KB

README.md

File metadata and controls

57 lines (47 loc) · 1.05 KB

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.