Skip to content

Create stream detail page with all actions (withdraw, top-up, cancel, pause) #274

@ogazboiz

Description

@ogazboiz

Join our community: https://t.me/+DOylgFv1jyJlNzM0

Description

A dedicated page for a single stream showing full details, event history, and action buttons for all on-chain operations.

What Needs to Happen

  • Route: /streams/[streamId]
  • Display: sender, recipient, token, rate/sec, deposited, withdrawn, claimable (live counter), start/end time, status, pause info
  • Event history timeline: CREATED, TOPPED_UP, WITHDRAWN, CANCELLED, COMPLETED, PAUSED, RESUMED
  • Action buttons (shown based on role and stream state):
    • Withdraw (recipient, active): sign withdraw() via Freighter
    • Top-up (sender, active): amount input + sign top_up_stream()
    • Pause/Resume (sender, active/paused): sign pause_stream() or resume_stream()
    • Cancel (sender, active/paused): sign cancel_stream() with confirmation dialog

Files

  • frontend/src/app/streams/[streamId]/page.tsx (create)

Acceptance Criteria

  • All actions submit real Soroban transactions
  • Live claimable counter ticks up per second
  • Event history paginated

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programfrontendFrontend related tasks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions