This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.
Try running some of the following tasks:
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js- Run a local test network in-memory
npx hardhat node - Deploy the contract
npx hardhat --network localhost run scripts/deploy.js - Put the address in
frontend/contracts/contract-address.jsand moveartifacts/contracts/EMJAYToken.jsontofrontend/contracts/ - Check front-end
cd frontend; npm run dev