mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
working on deployin error
This commit is contained in:
parent
00dfff297e
commit
66aca938d3
1 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue