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

Question: How to verify signature in contract? #8

Open
jolestar opened this issue Mar 16, 2022 · 0 comments
Open

Question: How to verify signature in contract? #8

jolestar opened this issue Mar 16, 2022 · 0 comments
Labels
question Further information is requested

Comments

@jolestar
Copy link
Member

jolestar commented Mar 16, 2022

  1. verify Ethereum signature: 0x1::Signature::ecrecover
  2. verify Starcoin ed25519 signature: 0x1::Signature::ed25519_verify

How to verify the signature generate by starcoin cli or starmask?

https://discord.com/channels/822159062475997194/892760287797714954/953951741395750922

starcoinorg/starcoin-framework#17

描述签名,以及签名后的数据结构,签名数据序列化的前缀,等。

@jolestar jolestar added the question Further information is requested label Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant