2017-06-14 05:04:12 -07:00
# Oracles network Voting Dapp
## Initial page (Settings)
Choose your voting key from the list to continue. You can return to this page from any page by clicking **Settings** button.
2017-07-05 15:57:52 -07:00
![](./docs/settings.png)
2017-06-14 05:04:12 -07:00
## Ballots page
You'll see the page with the list of all ballots. Here you can switch to see only your **UNANSWERED** or **EXPIRED** ballots.
**Search** by ballots' data is available too.
Single ballot page is opened by clicking **VOTE NOW** button.
2017-07-05 15:57:52 -07:00
![](./docs/ballots.png)
2017-06-14 05:04:12 -07:00
## Single ballot page
Here you can vote for or against notary. If total number of votes > 3, notary will be added or deleted from the network depending on votes majority after voting will be finished.
2017-07-05 15:57:52 -07:00
![](./docs/ballot.png)
2017-06-14 05:04:12 -07:00
## New ballot page
Click **NEW BALLOT** button from any page to create a new ballot.
2017-07-05 15:57:52 -07:00
![](./docs/new_ballot_1.png)
2017-06-20 13:20:01 -07:00
2017-07-05 15:57:52 -07:00
![](./docs/new_ballot_2.png)
2017-06-14 05:04:12 -07:00
## Configuration file
2017-06-14 07:18:33 -07:00
It is configured with [Oracles network contract ](https://github.com/oraclesorg/oracles-contract )
Path: `./assets/javascripts/config.json`
2017-06-14 05:04:12 -07:00
```
{
"environment": "live",
"Ethereum": {
"live": {
"contractAddress": "Oracles_contract_address"
}
}
}
2017-06-15 10:47:27 -07:00
```
2017-06-28 09:27:53 -07:00
## Building from source
1) `npm install`
2) `npm run sass`
3) `npm run coffee`
4) `npm start`