c657aa3c37 | ||
---|---|---|
assets | ||
docs | ||
favicons | ||
stub-design | ||
.gitignore | ||
LICENSE | ||
README.md | ||
gulpfile.js | ||
index.html | ||
manifest.json | ||
modules.js | ||
newBallot.html | ||
package-lock.json | ||
package.json |
README.md
Oracles network Governance Dapp
Supported browsers
- Google Chrome v 59.0.3071.115+
MetaMask plugin setup
-
Connect to Oracles network in MetaMask plugin (See Connect to Oracles network via MetaMask)
-
Import your voting key to MetaMask Plugin (See Governance section from wiki).
Governance Dapp lifecycle
Check Governance Dapp section from wiki
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.
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.
New ballot page
Click NEW BALLOT button from any page to create a new ballot.
Settings page
You can return to this page from any page by clicking Settings button. You can choose your voting key here.
Configuration file
It is configured with Oracles network contract
Path: ./assets/javascripts/config.json
{
"environment": "live",
"Ethereum": {
"live": {
"contractAddress": "Oracles_contract_address"
}
}
}
Building from source
-
npm install
-
npm run sass
-
npm run coffee
-
npm start