Skip to content

Fast and typed Hardhat setup using SWC compiler and TypeChain.

License

Notifications You must be signed in to change notification settings

comingAlive/hardhat-swc-example

Repository files navigation

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

Releases

No releases published

Packages

No packages published