Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/michyaraque/smart-contract-boilerplate

🚀 Boilerplate and Starter pack for develop Smart Contracts with Hardhat environment, Typescript, Chai and Waffle
https://github.com/michyaraque/smart-contract-boilerplate

blockchain chai hardhat javascript smart-contracts solidity typescript waffle web3

Last synced: 5 days ago
JSON representation

🚀 Boilerplate and Starter pack for develop Smart Contracts with Hardhat environment, Typescript, Chai and Waffle

Awesome Lists containing this project

README

        


⚙️📋 Smart Contract Boilerplate, TS, Chai, Waffle


Solidity 0.8.4
Hardhat
Typescriot
Chai
Solidity 0.8.4

## 🔋⚡ Smart Contract battery template

This is a boilerplate for create a solid smart contracts with [Solidity](https://solidity.readthedocs.io/), [Hardhat](https://hardhat.org/), [Typescript](https://typescript.com), [Chai](https://www.chaijs.com/) and [Waffle](https://ethereum-waffle.readthedocs.io/)

### 🚀 Easy test Deployments


Stackblitz
CodeSandbox

- ✔️ Toolings for linting, formatting, and conventions configured

`solhint`, `eslint` and `prettier`

### Features
- 👷 [Hardhat](https://hardhat.org/) environment
- 🔥 Type checking [Typescript](https://www.typescriptlang.org/)
- For testing:
- Chai
- Waffle

## Getting started
You can either click `Use this template` button on this repository and clone the repo or directly from your terminal:

```bash
npx degit michyaraque/smart-contract-boilerplate
```

- Run `yarn install` in the root directory.

- Change `.env.example` to `.env` and put your private key on the key PRIVATE_KEY_DEPLOYER

## Unit Tests
Run `npx hardhat test` to run the unit tests.

## Get Coverage Diagnostic
Run `npx hardhat coverage` to get the actual testing coverage.