Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a subgraph that tracks StealthKeyChanged events from StealthKeyRegistry contract #570

Open
garyghayrat opened this issue Jul 13, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@garyghayrat
Copy link
Member

garyghayrat commented Jul 13, 2023

Instead of usingqueryFilter (i.e. provider.getLogs()) to getBlockNumberUserRegistered in umbra-js/src/utils/utils.ts, we can use a subgraph to increase reliability.

@garyghayrat garyghayrat added the enhancement New feature or request label Jul 13, 2023
@jferas jferas self-assigned this Apr 9, 2024
@jferas
Copy link
Contributor

jferas commented Apr 10, 2024

I believe the use of the subgraph can also be extended to be used in lookupRecipient in umbra-js/src/utils/utils.ts as that is what is called on the original launch (or on chain switch) by the front-end to ascertain if the user has previously registered and thus triggers the display (or not) of the "Setup" button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In progress
Development

No branches or pull requests

2 participants