Implements Casper FFG (the Friendly Finality Gadget), a Proof-of-Stake finality protocol that can be layered on any block proposal mechanism.
- Implements a Casper FFG smart contract, written in Vyper.
- See this Casper the Friendly Finality Gadget paper by Vitalik Buterin and Virgil Griffith introducing Casper FFG.
- EIP-1011: specification of the Casper the Friendly Finality Gadget (FFG) PoW/PoS consensus model.
For macOS, with brew installed:
brew install pandoc # required for a python dependency brew install leveldb
For all systems:
pip3 install -r requirements.txt
NOTE: pip3 is a version of pip using python version 3. NOTE: we suggest using virtualenv to sandbox your setup.
- VALIDATOR_GUIDE.md: information about implementing a Casper FFG validator.