[Deployment] Deploy contract onto zkSync with Viem #425
Replies: 3 comments 10 replies
-
Hi @spatializes, yes, you can use viem to interact seamlessly with smart contracts deployed on zkSync. Have you seen this guide? |
Beta Was this translation helpful? Give feedback.
5 replies
-
Duplicate of #433 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment
Mainnet
zkSolc Version
n/a
zksync-web3 Version
n/a
Hardhat.config.ts
Deployment Script (WITHOUT PRIVATE KEY)
Package.json
n/a
Contract Code
Does this work on other EVMs? (If yes, please list at least 1 of them)
Yes, Ethereum mainnet, Arbitrum One, Optimism, Avalanche, Polygon, Metis, Celo, Inco, fEVM, etc
Description of What Your Contract Does
Just an ERC20 example
Repo Link (Optional)
No response
Additional Details
Our dapp is currently running on 10+ evms, where users can deploy contacts through the dapp. We're using viem and wagmi, with the code above. Does zksync support deploys using viem in the same way? Is there something else I should be doing? I'm getting crazy gas estimates ($300) and failures (Internal JSON-RPC error) even if we try to deploy with the high estimate.
Beta Was this translation helpful? Give feedback.
All reactions