Closed st1vms closed 1 year ago
Hi! This package is not used for a while, so I have no means of testing it. Still, LGTM and hope it works
Rather than embedding those functions, there should be a better way...
Like a replacement for ecrecover_to_pub
to be found in a non-deprecated library, aligning with web3auth/utils.py
logic.
Removing
ethereum
package requirement due to deprecation...pip
was currently unable to downloaddjango-web3-auth
due topysha3
missing headers, required to install deprecatedethereum
library, see This bug reportSince I really didn't found a replacement with the updated
py-evm
library docs...I've basically copied from the
ethereum.utils
module the only function that impose the requirement->ecrecover_to_pub
, along with the utility functions needed.Added also
coincurve
requirement, needed for those utilities. And imposed a version greater or equals than 2.0.0 forrlp