16

是用别人的dapp时MetaMask弹出了一个请求签名的图片,帮忙看一下是什么意思

 2 years ago
source link: https://learnblockchain.cn/question/2223
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.
是用别人的dapp时MetaMask弹出了一个请求签名的图片,帮忙看一下是什么意思 | 登链社区 | 技术问答

是用别人的dapp时MetaMask弹出了一个请求签名的图片,帮忙看一下是什么意思

哪位兄弟帮忙看一下这个是什么意思,是怎么请求弹出来的

Tiny熊 - 布道者 22小时前

  擅长:智能合约,以太坊

这个看上去是一个委托授权签名。

MetaMask 提供了请求签名的 API。

通过provider 发行请求就可以, 例如:

this.web3.currentProvider.sendAsync({
        method: 'eth_signTypedData_v4',
        params: [this.account,  ... ],
        from: this.account
      }, (err, sign) => {
      }
}

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK