Skip to content
Home » News » Adding ZkSync Era to MetaMask Manually for Seamless Integration

Adding ZkSync Era to MetaMask Manually for Seamless Integration

    Quick Facts
    Content
    FAQ

    Quick Facts

    Here are the 10 quick facts about how to add ZkSync Era to MetaMask manually:

    • Method 1: Adding ZkSync Era via the MetaMask Browser Extension: Open the MetaMask browser extension, click on the three dots in the top-right corner, and select “Account Settings”. Then, scroll down to the “Networks” section, click on “Add Network”, and enter the ZkSync Era contract address (`0x9f2FddAa5EbDCeAcA38a29B41c53Bf38E6Cc50f6`) and chain ID (`100`).
    • ZkSync Era does not have a predefined faucet; you’ll need to use a third-party faucet: You can use a faucet like zksync.io to request testnet ZkSync Era tokens.
    • Make sure you have ZkSync Era testnet tokens in your MetaMask account: You can request tokens from a faucet or borrow some from a friend to use for testing.
    • Switch to the ZkSync Era testnet: Open MetaMask, click on the network drop-down menu, and select “Add to Watched Accounts”. Then, copy the ZkSync Era testnet RPC URL (`https://zksync-testnet.zkanywhere.io`) and chain ID (`100`).
    • Set up your ZkSync Era account: Open MetaMask, click on the account drop-down menu, and select “Create Account”. Follow the prompts to create a new account.
    • You’ll need to set the correct gas price for ZkSync Era: Set the gas price to `0.1` in your MetaMask account settings.
    • ZkSync Era has specific settings for the ZkRollupGasStrategy: Set the `ZkSyncGasPrice` to `0.1` in your MetaMask account settings.
    • You’ll need to set the correct chain ID for ZkSync Era: Set the chain ID to `100` in your MetaMask account settings.
    • ZkSync Era uses a different GasToken contract address: The GasToken contract address is `0x0000000000000000000000000000000000000000`, so make sure to update this in your MetaMask account settings.
    • It’s recommended to set the “Confirm Transactions” toggle to ON in MetaMask settings: This will ensure you approve transactions before they’re sent on your behalf.

    Adding zkSync Era to MetaMask Manually: A Step-by-Step Guide

    As a trader, staying up-to-date with the latest developments in blockchain technology is crucial for success. One such development is the zkSync Era, a layer 2 scaling solution that enables faster and more secure transactions on the Ethereum network. In this article, we will explore how to add zkSync Era to MetaMask manually, a popular digital wallet used for interacting with decentralized applications (dApps).

    What is zkSync Era?

    zkSync Era is a zero-knowledge (zk) rollup solution that aggregates multiple transactions into a single transaction, reducing the load on the Ethereum network and increasing transaction throughput. This results in lower gas fees and faster transaction processing times. To take advantage of these benefits, you need to add the zkSync Era network to your MetaMask wallet.

    Preparing Your MetaMask Wallet

    Before adding the zkSync Era network, ensure that your MetaMask wallet is set up and configured correctly. This includes having a funded Ethereum account and being familiar with the MetaMask interface. If you’re new to MetaMask, we recommend checking out our MetaMask tutorial to get started.

    Adding the zkSync Era Network

    To add the zkSync Era network to your MetaMask wallet, follow these steps:

    1. Open your MetaMask wallet and click on the “Add Network” button.
    2. Enter the following details:
      • Network Name: zkSync Era
      • RPC URL: https://zk-sync era.io
      • Chain ID: 280
      • Currency Symbol: ETH
    3. Click “Save” to add the network to your MetaMask wallet.
    Network Detail Value
    Network Name zkSync Era
    RPC URL https://zk-sync era.io
    Chain ID 280
    Currency Symbol ETH

    Tips for Using zkSync Era with MetaMask

    When using zkSync Era with MetaMask, keep the following tips in mind:

    • Funding your wallet: Make sure to fund your MetaMask wallet with enough ETH to cover transaction fees.
    • Transaction limits: Be aware of the transaction limits set by the zkSync Era network to avoid any issues.
    • Network congestion: Monitor the Ethereum network for congestion, as this can affect transaction processing times on the zkSync Era network.

    Here are some benefits of using zkSync Era with MetaMask:

    • Lower gas fees
    • Faster transaction processing times
    • Increased transaction throughput

    Common Issues and Troubleshooting

    When adding the zkSync Era network to your MetaMask wallet, you may encounter some common issues. The following list summarizes some troubleshooting steps:

    • Invalid network details: Double-check that you have entered the correct network details, including the RPC URL and Chain ID.
    • Network connectivity issues: Check your internet connection and ensure that you can connect to the zkSync Era network.
    • Wallet configuration issues: Verify that your MetaMask wallet is configured correctly and that you have the necessary permissions to add new networks.
    Error Message Solution
    “Invalid network details” Double-check network details and retry
    “Network connectivity issues” Check internet connection and retry
    “Wallet configuration issues” Verify wallet configuration and permissions

    Frequently Asked Questions:

    ZkSync Era FAQ: Adding ZkSync Era to MetaMask Manually

    Q: What is ZkSync Era?

    ZkSync Era is a scalable and secure layer 2 solution built on top of Zcash. It allows for fast and low-cost transactions by processing off-chain and then settling on-chain.

    Q: Why do I need to add ZkSync Era to MetaMask manually?

    ZkSync Era is a custom EIP-3095 network, and as such, it’s not automatically detected by MetaMask. To interact with ZkSync Era, you need to add the custom network manually.

    Q: How do I add ZkSync Era to MetaMask manually?

    1. Open MetaMask and click on the hamburger menu () in the top right corner.

    2. Select “Settings” from the dropdown menu.

    3. Scroll down to the “Networks” tab.

    4. Click the “Add network” button.

    5. Enter the following information:

      • Network name: ZkSync Era
      • New RPC URL: https://eraga.zksync.io/
      • Chain ID: 254
      • Coin type: ERC-20 (or EIP-3095)
      • Icon: You can upload a custom icon or use the default icon provided.

    6. Click “Save” to add the network.

    7. You should now be able to see ZkSync Era listed as one of your available networks in MetaMask.

    Q: What are some common issues I might encounter during the setup process?

    Some common issues you might encounter include:

    • Error messages when adding the network: Make sure you’ve entered the correct information and try again.
    • Network not recognized: Ensure that you’ve added the network correctly and that MetaMask is updated to the latest version.
    • Compatibility issues with other extensions: Close other extensions and try adding the network again.

    Q: How do I switch between ZkSync Era and other networks in MetaMask?

    To switch between networks, follow these steps:

    1. Open MetaMask and click on the network dropdown menu.

    2. Choose the network you want to switch to from the list.

    3. Click “Request” to start using the selected network.

    Q: What if I encounter any issues while using ZkSync Era with MetaMask?

    If you encounter any issues while using ZkSync Era with MetaMask, please reach out to the MetaMask support team or ZkSync Era’s community support for assistance. You can also refer to the official documentation and tutorials for more information on using MetaMask with ZkSync Era.