payton / django-siwe-auth

A complete Django authentication system overhall for Web3 utilizing Sign-In with Ethereum.
MIT License
26 stars 6 forks source link

Pull ENS Avatar After Web3.py Update #11

Open payton opened 2 years ago

payton commented 2 years ago

ethereum/web3.py does not yet support the get_text function for ENS.

Pending https://github.com/ethereum/web3.py/pull/2286

payton commented 2 years ago

Features merged in https://github.com/ethereum/web3.py/pull/2413

payton commented 2 years ago

TODO

  1. Update https://github.com/payton/django-siwe-auth/blob/12c6d95a676c5534b83cc0ceeedfb936d1b4484a/siwe_auth/backend.py#L143-L156 to pull the avatar text field from an ENS profile
  2. Create an ENSProfile test to assert proper method calls
  3. Validate locally with example app
MatteoMer commented 1 year ago

Hey, I'd love to take this! is it still open?

payton commented 1 year ago

Hey @MatteoMer - that'd be great! Yes, it is still open :)

payton commented 1 year ago

Let me know if you have any questions, @MatteoMer