ecrecover in python
Anyone knows where we can get ecrecover in python? I have searched a ton, there doesn't seem to any implementation for this anywhere. This old pyethereum lib used to have it https://github.com/ethereum/pyethereum/tree/b704a5c6577863edc539a1ec3d2620a443b950fb#cryptography but couldn't find any equivalent in py-evm or web3py. I think web3py has it, but internal _utils.personal https://github.com/ethereum/web3.py/search?q=ec_recover and ideally wouldn't need to interact with the blockchain or need an infura client, etc. right?
I see it available in ethereumjs-utils here https://github.com/ethereumjs/ethereumjs-monorepo/blob/master/packages/util/docs/modules/signature.md#ecrecover
submitted by /u/phoenista
[link] [comments]