FiliciaGrind / etherspot-prime-contracts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Etherspot Prime Contracts

NPM version MIT licensed

Installation & Setup

  1. Initalize submodule and update
    git submodule init && git submodule update
  2. Install dependencies
    npm i
  3. Install submodule dependencies and compile
    cd account-abstraction && yarn && npx hardhat compile

Contract Deployments

Prerequisites

Set up your .env file following the example found in .env.example.

Etherspot Wallet Factory deployment

npx hardhat deploy --network <NETWORK_NAME> --tags 'etherspot-wallet-factory'

Etherspot Paymaster deployment

npx hardhat deploy --network <NETWORK_NAME> --tags 'etherspot-paymaster'

Etherspot Wallet Factory & Etherspot Paymaster deployment

npx hardhat deploy --network <NETWORK_NAME> --tags 'required'

Test Suite

npx hardhat test

Solidity Usage

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;

import "@etherspot/prime-contracts/src/wallet/EtherspotWallet.sol";

// ...

License

MIT

About

License:MIT License


Languages

Language:Solidity 63.0%Language:TypeScript 36.9%Language:Makefile 0.0%Language:Nix 0.0%