Web3.swift icon indicating copy to clipboard operation
Web3.swift copied to clipboard

Can signtypeddata be supported?eip712 signatures problem

Open xhzth70911 opened this issue 3 years ago • 3 comments

Signtypeddata doesn't have this method. Can it be implemented like web3.js? Can eip712 signatures be like Web3.js? Is there a demo for eip712 signature ?thank you

xhzth70911 avatar Jul 13 '22 09:07 xhzth70911

@xhzth70911 No, this is not supported. You are open to implementing it and opening a PR.

koraykoska avatar Oct 21 '22 13:10 koraykoska

What the current status of this issue. Has someone implemented on some forked repo?

danijelTxFusion avatar May 30 '23 15:05 danijelTxFusion

@danijelTxFusion I am not aware of any but it's pretty easy to implement. I am using custom implementations on top of Web3.swift in several projects. You can utilize EthereumPrivateKey and write a custom extension function and call it signText or something similar.

koraykoska avatar May 30 '23 16:05 koraykoska