working on deployin error

This commit is contained in:
Yohan9206 2025-07-31 23:15:57 +03:00
parent 00dfff297e
commit 66aca938d3

View file

@ -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();