You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of #751
Requires #780
Follow the same steps as in #752
Add a method that verifies a public key and signature in the format used by ethereum (compressed pubkey, RLP encoded signature). This can either be a separate verify_secp256k1_eth() method or provide a function to convert this into the same format used by cosmos and then verify it.
webmaster128
changed the title
Implement MockApi verification for ethereum signatures (secp256k1)
Support Ethereum secp256k1 signature verification
Feb 9, 2021
In #765 you find a full example how a contract can verify signed text. Extening this to transactions is now an exercise for the reader. You need DER decoding and RLP encoding in the contract.
Uh oh!
There was an error while loading. Please reload this page.
Part of #751
Requires #780
Follow the same steps as in #752
Add a method that verifies a public key and signature in the format used by ethereum (compressed pubkey, RLP encoded signature). This can either be a separate
verify_secp256k1_eth()
method or provide a function to convert this into the same format used by cosmos and then verify it.Note there is some pubkey recovery stuff going on with ethereum signatures: https://ethereum.stackexchange.com/questions/64380/understanding-ethereum-signatures
The text was updated successfully, but these errors were encountered: