From 49f089ac2cb2e304397775c0c93e9f7aa04d0282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E9=9B=84=E5=91=80?= <47734376+chongqiangchen@users.noreply.github.com> Date: Thu, 9 May 2024 21:03:24 +0800 Subject: [PATCH] Update frontend-quickstart-paymaster.md (#1003) Co-authored-by: Dustin Brickwood --- .../tutorials/dapp-development/frontend-quickstart-paymaster.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/build/tutorials/dapp-development/frontend-quickstart-paymaster.md b/docs/build/tutorials/dapp-development/frontend-quickstart-paymaster.md index ac71c36936..18262b84e0 100644 --- a/docs/build/tutorials/dapp-development/frontend-quickstart-paymaster.md +++ b/docs/build/tutorials/dapp-development/frontend-quickstart-paymaster.md @@ -367,7 +367,7 @@ const getOverrides = async () => { 2. Import `utils` from `zksync-ethers` SDK as we'll need to use some of its methods next: ```javascript -import { Contract, Web3Provider, Provider, utils } from "zksync-ethers"; +import { Contract, BrowserProvider, Provider, utils } from "zksync-ethers"; ``` 3. We need to calculate how many tokens are required to process the transaction. Since the testnet paymaster exchanges any ERC20 token to ETH at a 1:1 rate, the amount is the same as the ETH amount in wei: