Ethereum signature format
valli0x opened this issue · comments
valli_0x commented
I cant sign a transaction and send it to ethereum. I think this method can help folks.
#87
valli_0x commented
I had a problem when I was sending a transaction to ethereum:
- s-values greater than secp256k1n/2 are considered invalid.
- Convert to Ethereum signature format with 'recovery id' v at the end.
tzt commented
Same issue with the generated final signature. When I try to recover the ethereum address of generated final signature from cmp.Sing operation using web3js [ Example : web3.eth.accounts.recover("hello", final_signature_from_tarus_cmp_signing), this function return the wallet_address ], then the result address is not match with the address of public key generated from cmp.KeyGen operation.
I used tool to convert Publickey to ethereum address called eth_address_dump pip3 libary.