-
Notifications
You must be signed in to change notification settings - Fork 35
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
Blind Auth Follow Ups #1079
Comments
The check_name API call should be called first, and it returns a boolean value. |
ah nice |
I've been thinking about how to do this. There's the naive approach of storing to local storage what the LN address should be. But what I'm thinking is that it can be a query to the hermes server. We already know what the deterministic nostr pubkey will be for the user, so it can create a signed message from that nostr pubkey to something like Then from there, we can have federation changes happen the same way. We can see if the user's defined federation is different than the one stored on hermes. If so, then it creates a signed nostr message and then makes a request to Lastly (for a follow up some other day), to change names it can follow the same federation change flow, but for |
That makes sense to me. I think we should try to do some local caching so we don't need to hit the server every time we boot up |
What kind of caching do you think would be best here? We can do something like a daily cache? Weekly? Store it in local storage but not needed to be remotely backed up? If it's missing in local storage then it fetches remotely. My main worry is from switching devices and not having the latest state if one of the devices changes federations or does the name change. |
If we just store it in VSS then it should be fine |
I want to avoid storing in VSS just to store in VSS. |
follow up:
Add change federation functionality
The text was updated successfully, but these errors were encountered: