Skip to content

Add a launch penalty configuration input on the creator dashboard settings tab #830

Description

@Chucks1093

Summary

Creators can set a custom launch penalty fee for early sellers but there is no UI for this. A launch penalty input on the creator dashboard settings tab should let creators set the penalty percentage between 0% and 20% and submit the set_launch_penalty contract call.

Scope

  • Add a Launch Penalty section to the creator dashboard settings tab
  • Show the current penalty percentage fetched from the key detail API (launchPenaltyBps)
  • Render a percentage input (0–20%) pre-filled with the current value
  • Show helper text: 'Applied to sells within the first 7 days after key creation'
  • Submit via the set_launch_penalty contract function and show a success toast on confirmation

Acceptance Criteria

  • Current penalty value pre-filled on mount
  • Input constrained to 0–20%
  • Helper text shown below the input
  • Success toast shown after contract confirmation
  • Updated penalty reflected in the input without a page reload

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions