Closed Aphoh closed 2 years ago
Thank for this PR! That's very awesome.
Yup, as you say. It would be better if you can get rid of ethereum/go-ethereum
but current is an acceptable version.
Let me know if you want to try to find an alternative or you want to remain current version.
@yihau Found a reasonable alternative in ipsn/go-secp256k1
. The go.sum
looks much more reasonable now. Tests should all pass. I'm happy with this if you are.
^ just a lil change, made the Sign
method private. Better not to expose it.
The lib looks good. I prefer to use it! Thank you🙏
@yihau anything blocking this from being merged?
@Aphoh Sorry. I though you still have something to update so I was waiting for you until you told me you have done. Seems there is a misunderstanding haha. Thank you for this contribution!!!
New lil module with code to generate KeccakSecp256k1 Instructions for both a single signature and multiple signatures with a test against known good rust code.
Only thing that might be a blocker is the use of
ethereum/go-ethereum
as a dependency for signing, hashing, and getting an ethereum address. If you'd like me to I can try to find alternative dependencies (was thinking I might try and use sha3 and the nativecrypto/ecdsa
instead).