You can query ENS on mainnet to see if there is a reverse ENS entry for the connected address.
If so, you can query the avatar text record for that ENS entry and use it as the default.
When doing away with the database, simply use the avatar record as where to store the pfp.
You can query ENS on mainnet to see if there is a reverse ENS entry for the connected address.
If so, you can query the
avatartext record for that ENS entry and use it as the default.When doing away with the database, simply use the
avatarrecord as where to store the pfp.