Ethereum Asked on January 3, 2022
If you were writing some instructions and one of them was:
Provide the Ethereum ECDSA signature of the file using the person’s
Ethereum address.
Would the above instruction have a consistent meaning (i.e. always produces the same output for a given file and address)? I ask because there appears to be subtly different implementations.
If not, what wording could you use to give it a consistent meaning? Perhaps with reference to EIPs…
I used:
Provide the prefixed Ethereum ECDSA signature* of the hex encoded file using the person's Ethereum address.
*As per
sign(keccak256("x19Ethereum Signed Message:n" + dataToSign.length + dataToSign)))
(e.g.web3.personal.sign
)
I think just using "Ethereum ECDSA signature" leaves ambiguity between above and the un-prefixed signature which is considered risky (for reasons I'm unsure of atm).
Answered by atomh33ls on January 3, 2022
1 Asked on November 18, 2021 by moustafa-ali
1 Asked on November 18, 2021
1 Asked on November 18, 2021 by user491880
1 Asked on November 17, 2021 by bassie
1 Asked on November 17, 2021 by will_z
2 Asked on November 15, 2021 by leon-africa
20 Asked on November 12, 2021
1 Asked on November 12, 2021 by unha-back
crowdsale erc 20 openzeppelin contracts tokens truffle deployment
1 Asked on November 12, 2021 by kantus-jee
1 Asked on November 12, 2021 by andrew007
2 Asked on November 10, 2021 by maroodb
1 Asked on November 10, 2021 by nitin-jagtiani
1 Asked on November 10, 2021 by nick-furfaro
Get help from others!
Recent Questions
Recent Answers
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP