Using Hardhat
Setting up Hardhat
$ mkdir my-thundercore-project && cd $_
# We choose a basic sample project and install its dependences here:
$ npx hardhat init
✔ What do you want to do? · Create a basic sample project
✔ Do you want to install this sample project's dependencies with npm (hardhat @nomiclabs/hardhat-waffle ethereum-waffle chai @nomiclabs/hardhat-ethers ethers)? (Y/n) · y$ npm exec -- hardhat compile
Downloading compiler 0.8.25
Compiling 2 files with 0.8.25
Compilation finished successfully$ yarn hardhat compile
Compiling 2 files with 0.8.25
Compilation finished successfully
Done in 1.22s.Hardhat Config
Deploy to ThunderCore Network
Verify contract by plugin
Last updated