/cannon

On chain interactive fault prover for Ethereum

Primary LanguageSolidityMIT LicenseMIT

cannon


Cannon has moved to the Optimism monorepo!

This repository is an archive of the following Cannon versions:

  • v0.1.0: the original Cannon, implemented by geohot.
  • v0.2.0: improved Cannon, with bugfixes and experimental demos.
  • v0.3.0: refactored proof-format, initial Optimism Bedrock support.

About

Cannon (cannon cannon cannon) is an onchain MIPS instruction emulator. Cannon supports EVM-equivalent fault proofs by enabling Geth to run onchain, one instruction at a time, as part of an interactive dispute game.

  • It's Go code
  • ...that runs an EVM
  • ...emulating a MIPS machine
  • ...running compiled Go code
  • ...that runs an EVM

License

MIT, see LICENSE file.

Note: the code in this archived repository is unaudited. In NO WAY should it be used to secure any monetary value before testing and auditing. This is experimental software, and should be treated as such. The authors of this project make no guarantees of security of ANY KIND.