feat(sep-1): serve stellar.toml for ORGUSD - #102
Merged
Wilfred007 merged 1 commit intoMar 8, 2026
Merged
Conversation
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.
Summary
Implements SEP-0001 asset metadata hosting for the ORGUSD asset by serving a
stellar.tomlat/.well-known/stellar.tomlfrom the backend, with CORS enabled for wallet/explorer discovery.Changes
GET /.well-known/stellar.tomlendpoint in backend/src/index.tsVERSIONNETWORK_PASSPHRASE(whenSTELLAR_NETWORK_PASSPHRASEis set)[DOCUMENTATION]org metadata + contact details[[CURRENCIES]]entry forORGUSDusingORGUSD_ISSUER_PUBLICAccess-Control-Allow-Origin: *Content-Type: text/plain; charset=utf-8Configuration
This endpoint requires:
ORGUSD_ISSUER_PUBLIC(required)STELLAR_NETWORK_PASSPHRASE(optional but recommended)If
ORGUSD_ISSUER_PUBLICis missing, the endpoint returns503 Service Unavailablewith a clear error message.Validation
ORGUSD_ISSUER_PUBLICset (from backend/scripts/issue-orgusd.ts output).http://localhost:<PORT>/.well-known/stellar.tomlFixes #34