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
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
/streams/[streamId]withdraw()via Freightertop_up_stream()pause_stream()orresume_stream()cancel_stream()with confirmation dialogFiles
frontend/src/app/streams/[streamId]/page.tsx(create)Acceptance Criteria