Skip to content

Raevaen/reactlab

Repository files navigation

Getting Started with Create React App

This project was bootstrapped with Create React App. This project uses Hard hat.

install hardhat

init

npx hardhat init

dev

npm install --save-dev @nomicfoundation/hardhat-ignition-ethers npm install --save-dev hardhat npm install --save-dev @nomicfoundation/hardhat-toolbox

to run a node on your local network npx hardhat node

compile

npx hardhat compile

test

require folder ./test npx hardhat test

to get the coverage percentage: npx hardhat coverage

deploy

npx hardhat node

new terminal npx hardhat ignition deploy ignition/modules/[name].[ts|js] --network localhost

verify/debug

npx hardhat ignition visualize ./ignition/modules/Apollo.js

guide to migrate from truffle to hardhat

create ignition/module remove build/ remove migrations/ remove truffle.config.js install hardhat and its plugins

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published