Architecture

Protocol Architecture

FOX is a scaling EVM-compatible engine for Ethereum that is built on ZK Rollup architecture. ZK Rollup is an L2 scaling solution in which all funds are held by a smart contract on the mainchain, while the computation and storage are performed off-chain.

Overview

For every Rollup block, a state transition zero-knowledge proof (ZK-FOAKS) is generated and verified by the mainchain contract. This ZK-FOAKS includes proof of the validity of every single transaction in the Rollup block. In addition, every publicized data for each block will be updated over other networks at a much lower cost.

Our architecture provides the following guarantees: The Folder(s) can never corrupt the state or steal funds (unlike side chains). Users can always retrieve the funds from FOX even if the folder(s) stop cooperation because the data is available (unlike Plasma).

There are 3 main parts in the Fox architecture:

  • Sequencer gathers transactions, runs the Geth node, leaves the traces of the execution for Folders, and sends the data to ZK-Ringer, which is deployed on other networks, IPFS, or decentralized storage.

  • Folders use the traces to generate zero-knowledge proofs for every circuit. The folders then send the aggregated proofs as well as the updated states to the L1 Contracts. The Folder is the core of the Fox system.

  • L1 contract holds the funds and state of all users, verifies zero-knowledge proofs while updating the state, and manages users' deposit and withdrawal requests.

The secondary part includes:

  • zk-Ringer - the component between the Geth node and Memo layer. It acquires data from the Geth node and stores them in Memo.

  • Bridge

Last updated