How to Add zkSync to MetaMask?

9 Jun, 2024 · 11 min read

In the fast-evolving world of blockchain technology, zkSync is emerging as a promising solution for addressing the scalability challenges of Ethereum. zkSync is a Layer 2 scaling solution that leverages zero-knowledge rollup technology to provide faster and cheaper transactions while maintaining Ethereum’s security and decentralization. Connecting zkSync to MetaMask, a popular Ethereum wallet, allows users to interact seamlessly with decentralized applications (dApps) on this layer-2 network. The integration of zkSync into MetaMask is a decisive step towards being able to interact with the network. In this guide, we’ll walk you through the steps to seamlessly integrate zkSync into your MetaMask wallet.

ZKSYNC NETWORK INFORMATION
  • Network Name: zkSync Era Mainnet

  • RPC URL: https://mainnet.era.zksync.io

  • Chain ID: 324

  • Currency Symbol: ETH

  • Block Explorer URL (Optional): https://explorer.zksync.io/

How to Add zkSync to MetaMask

In the rapidly expanding universe of cryptocurrencies, the integration of different blockchain networks with your digital wallet is not just a convenience, it’s a necessity. Here is how to add zkSync to your MetaMask wallet, covering both automatic and manual methods, as well as the process for mobile users.

Adding zkSync to MetaMask can be done automatically using the official zkSync documentation. This method simplifies the process significantly:

1. zkSync docs: Go to zkSync docs. You’ll find the “Add zkSync Era Mainnet” button, which includes a MetaMask icon.

zkSync To MetaMask

2. Approve connection: Clicking this will prompt a MetaMask notification asking for permission to add the zkSync Network. Confirm the action.

zkSync To MetaMask

3. Switch the network: MetaMask will automatically fill in all the necessary network details. You can now switch the network.

zkSync To MetaMask

If you prefer a manual approach or encounter issues with the automatic method, adding zkSync to MetaMask is straightforward. Follow these steps:

1. Open MetaMask: Click on the MetaMask extension in your browser.

2. Open menu: At the top of the app, you will see the current network (usually Ethereum Mainnet by default). Click on it to open the menu and select “Add Network”.

BSC-manuell

3. Select Network: Search for zkSync Era Mainnet on the list and click “Add”. Check the network details on the screen and click “Approve”.

zkSync To MetaMask

Alternative: Instead of adding zkSync from the list you can also click on “Add a network manually” at the bottom of the page. Proceed as follows:

4. Enter Network Details: In the new screen, enter the zkSync network details as follows:

  • Network Name: zkSync Era Mainnet
  • RPC URL: https://mainnet.era.zksync.io
  • Chain ID: 324
  • Currency Symbol: ETH
  • Block Explorer URL (Optional): https://explorer.zksync.io/

zkSync To MetaMask

5. Save and Use: Click “Save” to add the network.

Adding zkSync to the MetaMask mobile app involves a similar process to the desktop version:

1. Open MetaMask App: Launch the MetaMask app on your mobile device.

2. Open menu: Tap on the network dropdown menu at the top of your screen and select “add network”.

3. Select Network: Search for zkSync Era Mainnet on the list and click “Add”. Check the network details on the screen and click “Approve”.

Alternative: Instead of adding zkSync from the list you can also click on “custom networks”. Proceed as follows:

4. Enter Network Details: In the new screen, enter the zkSync details as follows:

  • Network Name: zkSync Era Mainnet
  • RPC URL: https://mainnet.era.zksync.io
  • Chain ID: 324
  • Currency Symbol: ETH
  • Block Explorer URL (Optional): https://explorer.zksync.io/

5. Add and Switch: Add the network.

For developers or users interested in testing, adding an zkSync Testnet to MetaMask is beneficial. Be aware that several testnet options can be available.

1. Open MetaMask and Add Network: Follow the initial steps as described in the manual addition of zkSync.

2. Details for the zkSync Testnet (Sepolia):

  • Network name: zkSync Era Sepolia Testnet
  • RPC URL: https://sepolia.era.zksync.dev
  • Chain ID: 300
  • Currency symbol: ETH
  • Block explorer URL: https://sepolia.explorer.zksync.io/

3. Save and Switch: Save the settings to add the zkSync Testnet to your MetaMask.

In order for the tokens to be visible in the MetaMask, they must first be added. zkSync tokens are the equivalent of native ERC-20 tokens on Ethereum and represent a variety of assets and utilities within the zkSync ecosystem. Here’s how you can import zkSync tokens into your MetaMask wallet:

1. Access Your Wallet: Open MetaMask and ensure you’re on the zkSync network.

2. Find Token Contract Address: Locate the contract address of the zkSync token you want to add. This can usually be found on the project’s website or in the zkSync Block Explorer.

3. Add Token in MetaMask: Click on “Import tokens” at the bottom of the main MetaMask screen.

zkSync To MetaMask

4. Enter Token Details: Paste the token’s contract address into the “Token contract address” field. The other fields should automatically fill in.

5. Complete the Addition: Click “Next” and “Import”. The zkSync token will now appear in your wallet.

Alternative: Visit Coinmarketcap or Coingecko and find the token you want to add. Click on the MetaMask icon and the token will be added to your Wallet. You can also copy the contract address and proceed as described above.

ALL IN ONE
Track all your DeFi activities with CoinTracking!

Keep an eye on your zkSync activities. Track transactions, manage your portfolio, calculate taxes.

Why use the zkSync Network?

zkSync has gained attention for its innovative approach to Ethereum scaling. Here are some key reasons to consider using the zkSync network:

  1. Scalability and Speed: zkSync can handle thousands of transactions per second, significantly improving throughput compared to Ethereum’s mainnet. Transactions on zkSync are confirmed almost instantly, enabling quick and responsive interactions with decentralized applications.
  2. Low Transaction Fees: zkSync reduces gas costs by aggregating transactions and submitting them to Ethereum as a single proof, resulting in significantly lower fees for users.
  3. Security: zkSync inherits the security of the Ethereum blockchain using zero-knowledge proofs to validate transactions, ensuring that only valid transactions are recorded.
  4. User-Friendly: zkSync’s architecture allows users to interact with the network in a way that feels similar to using the Ethereum mainnet, with familiar tools like MetaMask. With easy onboarding tools like the zkSync bridge, users can transfer funds and start using the network quickly.
  5. Growing Ecosystem: More decentralized applications and DeFi protocols are integrating zkSync, providing users with a growing ecosystem to explore. zkSync offers robust tools and documentation to help developers build scalable applications, fostering an active and innovative community.

Jump Start for MetaMask CHANGE

Ensure your MetaMask wallet is set up to add the zkSync network. If you haven’t installed MetaMask yet, follow these steps to do so.

Before adding the zkSync network to your wallet, the first step is to install MetaMask. MetaMask is a popular Ethereum wallet that can be used as a browser extension or a mobile app, providing an easy and secure way to interact with the Ethereum blockchain and its Layer 2 solutions, like zkSync. Here’s how you can install MetaMask:

1. Download MetaMask: Visit the official MetaMask website (metamask.io) and download the MetaMask extension for your preferred browser (Chrome, Firefox, Edge, Brave or Opera). Install and follow the prompts to add the MetaMask extension to your browser.

1-install-metamask

2. Create a Wallet: After installation, open the MetaMask extension and select “Create a Wallet”. Follow the instructions to set up your wallet.

2-install-metamask

3. Create password: Create a secure password. Password managers can help you to create unique and secure passwords.

3-install-metamask

4. Secure Your Wallet: Write down your recovery phrase and store it in a secure location. This phrase is essential for recovering your wallet if you forget your password or change devices.

4-install-metamask

5. Confirm recovery phrase: Finish the setup process by filling in the missing words.

5-install-metamask

6-install-metamask

Info: If your device gets damaged or lost, you won’t be able to access your funds without the recovery phrase. Remember, to store your secret recovery phrase safely and never disclose it to anyone.

After successfully adding zkSync to your MetaMask wallet, the next step is to fund your account to start interacting with the zkSync ecosystem. The zkSync Portal Bridge is a secure and user-friendly way to transfer assets between Ethereum and the zkSync network. Here’s how to use it:

1. Connect MetaMask: Open the zkSync Bridge Website and connect your MetaMask Wallet.

zkSync bridge

2. Select network: Select the network you want to transfer the funds from to zkSync.

3. Select Assets: Select the token and enter the amount you want to transfer to zkSync. Common choices include ETH, but other ERC-20 tokens compatible with the zkSync network can also be selected.

4. Transfer funds: Check the details and click “continue”. This step will prompt a transaction in MetaMask, requiring your confirmation. Be mindful of Ethereum gas fees at this stage, as they apply when transacting on the mainnet.

Info: In order to transfer funds to zkSync, you must have the native currency (ETH in this case) available in your MetaMask wallet. If you don’t currently have any ETH in your wallet, you’ll first need to transfer some to your MetaMask wallet from an Exchange or another wallet.

5. Receive funds: Wait for the network to process your transaction. Once confirmed, You should see your transferred funds available in your wallet on the zkSync network.

FAQ about adding
zkSync to MetaMask

How to add zkSync to MetaMask?2024-06-08T08:52:34+01:00

To manually add zkSync to MetaMask, open the MetaMask extension, click on the Network dropdown menu and select “Add Network”. Enter the network details for zkSync, including Network name, RPC URL, Chain ID, Currency, and block explorer.

How to add zkSync to MetaMask automatically?2024-06-08T08:51:31+01:00

You can add zkSync to MetaMask automatically by visiting the official zkSync documentation website and clicking on the “Add zkSync Era Mainnet” button. This will prompt MetaMask to add the network with pre-filled details.

How to add zkSync to MetaMask mobile?2024-06-08T08:50:50+01:00

On the MetaMask mobile app, go to the dropdown menu and select “Add Network”. Choose zkSync from the list or go to “custom networks” and enter the same zkSync network details as for the desktop version.

Does MetaMask Accept the zkSync Network?2024-06-08T08:50:03+01:00

Yes, MetaMask does accept the zkSync network. Users can manually add both the mainnet and testnet versions of zkSync to their MetaMask wallet.

What Is the Chain ID for the zkSync Network?2024-06-08T08:49:26+01:00

The Chain ID for the zkSync mainnet is 324. This unique identifier is used to distinguish the zkSync network from other networks in MetaMask.

What Is the RPC URL for the zkSync Network?2024-06-08T08:48:30+01:00

The RPC URL for the zkSync mainnet is https://mainnet.era.zksync.io. This URL may be updated, so it’s advisable to check the latest official zkSync resources.

How Do I Access the zkSync Network?2024-06-08T08:47:37+01:00

Access zkSync by adding it as a network in your MetaMask wallet. Once added, you can switch to it from the network dropdown in MetaMask.

Conclusion

Integrating zkSync with MetaMask opens up a world of possibilities for users who wish to experience the benefits of Ethereum’s Layer 2 scaling solutions. By adding zkSync to MetaMask, you can access a fast, scalable, and low-cost network while maintaining the robust security of the Ethereum mainnet. Due to the multitude of applications and operations, effective management and tracking of crypto assets is crucial. CoinTracking offers a comprehensive solution that covers everything from portfolio management to tax calculation.

https://docs.zksync.io/
https://zksync.io/

Share this

Luis Schilli: SEO Manager
Autor
Luis
Content Manager & Crypto Blogger
Crypto trader and blockchain enthusiast with a passion for innovative technologies in the cryptocurrency market.
Crypto trader and blockchain enthusiast with a passion for innovative technologies in the cryptocurrency market.

Related
Articles

Check out what's new and exciting

The world of cryptocurrencies is constantly changing – keep up with CoinTracking and get informed!

Go to Top