Skip to content

[Frontend] Create-stream token select offers unsupported FLOW and omits supported EURC #552

@ogazboiz

Description

@ogazboiz

Telegram: https://t.me/+DOylgFv1jyJlNzM0

Why this matters

The token <select> in frontend/src/app/streams/create/page.tsx offers XLM, USDC, FLOW. But getTokenAddress (in frontend/src/lib/soroban.ts) only resolves USDC, XLM, EURC from TOKEN_ADDRESSES. Selecting FLOW throws SorobanCallError("Unsupported token: FLOW") on submit, while EURC (which the contract supports) isn't selectable. The options list doesn't match the resolvable tokens.

Acceptance criteria

  • Make the select options derive from TOKEN_ADDRESSES keys (or at least replace FLOW with EURC)
  • Submitting any offered token succeeds through getTokenAddress

Files to touch

  • frontend/src/app/streams/create/page.tsx
  • (reference) frontend/src/lib/soroban.ts TOKEN_ADDRESSES

Out of scope

  • Adding new token contracts.

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't workingfrontendFrontend related tasksgood first issueGood for newcomers

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions