diff --git a/js/src/02_transfer.ts b/js/src/02_transfer.ts index c74789a..4535150 100644 --- a/js/src/02_transfer.ts +++ b/js/src/02_transfer.ts @@ -2,9 +2,8 @@ import { Provider, types, Wallet } from "zksync-ethers"; import { ethers } from "ethers"; const provider = Provider.getDefaultProvider(types.Network.Sepolia); -const ethProvider = ethers.getDefaultProvider("sepolia"); const PRIVATE_KEY = process.env.PRIVATE_KEY; -const wallet = new Wallet(PRIVATE_KEY, provider, ethProvider); +const wallet = new Wallet(PRIVATE_KEY, provider); async function main() { const receiver = "0x81E9D85b65E9CC8618D85A1110e4b1DF63fA30d9";