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

https://github.com/giveth/collector-contract

A simple contract that collects ETH and tokens.
https://github.com/giveth/collector-contract

Last synced: 10 months ago
JSON representation

A simple contract that collects ETH and tokens.

Awesome Lists containing this project

README

          

# Contracts Template

## Setting up

You may create a `.env` file in the project root by copying `.env.example`.

## Compiling the code

Run `yarn compile` to compile contracts using Hardhat 👷

## Testing and auditing

### Local tests

Run `yarn test` to run the full test suite.

### Coverage report

Run `yarn coverage` to generate a code coverage report using `hardhat coverage`

### Contract sizes

Run `yarn size-contracts` to compute the size of each compiled contract.