Code for the "Account abstraction" tutorial from the zkSync v2 documentation.
You can find a full step-by-step guide to build this project in this article.
You need Node.js and Yarn.
Install all dependencies with yarn
.
Compile contracts with yarn hardhat compile
To run the scripts to deploy and execute the contracts, use the zksync-deploy
command:
yarn hardhat deploy-zksync --script deploy-deployAll.ts
: deploys the factory contractyarn hardhat deploy-zksync --script deploy-deployAll.ts
: deploys a multisig wallet and executes a transaction.
Check out the common errors section in the tutorial, open an issue, or contact us on Discord.