npm install
npx hardhat init
npx hardhat node
npx hardhat run --network localhost scripts/deploy.js
Now, move the Tracking.Json file which is created in ./artifacts/contracts/ to ./src/components/Context/ to accesss the Tracking ABI of the smart contracts.
npm run start
Now, go to localhost:3000