Skip to main content

ZeroPool Application Overview

Components ‚Äč

The ZeroPool application is comprised of the following components:

  • ZeroPool: The main contract which holds the zero-knowledge state. It's the core solution component. All transactions are sent here.
  • Relayer: An intermediate actor between users and the Pool. The Relayer receives user transactions, calculates zkSNARKs, and sends transactions to the Pool in a serial manner. While users can send transactions directly to the Pool, the collision probability increases (and user transactions can be reverted due to incorrect rollup state), so it makes sense to send to the Relayer.
  • Operator Manager: The contract which manages access to the Pool. It can be used to activate a single relayer for a defined period of time or provide unlimited access to the Pool. It also checks that the fee receiver and relayer are separate entities.
  • Application: The solution front-end and UI. All transactions are initiated here. The application synchronises a user account with the rollup, and helps to create transactions.