https://github.com/giveth/giveth-contracts-template
Useful template for developing and testing Solidity contracts, built with hardhat and waffle
https://github.com/giveth/giveth-contracts-template
Last synced: 10 months ago
JSON representation
Useful template for developing and testing Solidity contracts, built with hardhat and waffle
- Host: GitHub
- URL: https://github.com/giveth/giveth-contracts-template
- Owner: Giveth
- License: mit
- Archived: true
- Created: 2022-05-09T11:27:37.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T16:21:55.000Z (over 3 years ago)
- Last Synced: 2025-06-12T08:52:50.587Z (about 1 year ago)
- Language: TypeScript
- Size: 182 KB
- Stars: 2
- Watchers: 8
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.