Wanna harvest the full potential of native Account Abstraction on zkSync Era ? Here is your checklist !
- [ ] 📝 Use EIP-1271 signature validation in your smart contract using OpenZeppelin’s SignatureChecker - not directly
ecrecover
.
- [ ] 📝 Use EIP-1271 signature validation in your front-end using Matter Labs’s library - not directly
ecrecover
.
- [ ] 🙅🏼‍♂️Avoid the global variable
tx.origin
as it will block smart accounts and is vulnerable to phishing attacks.
- [ ] đź’Ż(bonus) Implement Argent Login to simplify access to your dApp.
Congratulations your dApp is now compatible with native Account Abstraction in 3 (+1) easy steps and you are on a launchpad 🚀 to provide your users with a 10x better UX in web3 !