diff --git a/hardhat/scripts/deploy.js b/hardhat/scripts/deploy.js index 2cc261afcb..8df050e1f7 100644 --- a/hardhat/scripts/deploy.js +++ b/hardhat/scripts/deploy.js @@ -5,6 +5,8 @@ async function main() { console.log("Deploying contracts with the account:", deployer.address); + const unlockTime = Math.floor(Date.now() / 1000) + 3600; // 1 hour from now + const Lock = await ethers.getContractFactory("Lock", deployer); const lock = await Lock.deploy();