Skip to content

Fee and cost calculator widget #128

Description

@truthixify

Tier: M (2-4 days) | Type: feature

Context. The /use-cases page describes scenarios (payroll, DAO grants, refunds) but never puts a number on them. A calculator that estimates cost per stealth payment across supported chains at a chosen volume turns "sounds interesting" into "here is the annual cost." Adjacent to the Chain matrix (issue #7) but a distinct interactive tool.

Scope.

  • Interactive widget: inputs = chain, payments per month, avg payment value; outputs = estimated network fee, stealth generation overhead, monthly total.
  • Fee constants sourced from src/data/chains.json (see issue Dynamic Open Graph image generator #7); overhead constants documented in a comment block.
  • Embeddable on /use-cases (below existing personas) and standalone on /use-cases/calculator.
  • URL-encodes state so links to specific scenarios are shareable.

Acceptance.

  • Calculator renders on both /use-cases and /use-cases/calculator
  • Sharing a URL with query params reconstructs the same scenario
  • Numbers cited on the page have inline source notes
  • Keyboard-only operable
  • Build passes
  • Lighthouse Perf/SEO stay >= 90

Files. src/components/CostCalculator.tsx (new), src/pages/UseCases.tsx, src/App.tsx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programdripsFunded via Drips NetworkfeatureNew feature workhelp wantedExtra attention is neededstellar-waveAuto-created for Wave 8uxUser experiencewave-8Auto-created for Wave 8wwwAuto-created for Wave 8

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions