poanetwork / poa-ballot-stats

Read POA voting records and rank voters by how many ballots they missed.
GNU Lesser General Public License v3.0
7 stars 6 forks source link

(Question) What is the format of JSON with the contract addresses #2

Closed igorbarinov closed 6 years ago

igorbarinov commented 6 years ago

Hi @afck , when I run cargo run -- -h there is an option to specify a JSON file with the contract addresses.

OPTIONS:
    -c, --contracts <contracts>    JSON file with the contract addresses
afck commented 6 years ago

It's the contracts.json from the core or sokol branch of: https://github.com/poanetwork/poa-chain-spec/

I don't think we should duplicate those files here, but I'll add some documentation.

afck commented 6 years ago

I added it to the Readme: https://github.com/poanetwork/poa-ballot-stats/commit/c9a7c42b82e2ffa3941886666190e1abf7a6b595