DApp for a list of validators with metadata for POA Network (Core/Sokol). Validators can update metadata using DApp.
Branch: core
Clone or download
varasev Merge pull request #103 from poanetwork/feature/#87-new-style-for-xda…
…i-network

(Feature) New style for xDai network
Latest commit 90b3c7e Jan 30, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
build_scripts eslint + prettier configuration Jul 11, 2018
config (refactor) file and folders' structure / scaffolding - (fix) eslint +… Jan 7, 2019
documents Updated screenshot for StateOfTheDapps Aug 27, 2018
public (fix) make possible to search by full name Jan 17, 2019
scripts Replace vulnerable dependencies Dec 12, 2018
src
.editorconfig [chore] Add .editorconfig Jul 3, 2018
.eslintrc.json (refactor) file and folders' structure / scaffolding - (fix) eslint +… Jan 7, 2019
.gitignore add error message if metamask wasnot found Dec 12, 2017
.nvmrc eslint + prettier configuration Jul 11, 2018
.prettierignore (refactor) file and folders' structure / scaffolding - (fix) eslint +… Jan 7, 2019
.prettierrc eslint + prettier configuration Jul 11, 2018
LICENSE Create LICENSE Feb 14, 2018
README.md Update README.md Jan 28, 2019
package-lock.json
package.json (remove) unused files - (add) base components: header, footer, menu, … Jan 7, 2019

README.md

POA Network Validators DApp

Validators DApp is built for POA Network based blockchains. It gives an opportunity for the current validators of the network to set their personal information on-chain. Also, everyone can view current validators' personal data from this DApp.

Base supported networks

  • Core POA network (RPC endpoint: https://core.poa.network)
  • xDai chain (RPC endpoint: https://dai.poa.network)
  • Sokol testnet (RPC endpoint: https://sokol.poa.network)

Supported browsers

  • Google Chrome v 59.0.3071.115+

MetaMask/Nifty Wallet extensions setup

Validators DApp is based on POA Network Governance contracts

Validator role

Set metadata

If you are a new validator of the POA Network and your validator node is successfully launched, you should fill your personal data. To do it you need:

  • connect to the corresponding endpoint of POA Network in Metamask
  • select your voting key from accounts in Metamask
  • click SET METADATA in the navigation bar
  • fill all fields in the form of a new validator
  • click + SET METADATA button
  • confirm transaction in Metamask.

That's it. After DApp will get a receipt for the transaction you'll see a success message and your personal data will be added to the list of validators.

If you need to change already submitted data you need to repeat previous instruction with the only difference your changes will be applied after two confirmations from other validators.

Confirm and finalize change in metadata

If you are an active validator of POA Network you have an ability to confirm pending changes of personal information from other validators. To do it you need:

  • connect to the corresponding endpoint of POA Network in Metamask
  • select your voting key from accounts in Metamask
  • click PENDING CHANGES in the navigation bar. You'll see all pending changes
  • find pending changes card
  • click Confirm button

If you see Finalize button, then 2 confirmations are already submitted and you or any other validator might click it to apply changes of validator's personal data.

Building from source

  1. npm i

  2. npm start