ZKsync Era RPC

Step-by-step guide to connect your wallet to ZKsync Era mainnet and testnet.

Add ZKsync Era to your MetaMask wallet

You can add ZKsync Era to your MetaMask wallet using the buttons below:

If you are using a different in-browser wallet, the buttons above may also work for them.

Manually add ZKsync Era

To manually add ZKsync Era as a custom network in your wallet, follow these steps:

  1. Find the “Add Network” option in your wallet (in MetaMask, you can find this in the networks dropdown).
  2. Click on “Add Network" and "Add network manually".
  3. Fill in the following details for the ZKsync Era network environments:

Network details

PropertyValue
Network Name
ZKsync Era Mainnet
RPC URL
https://mainnet.era.zksync.io
WebSocket URL
wss://mainnet.era.zksync.io/ws
Chain ID
324
Currency Symbol
ETH
Block Explorer URL
Explorer Verification API
https://zksync2-mainnet-explorer.zksync.io/contract_verification
PropertyValue
Network Name
ZKsync Era Sepolia
RPC URL
https://sepolia.era.zksync.dev
WebSocket URL
wss://sepolia.era.zksync.dev/ws
Chain ID
300
Currency Symbol
ETH
Block Explorer URL
Explorer Verification API
https://explorer.sepolia.era.zksync.dev/contract_verification

Get testnet funds for your wallet

Once you have your wallet connected to a ZKsync Era environment, you can get testnet funds from one of many testnet faucets to use with deploying your first smart contract.


Made with ❤️ by the ZKsync Community