Firstly, you need to execute this
npm i
Then,
a)If you did not change the mygov.sol file:
You need two separate terminals to execute these commands:
npx hardhat node
npx hardhat run --network localhost scripts/deploy.js;npm run dev
b)If you did:
npx hardhat clean
npx hardhat compile
rm -rf artifacts
cp -rf src/artifacts .
Then you can go the option a.
Collaborators:
- Demet Yayla (me)
- Zeynep Sude Aydoğan
- Kadir Gökhan Sezer