openethereum / kovan-validator-set

Validator set contracts for Kovan network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kovan-validator-set

Build Status Solidity Coverage Status

Validator set contracts for Kovan network.

Description

This repo contains ValidatorSet contract implementations that are owned by an address. The owner of the validator set can manage the set by adding or removing validators.

It also includes a relay set contract (RelaySet) which relays calls to an inner validator set contract and allows upgrading the relayed contract. It exposes an initiateChange method for the relayed contract to trigger an initiate change event in the relay, since the engine will be listening to events from the relay.

relay_set

There are two concrete contracts available:

  • OwnedSet - for direct usage of an owned validator set contract
  • RelayedOwnedSet - meant to be used as the relayed contract of a relay validator set

Getting started

This project uses the Truffle framework. To install the required dependencies run:

yarn install

To run the test suite:

yarn test

About

Validator set contracts for Kovan network.

License:Apache License 2.0


Languages

Language:JavaScript 58.7%Language:Solidity 41.3%