@caelum-tech/validator-set

1.0.0 • Public • Published

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.

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

Dependents (1)

Package Sidebar

Install

npm i @caelum-tech/validator-set

Weekly Downloads

0

Version

1.0.0

License

Apache-2.0

Unpacked Size

1.26 MB

Total Files

36

Last publish

Collaborators

  • alexpuig