Getting Started First, you need add environment variables cp .env.example .env Next, run the development server: npx hardhat node npx hardhat run --network localhost ./scripts/deploy.ts yarn dev