Deployment Issue on bridge #82
-
EnvironmentTestnet zkSolc Version0.4.0 zksync-web3 Version0.14.3 Hardhat.config.tsimport { HardhatUserConfig } from "hardhat/config"; import "@matterlabs/hardhat-zksync-deploy"; import "@matterlabs/hardhat-zksync-verify"; import dotenv from "dotenv"; // dynamically changes endpoints for local tests const config: HardhatUserConfig = { export default config; Deployment Script (WITHOUT PRIVATE KEY)import { Wallet, Provider } from "zksync-web3"; // load env file // HTTPS RPC endpoint // Token address // Amount of tokens const WALLET_PRIV_KEY = process.env.WALLET_PRIV_KEY || ""; if (!WALLET_PRIV_KEY) { export default async function (hre: HardhatRuntimeEnvironment) { // Initialize the wallet. const wallet = new Wallet(WALLET_PRIV_KEY, provider); // Create deployer object // Deposit ERC20 tokens to L2 console.log( Contract Codehttps://goerli.etherscan.io/address/0x4341Ff79E0d988D76BfE83CA081624d77f08764E Does this work on other EVMs? (If yes, please list at least 1 of them)https://goerli.etherscan.io/address/0x4341Ff79E0d988D76BfE83CA081624d77f08764E Description of What Your Contract DoesToken Contract Repo Link (Optional)No response Additional DetailsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 5 replies
-
@akyo8 what is the error here? Are you sure that the |
Beta Was this translation helpful? Give feedback.
-
@dutterbutter It would be great if you can give me a brief instruction to let me know how can I update ERC20 token balance in zkWallet. Do I need any specific deployment for it? |
Beta Was this translation helpful? Give feedback.
-
@dutterbutter thanks for your update. here is my quick question. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. So when do you think if it support zkSync era testnet. It is very important for us for launch schedule |
Beta Was this translation helpful? Give feedback.
Hey @akyo8 please refer to the documentation that outlines how to interact with accounts and make L1-L2 transactions.
You need to ensure your wallet has appropriate funds before being able to deploy, send, bridge etc.