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.
Make sure you have hardhat globally installed
Clone the repo and run:
git clone git@github.com:Zlerp/basic-hardhat-example.git
cd basic-hardhat-example
npm install
First compile the smart contracts:
npx hardhat compile
Deploy to sepolia:
npx hardhat run scripts/deploy.js --network sepolia
Etherscan verification (Need Etherscan API for that)
npx hardhat verify --network sepolia CONTRACTADDRESS "ipfs:thisIsIPFSCID/
You may need to run if artifacts/cache messed up:
npx hardhat clean