在hardhat上准备向roposten上部署代码

在hardhat上准备向roposten上部署代码,一直报这个错误Error: HH110: Invalid JSON-RPC response received: project id required in the url。有那位大佬解答一下,就是能在本地网络上部署。连接的是metamask,下面是在hardhat.config.js的配置 ropstentest: { url: "https://ropsten.infura.io/v3/", chainId: 3, accounts:['xxxxxxxx'], }, }, };

请先 登录 后评论

最佳答案 2022-09-13 20:36

url 链接应该是https://ropsten.infura.io/v3/xxxxxxxxxx xxxxx 是你在infura 申请的 project id.

请先 登录 后评论

其它 0 个回答

  • 1 关注
  • 0 收藏,1566 浏览
  • tianzai 提出于 2022-09-10 20:01

相似问题