请问使用Remix+MetaMask可以调用火币链HECO的智能合约吗?

请问使用Remix+MetaMask可以调用火币链HECO的智能合约吗?

火币链HECO已在MetaMask上设置好: image.png

Remix中编译了火币链HECO的MDEX合约: https://scan.hecochain.com/address/0xed7d5f38c79115ca12fe6c0041abb22f0a06c300#contracts

但是,运行尝试合约时报错:

Gas estimation failed

**

Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending? Internal JSON-RPC error. { "code": -32000, "message": "execution reverted" } 20210123150204.png

请问Remix应该怎么设置来跟HECO的智能合约交互?或者有其他工具

请先 登录 后评论

1 个回答

Tiny熊 - 布道者
  擅长:智能合约,以太坊
请先 登录 后评论