- Initalize submodule and update
git submodule init && git submodule update
- Install dependencies
npm i
- Install submodule dependencies and compile
cd account-abstraction && yarn && npx hardhat compile
Set up your .env
file following the example found in .env.example
.
npx hardhat deploy --network <NETWORK_NAME> --tags 'etherspot-wallet-factory'
npx hardhat deploy --network <NETWORK_NAME> --tags 'etherspot-paymaster'
npx hardhat deploy --network <NETWORK_NAME> --tags 'required'
npx hardhat test
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
import "@etherspot/prime-contracts/src/wallet/EtherspotWallet.sol";
// ...
MIT