Skip to content

Fee Structure

ZeroLedger implements a comprehensive fee system designed to:

  • Cover protocol maintenance costs
  • Fund protocol research and development
  • Enable gasless transactions & invoice automation through paymasters
  • Maintain sustainable protocol economics

Fee Types

Protocol Fees

ZeroLedger's protocol fees support the ZeroLedger Treasury, which funds:

  • Protocol Research: Ongoing research into zero-knowledge proofs and privacy technologies
  • Development: Core protocol development and feature implementation
  • Integration Sponsorship: Supporting third-party integrations and ecosystem development
  • Security Audits: Regular security audits and vulnerability assessments
  • Community Programs: Developer grants, hackathons, and community initiatives

Deposit and Withdrawal Fees are percentage-based from transferred amount. Spend Fee is a fixed constant value per transaction.
Initially all fees a set to 0.

Paymaster Fees

Native Fee Support

ZeroLedger provides native fee support through dedicated parameters:

Deposit & Withdraw Operations

  • Fee Parameter: fee parameter specifies the protocol fee amount
  • Fee Recipient: feeRecipient parameter designates the fee recipient address

Spend Operations

  • Public Outputs: Fees are included as public outputs in the zero-knowledge proof
  • Transparent Fees: Fee amounts are visible on-chain for transparency and flexible integration
  • Flexible Recipients: Different fee recipients for different operations
  • Batch Support: First operation can pay fees for all operations in a batch

Permissionless Paymasters

Anyone can become a paymaster - the system is completely permissionless. Protocol natively supports gasless transactions via meta-transactions for applications that want to work with EOA wallets. Applications supports only smart contract wallets or eip7702 delegation can integrate transaction sponsoring natively.

Paymaster Benefits

  • Revenue Generation: Earn fees from sponsored transactions
  • User Acquisition: Attract users with gasless transaction options
  • Business Models: Various business models for different use cases
  • Ecosystem Growth: Contribute to ZeroLedger ecosystem development