To make the project work :
Compile the contracts :
npx hardhat compile
Network Name: localhost
New RPC URL: http://127.0.0.1:8545/
Chain ID: 31337 (default for Hardhat)
Currency Symbol: ETH (optional)
Block Explorer URL: (leave blank)
Launch the nodes :
npx hardhat node
Deploy the contracts :
npx hardhat run --network localhost scripts/deploy.ts
No need to launch the nodes.
Deploy the contracts :
npx hardhat run --network sepolia scripts/deploy.ts
Network Name: sepolia
New RPC URL: https://eth-sepolia.g.alchemy.com/v2/${your-alchemy-api-key}
Chain ID: 11155111 (default for Sepolia)
Currency Symbol: ETH
Block Explorer URL: https://sepolia.etherscan.io
run the front end :
npm run dev
Don't forget to install dependencies in the main and the hardhat directory after pulling.