npx hardhat compileThis command compiles all the contracts in side the "contracts" folder
- Start a local node:
npx hardhat node-
Open a new terminal
-
Run tests on the contract
npx hardhat testAssuming that the test script already deploys the contract for you... If not use:
npx hardhat deploy