Skip to main content
The @zkp2p/contracts-v2/addresses module provides pre-configured contract addresses for all deployed networks.

Import Addresses

Import addresses for specific networks:

Supported Networks

The package includes addresses for the following networks:

Address File Structure

Each network export contains:

Available Contracts

Common contracts available across networks:

Using with ethers.js

Create contract instances with ethers:

Using with viem

Use addresses with viem:

Type Safety

All addresses are typed as 0x${string} for enhanced type safety:

Direct JSON Import

For bundle size optimization, import JSON directly:

Next Steps

ABIs

Learn how to use contract ABIs

Constants

Access protocol constants