# 1. Install dependencies
npm install
# 2. Compile smart contracts
npx hardhat compile
# 3. Start local Hardhat blockchain
npx hardhat node
➡️ In a new terminal tab:
# 4. Deploy contracts to the local network
npx hardhat run scripts/deploy.js --network localhost