7 - How to Use Injected Providers in a React App with ZKsync & Web3.js

Опубликовано: 03 Июнь 2026
на канале: ChainSafe
33
2

Learn how to set up a Next.js application that interacts with the ZKsync network using an injected provider like MetaMask. In this step-by-step tutorial, we’ll connect a wallet, retrieve account balances, and send ETH transactions—all using the power of Web3.js and ZKsync. Follow along with code examples and start building your own decentralized applications today!

Here are the essential links to help you get started:
• Web3.js Plugin for ZKsync: You can find the official plugin repository here: https://github.com/ChainSafe/web3-plu...
• Examples for Using the Plugin: I've also prepared a dedicated repository with all the code examples from this tutorial and more, which you can access here: https://github.com/avkos/example-web3...
• ZKsync Web3.js Documentation: For more detailed information and resources, check out the official documentation here: https://sdk.zksync.io/js/web3js?ref=b...