- Node.js (>= 10.16.0)
- Install project
npm init --yes
npm install --force
npx hardhat init
-
Create an
.env
file from the.env.example
-
Deploy with
npx hardhat compile
npx hardhat run scripts/deploy.js --network sepolia
-
Fill out
CONTRACT_ADDRESS
in.env
with the deployed contract address -
(Optional) Run interaction
npx hardhat run scripts/interact.js --network sepolia