You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const multiSigWallet= buildModule("MultiSigWallet", async(m) => {
// let owner1;
// let owner2;
// let owner3;
let owners;
// [owner1, owner2, owner3]=await ethers.getSigners()
owners=["0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","0x70997970C51812dc3A010C7d01b50e0d17dc79C8","0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"]
const multiSig = m.contract("MultiSig",[owners,2]);
console.log(multiSig.contractName)
return { multiSig };
});
module.exports = multiSigWallet;
i have tried many with different ways but signers not working in sight buildModuler aslo callback func don't accept async javascript.
please how can use signers in this callback
and why I can't use async javascrpt.
Search terms
i have tried many with different ways but signers not working in sight buildModuler aslo callback func don't accept async javascript. please how can use signers in this callback and why I can't use async javascrpt.
The text was updated successfully, but these errors were encountered:
Describe the feature
const { buildModule } = require("@nomicfoundation/hardhat-ignition/modules");
const {ethers}=require("hardhat")
const multiSigWallet= buildModule("MultiSigWallet", async(m) => {
// let owner1;
// let owner2;
// let owner3;
let owners;
// [owner1, owner2, owner3]=await ethers.getSigners()
owners=["0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","0x70997970C51812dc3A010C7d01b50e0d17dc79C8","0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"]
const multiSig = m.contract("MultiSig",[owners,2]);
console.log(multiSig.contractName)
return { multiSig };
});
module.exports = multiSigWallet;
i have tried many with different ways but signers not working in sight buildModuler aslo callback func don't accept async javascript.
please how can use signers in this callback
and why I can't use async javascrpt.
Search terms
i have tried many with different ways but signers not working in sight buildModuler aslo callback func don't accept async javascript. please how can use signers in this callback and why I can't use async javascrpt.
The text was updated successfully, but these errors were encountered: