/hardhat-swc-example

Fast and typed Hardhat setup using SWC compiler and TypeChain.

Primary LanguageTypeScriptMIT LicenseMIT

Hardhat + SWC + TypeChain Example

Fast and typed Hardhat setup.

How to use

Clone the repo and install dependencies:

git clone https://github.com/comingAlive/hardhat-swc-example.git
cd hardhat-swc-example

yarn

Copy .env.example to .env.

Fill the RPC_URL and run hardhat node for starting a Blockchain fork locally.

Compile Solidity code and generate typechain-types:

yarn build

Deploy:

yarn deploy

Test:

yarn test

Format project using Prettier:

yarn format