docs: design Soroban event topic strategy for Stellar announcer#26
Merged
truthixify merged 2 commits intoJun 1, 2026
Conversation
|
@David-patrick-chuks Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Contributor
|
This is the kind of design doc I want to see — a clean problem statement, the 256× back-of-envelope, and the migration path argued in both directions before landing on a recommendation. The "Why Good call filing #24 and #25 as the contract + SDK follow-ups. Merging. Thanks @David-patrick-chuks. |
This was referenced Jun 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds the Stellar design note for issue #23 and recommends a new Soroban event topic strategy for
stealth-announcerso indexers can filter announcements server-side viagetEvents. The proposal moves toward a four-topic indexed schema centered onscheme_idandview_tag_bucket, quantifies the expected scan-bandwidth savings, and documents the privacy trade-off explicitly.Related Issue
Closes #23
Changes
⚙️ Event Topic Design
stellar/EVENT_TOPIC_DESIGN.md("announce", scheme_id, view_tag_bucket, metadata_kind).stealth_address,ephemeral_pub_key, andmetadatainto event data.stealth_addressshould no longer consume an indexed topic slot.getEventsfiltering.📊 Savings Model
50 announcements/secand10,000scanners.256xless scan traffic.21.5 TB/dayof response traffic avoided.🔐 Privacy + Compatibility Analysis
view_tag_bucketin public topics.scheme_id = 2and let SDKs read both versions during migration.📝 Docs
README.mdstellar/EVENT_TOPIC_DESIGN.mdin the Stellar section.Verification Results
stellar/EVENT_TOPIC_DESIGN.mdScreenshots / Command Results