Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/etherspot/etherspot-prime-contracts


https://github.com/etherspot/etherspot-prime-contracts

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Etherspot Prime Contracts

[![NPM version][npm-image]][npm-url]
![MIT licensed][license-image]

## 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/wallet/EtherspotWallet.sol";

// ...
```

## 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