Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can signtypeddata be supported?eip712 signatures problem #123

Open
xhzth70911 opened this issue Jul 13, 2022 · 3 comments
Open

Can signtypeddata be supported?eip712 signatures problem #123

xhzth70911 opened this issue Jul 13, 2022 · 3 comments

Comments

@xhzth70911
Copy link

xhzth70911 commented Jul 13, 2022

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 xhzth70911 changed the title Can signtypeddata be supported? Can signtypeddata be supported?eip712 signatures Jul 13, 2022
@xhzth70911 xhzth70911 changed the title Can signtypeddata be supported?eip712 signatures Can signtypeddata be supported?eip712 signatures problem Jul 13, 2022
@koraykoska
Copy link
Member

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

@danijelTxFusion
Copy link

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

@koraykoska
Copy link
Member

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants