This project was bootstrapped with Create React App. This project uses Hard hat.
install hardhat
npx hardhat init
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
npx hardhat compile
require folder ./test
npx hardhat test
to get the coverage percentage:
npx hardhat coverage
npx hardhat node
- Started HTTP and WebSocket JSON-RPC server at http://127.0.0.1:8545/
new terminal
npx hardhat ignition deploy ignition/modules/[name].[ts|js] --network localhost
npx hardhat ignition visualize ./ignition/modules/Apollo.js
create ignition/module remove build/ remove migrations/ remove truffle.config.js install hardhat and its plugins