This contract will lock an amount of ETH for a period of time (specified in scripts/deploy.js
), after which the owner can withdraw the amount.
- Node.js (>= 10.16.0)
- Install project
npm i
-
Create an
.env
and add your MetaMaskPRIVATE_KEY
-
Deploy with
npx hardhat compile
npx hardhat run scripts/deploy.js