https://github.com/etherspot/etherspot-prime-contracts
https://github.com/etherspot/etherspot-prime-contracts
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/etherspot/etherspot-prime-contracts
- Owner: etherspot
- License: mit
- Created: 2023-02-06T10:29:12.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-17T12:13:23.000Z (2 months ago)
- Last Synced: 2025-05-07T04:05:45.788Z (about 2 months ago)
- Language: TypeScript
- Size: 14.1 MB
- Stars: 53
- Watchers: 9
- Forks: 15
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Audit: audits/EtherspotWallet/Etherspot prime contracts audit report - taek lee.pdf
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-account-abstraction - Etherspot
README
# Etherspot Prime Contracts
[![NPM version][npm-image]][npm-url]
![MIT licensed][license-image]Smart contract infrastructure for Etherspot Prime, supporting the ERC4337 implementation.
## 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 --tags 'etherspot-wallet-factory'`
### Etherspot Paymaster deployment
`npx hardhat deploy --network --tags 'etherspot-paymaster'`
### Etherspot Wallet Factory & Etherspot Paymaster deployment
`npx hardhat deploy --network --tags 'required'`
### Test Suite
`npx hardhat test`
### Solidity Usage
```solidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;import "@etherspot/prime-contracts/src/etherspot-wallet-v1/wallet/EtherspotWallet.sol";
// ...
```## Documentation
- [ERC4337 Specification](https://eips.ethereum.org/EIPS/eip-4337)
- [Integration Guide](https://docs.etherspot.dev)## License
MIT
[npm-image]: https://badge.fury.io/js/%40etherspot%2Flite-contracts.svg
[npm-url]: https://npmjs.org/package/@etherspot/lite-contracts
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg