Skip to content

Add collateral unlock countdown badge showing when a sender's collateral will be released #362

Description

@Chuks-coderr

Overview

Senders who provided collateral when creating a stream want to know when that collateral will be released. A countdown badge on the stream detail page would show the time until the collateral unlocks.

Problem

Senders who lock collateral have no visibility into when it will be released without reading the contract state directly.

Proposed Solution

  • On the stream detail page, if the sender has a collateral deposit, show a badge with the countdown to unlock (based on stream end_time + any grace period)
  • Badge changes to "Collateral Released" and shows a claim button when the unlock time passes

Acceptance Criteria

  • Collateral badge visible on the stream detail page when collateral is held
  • Countdown accurate based on end_time + grace period
  • Badge updates to "Released" state with a claim CTA when unlock time passes
  • Badge hidden for streams without collateral

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programcomplexity: highComplex feature, refactor, or new integrationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions