poa-dapps-voting/README.md

52 lines
1.2 KiB
Markdown
Raw Normal View History

# 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)
## 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)
## 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)
## 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-07-05 15:57:52 -07:00
![](./docs/new_ballot_2.png)
## Configuration file
It is configured with [Oracles network contract](https://github.com/oraclesorg/oracles-contract)
Path: `./assets/javascripts/config.json`
```
{
"environment": "live",
"Ethereum": {
"live": {
"contractAddress": "Oracles_contract_address"
}
}
}
2017-06-15 10:47:27 -07:00
```
## Building from source
1) `npm install`
2) `npm run sass`
3) `npm run coffee`
4) `npm start`