报错 Uncaught (in promise) TypeError: web3.Contract is not a constructor 求帮忙 感谢

async function mint() {
            var address = await window.ethereum.request({ method: 'eth_requestAccounts' });
            var myAddress = address[0];
            var _to = '0x85C9563bb6883439FAEa26D4519CFc4da62f7199';
            var amount = 100;
            var myContract = new web3.Contract([
请先 登录 后评论

1 个回答

Tiny熊
  擅长:智能合约,以太坊
请先 登录 后评论
  • 1 关注
  • 0 收藏,2799 浏览
  • bfchain 提出于 2022-03-05 12:47