[Deployment] Custom signature validation AA deploy error #210
-
EnvironmentTestnet zkSolc Versionlatest zksync-web3 Version0.14.3 Hardhat.config.tsimport { HardhatUserConfig } from "hardhat/config"; import "@matterlabs/hardhat-zksync-node"; const config: HardhatUserConfig = { export default config; Deployment Script (WITHOUT PRIVATE KEY)import { utils, Wallet, Provider } from "zksync-web3"; dotenv.config(); export default async function (hre: HardhatRuntimeEnvironment) { const GASLIMIT = { const factory = await deployer.deploy( console.log( const aaFactory = new ethers.Contract(
console.log("Funding smart contract account with some ETH"); Contract Code// SPDX-License-Identifier: MIT import "@matterlabs/zksync-contracts/l2/system-contracts/interfaces/IAccount.sol"; contract Account is IAccount, PasskeyManager, IR1Validator {
} Does this work on other EVMs? (If yes, please list at least 1 of them)NA Description of What Your Contract DoesSimple AA wallet with passkey implementation and p256 signature validation,
Repo Link (Optional)https://github.com/4NNNN/P256_Account/tree/p256verify_testnet_deployment Additional DetailsRepo Branch - p256verify_testnet_deployment |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
@4NNNN you need to add |
Beta Was this translation helpful? Give feedback.
@4NNNN you need to add
isSystem: true
to your hardhat config. Docs: https://era.zksync.io/docs/reference/concepts/account-abstraction.html#using-the-systemcontractscaller-library.Check the example here at p.6.