Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
/ dispute-game Public archive

A prototype of the dispute game in typescript and solidity.

License

Notifications You must be signed in to change notification settings

statechannels/dispute-game

Repository files navigation

Dispute Game

The dispute game involves 2 parties. The parties agree on an initial state but disagree on a final state. Initial and final states are separated by a sequence of transitions. Once initiated, the dispute game forces the participants to narrow the dispute to a single transition. The transition can then be validated by the rules of the system.

The aim is to create a formally verified, generic implementation not tied to a specific virtual machine.

Typescript Prototype

The ts-prototype folder contains a prototype of the:

  • dispute game contract

  • dispute game agent

There is a suite of tests that test the typescript prototype that can be run via yarn test:ts

Solidity Prototype

The solidity prototype implements the dispute manager contract.

There is currently no dispute agent that works with solidity prototype but there is a test suite that can be with the command yarn test:sol

Many more details about the dispute game are described in the design document.

This prototype is inspired by the Arbitrum implementation.

About

A prototype of the dispute game in typescript and solidity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •