@caelum-tech/validator-set
v1.0.0
Published
Validator set contract for a Proof-of-Authority Ethereum network
Downloads
13
Readme
caelum-validator-set
Validator set contracts for Caelum networks. Based on the Kovan Validator Set.
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.
There are two concrete contracts available:
OwnedSet
- for direct usage of an owned validator set contractRelayedOwnedSet
- 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