idriss-crypto/browser-extensions

Full IDriss Send support on Twitter

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe.
Currently, you can only send tips to people that have an IDriss registration on Twitter. These people are marked with our green IDriss badge next to their name. With the newest version of IDriss Send and our library, we can send assets to anyone on Twitter.

Describe the solution you'd like
In a first step, a solution that displays an additional IDriss icon (in a different color - gray?) should be added for everyone that currently isn't found in the IDriss registry.

Describe alternatives you've considered
TBD - discussion open below

Additional context
For a previous hackathon project, we introduced partially customizable popups. An example can be found when hovering the green icon on the @Gitcoin Twitter profile:

image

As the gray icon for non-registered Twitter profiles cannot handle networks other than Polygon, customizable popups propose a solution to this issue.

As for filtering the accounts that should get the gray icon next to their name instead of the green icon, one should look at all names that do not satisfy line 112 in the twitterPageManager. More precisely, Object.values(data).length > 0 will be false.

Ultimately, the URL endpoint for forwarding must be changed from /tip to /send. Support for this is still in development. All parameters (except the target wallet address) can stay the same.