Skip to content

Files

Latest commit

8180716 · Aug 24, 2022

History

History
19 lines (13 loc) · 516 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 516 Bytes

Hardhat Tutorial

This project demonstrates how to compile, deploy and call smart contracts on Core TestNet using HardHat.

To run the project, you need to create a secret.json under the root folder and fill in as below. Or you can modify hardhat.config.js to setup your own configurations.

{"PrivateKey":"you private key, do not leak this file, do keep it absolutely safe"}

Steps to run:

npm install
npx hardhat compile
npx hardhat test
npx hardhat run scripts/deploy-and-call.js