Home

Awesome

Etherspot Prime Contracts

NPM version MIT licensed

Installation & Setup

npm run setup

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