Skip to main content
Version: v2.x

Supported Networks

MACI has been tested on the following EVM networks:

  • Optimism
  • Optimism Sepolia
  • Arbitrum
  • Arbitrum Sepolia
  • Base
  • Base Sepolia

We recommend using either Optimism, Arbitrum or Base. Please open an issue/PR if you intend to use other EVM networks and would like to contribute to this record of deployed and verified contracts as well as benchmarks, that would be greatly appreciated.

Limitations

For better UX, MACI clients should be sending votes (messages) in batches. Depending on the number of vote options available, larger batch might be sent. Below you can find the largest batch you can send for each network and how much gas it consumes:

NetworkMax Batch SizeGas usedPrice (based on Ether price at the time ~$2595)
Optimism89281676030.000036061732019822 ETH ($0.09)
Optimism Sepolia89281633310.005651520470449442 ETH ($10.46)
Arbitrum98310175450.00031017545 ETH ($0.80)
Arbitrum Sepolia98311154040.0031115404 ETH ($8.06)
Base89281654670.000591851649982612 ETH ($1.54)
Base Sepolia89281902320.002072926785842714 ETH ($0.000000)

Test yourself

To test MACI on a network, whether it's one of the ones listed above, or a new one, you can use the benchmark hardhat task:

  1. Ensure you have copied .env.example to .env and set the correct values for the network you want to test on.
  2. Configure your deploy-config.json - ensure messageTreeDepth is set to at least 3 (supporting 5 ** 3 votes)
  3. Ensure you have copied the default-deployed-contracts.json to deployed-contracts.json to avoid deploying unnecessary contracts again.
  4. Run the benchmark task: pnpm benchmark:$NETWORK