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:
# run test on local testnet
npx hardhat run scripts/buy-coffee.js
# deploy on goerli
npx hardhat run scripts/deploy.js --network goerli
https://goerli.etherscan.io/address/0x3696598A13948e6500F9f9DF77afA381C10767BF