This is examples for zkSync 2.0, hello greetings
example.
For this tutorial, the following programs must be installed:
yarn
package manager. npm examples will be added soon.Docker
for compilation.- A wallet with some
Görli
ETH on L1 (Görli USDC is also required for the ERC-20 tutorial) to pay for bridging funds to zkSync as well as deploying smart contracts. (get Gorli test eth - https://goerlifaucet.com/)
In this example, you need to change 2 points:
-
fill in your private key (ethereum wallet), caution: use the test wallet, not your major wallet. <File: deploy/deploy.ts>
-
fill in the deployed smart contract address. <File: src/App.vue>
yarn
yarn hardhat compile
yarn hardhat deploy-zksync
yarn serve