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

feat: add SubscribeAssociationChanges #238

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

neekolas
Copy link
Collaborator

tl;dr

  • Creates protos for streaming association state changes

Issues

xmtp/xmtp-node-go#410

@neekolas neekolas marked this pull request as ready for review December 31, 2024 17:07
@neekolas neekolas requested a review from a team as a code owner December 31, 2024 17:07
// Request to subscribe to association changes, triggered by Identity Updates
message SubscribeAssociationChangesRequest {}

message SubscribeAssociationChangesResponse {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any world where this can just be a stream of identity updates, with the parsing of the stream done client-side? Would be simpler/more compatible with decentralization/requiring less server trust

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm hoping in a decentralized world we can create a subgraph that does that aggregation by reading events from the blockchain and running our code. Then we can slice and dice the data any way we want.

But for now, it's a big ask for clients to run libxmtp from whatever language/framework they are using and correctly store previous association states and apply updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants