Skip to content

vegaprotocol/wendy

Repository files navigation

w

The good little fairness widget

Build Go Reference Tag License: MIT

Wendy acts as an additional widget for an existing blockchain, and is largely agnostic to the underlying blockchain and its security assumptions. Furthermore, it is possible to apply it to the protocol only for a subset of the transactions, and thus run several independent fair markets on the same chain. We have implemented Wendy to run on a simulator to get first performance estimates. As Wendy runs parallel to the actual blockchain, the core impact it has (apart from adding some network traffic) is that some transactions are put into a later block than they would be without fairness.

This repository contains a simulation of Wendy, a protocol for implementing different concepts of fairness. This implementation is not close to production ready, but it does demonstrate how Wendy impacts performance given various parameters.

Research paper

Dr Klaus Kursawe's original research paper is available on IACR or on the Vega website. Or you can watch him talk through the paper on YouTube:

Wendy, the good little fairness widget

Tendermint

We are currently working on a Wendy implementation for Tendermint. Wendy is implemented as a mempool replacement.

Notes

The initial Wendy implementation can be found under v0.0.1 tag.