The contract's create_stream already accepts any token: Address (any SAC-compliant asset), but the frontend hardcodes XLM in labels, amount formatting, and the create form.
What to do
- Add a token selector to
src/components/CreateStreamForm.tsx — start with XLM + USDC on testnet, defined in src/config.ts (address + symbol + decimals).
- Thread the chosen token address through stream creation.
- Replace hardcoded "XLM" labels in
src/components/StreamCard.tsx with the stream's actual token symbol, and make formatTokenAmount use that token's decimals.
Acceptance criteria
Pairs with contract issue #10 (multi-token support).
The contract's
create_streamalready accepts anytoken: Address(any SAC-compliant asset), but the frontend hardcodes XLM in labels, amount formatting, and the create form.What to do
src/components/CreateStreamForm.tsx— start with XLM + USDC on testnet, defined insrc/config.ts(address + symbol + decimals).src/components/StreamCard.tsxwith the stream's actual token symbol, and makeformatTokenAmountuse that token's decimals.Acceptance criteria
pnpm exec tsc --noEmitpasses.Pairs with contract issue #10 (multi-token support).