Hello, I’m trying to sign multiple messages but MetaMask wallet is showing a screen for each message. Is there any ways to show just one time? I tried the batch.add but didn’t work.
let voucher1 = await voucherFactory.createVoucher({
tokenId: tokenId,
uri: `${config.PinataGateway}/ipfs/${resIPF.data.IpfsHash}`,
price: form.price,
royaltyFee: "1", // 10 / 100 - 0.1 -> string -> ether,
gallerist: ethers.utils.getAddress('address here'),
galleristFee: 0,
})
// 2
let voucher2 = await voucherFactory.createVoucher({
tokenId: 102,
uri: `${config.PinataGateway}/ipfs/${resIPF.data.IpfsHash}`,
price: form.price,
royaltyFee: "1", // 10 / 100 - 0.1 -> string -> ether,
gallerist: ethers.utils.getAddress('address here'),
galleristFee: 0,
})