custom-aa-tutorial
custom-aa-tutorial copied to clipboard
A full example for the tutorial on custom AA
Account abstraction tutorial
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.
Installation and compilation
You need Node.js and Yarn.
Install all dependencies with yarn.
Compile contracts with yarn hardhat compile
Deployment and usage
To run the scripts to deploy and execute the contracts, use the zksync-deploy command:
yarn hardhat deploy-zksync --script deploy-factory.ts: deploys the factory contractyarn hardhat deploy-zksync --script deploy-multisig.ts: deploys a multisig wallet and executes a transaction.
Support
Check out the common errors section in the tutorial, open an issue, or contact us on Discord.