gpt4 book ai didi

I am having problem with Web3provider in ethers.providers(我在Ethers.Providers中与Web3Provider有问题)

转载 作者:bug小助手 更新时间:2023-10-24 18:42:34 26 4
gpt4 key购买 nike



TypeError: Cannot read properties of undefined (reading 'Web3Provider')
at connectingWihContract (apiFeature.js:41:43)
at async fetchData (ChatAppContext.js:30:24)


const provider = new ethers.providers.Web3Provider(connection);

Const Provider=new ethers.Providers.Web3Provider(Connection);


This Line giving me errors

这一行给了我错误


TypeError: Cannot read properties of undefined (reading 'Web3Provider')
at connectingWihContract (apiFeature.js:41:43)
at async fetchData (ChatAppContext.js:30:24)

TypeError:无法在异步FetchData(ChatAppConext.js:30:24)的ConnectingWihContract(apiFeature.js:41:43)上读取未定义的属性(读取“”Web3Provider“”)


更多回答

Hi there, please explain your issue in details , some source code samples to reproduce your issue would be also useful~

您好,请详细解释您的问题,一些源代码样本,以再现您的问题也是有用的~

优秀答案推荐
更多回答

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com