3

关于调用metamask | 登链社区 | 技术问答

 3 years ago
source link: https://learnblockchain.cn/question/2106
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
关于调用metamask | 登链社区 | 技术问答

5 关于调用metamask

回答问题即可获得 5 经验值,回答被采纳后即可获得 10 学分。

image.png

本地使用web3 + 私钥调用合约没有问题。

接入metamask后,调用合约总提示错误。
该操作我使用web3+私钥的方式又调了一遍没有问题, 传入参数、ABI、合约地址也完全一致
前面有一个approve操作,metamask能正常调用
这个是使用web3
image.png

下面是调用metamaskimage.png


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK