Error while minting the SBT
Closed this issue · 0 comments
While Trying to mint SBT via this command
npx hardhat run scripts/mint.js --network mumbai
This is the error I'm getting this error below
Error: invalid BigNumber string (argument="value", value="", code=INVALID_ARGUMENT, version=bignumber/5.7.0)
at Logger.makeError (/home/dev/Zk-SBT/ZK-SBT/node_modules/@ethersproject/logger/src.ts/index.ts:269:28)
at Logger.throwError (/home/dev/Zk-SBT/ZK-SBT/node_modules/@ethersproject/logger/src.ts/index.ts:281:20)
at Logger.throwArgumentError (/home/dev/Zk-SBT/ZK-SBT/node_modules/@ethersproject/logger/src.ts/index.ts:285:21)
at Function.BigNumber.from (/home/dev/Zk-SBT/ZK-SBT/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts:238:27)
at _pack (/home/dev/Zk-SBT/ZK-SBT/node_modules/@ethersproject/solidity/src.ts/index.ts:46:27)
at /home/dev/Zk-SBT/ZK-SBT/node_modules/@ethersproject/solidity/src.ts/index.ts:90:20
at Array.forEach ()
at pack (/home/dev/Zk-SBT/ZK-SBT/node_modules/@ethersproject/solidity/src.ts/index.ts:89:11)
at Object.keccak256 (/home/dev/Zk-SBT/ZK-SBT/node_modules/@ethersproject/solidity/src.ts/index.ts:96:26)
at main (/home/dev/Zk-SBT/ZK-SBT/scripts/mint.js:18:42) {
reason: 'invalid BigNumber string',
code: 'INVALID_ARGUMENT',
argument: 'value',
value: ''
}