Skip to content

Latest commit

 

History

History
55 lines (47 loc) · 2.49 KB

README.md

File metadata and controls

55 lines (47 loc) · 2.49 KB

ToDo

  • Add the ability to delegate stake on behalf of a validator
  • Add the ability to slash a given validators restake given a challenge
  • Remove the need to register validator collateral (Or make it optional)

Universal Registry Contract

The URC is a universal contract for…

  • anyone to register for proposer commitments
  • anyone to slash proposers that break commitments

it should…

  • be governance-free and immutable
  • be simple and maximally expressive
  • use ETH as collateral
  • not rely on any external contracts
  • minimize switching costs
  • be gas-efficient
  • be open-source

Usage

The URC is written using Foundry. To install:

curl -L https://foundry.paradigm.xyz | bash

To run the tests:

forge build
forge test

Design

See the docs for more information.

References