Skip to content

Add helper for displaying key ownership percentage for connected wallet #374

@Chucks1093

Description

@Chucks1093

Summary
When a user holds keys in a creator, the UI shows the raw key count but not what percentage of total supply that represents. A small helper that computes and displays the ownership percentage gives holders a clearer picture of their position.

Scope

  • add a helper that computes ownership percentage from a holder balance and total supply
  • display the percentage alongside the key count on the holdings view
  • handle the zero-supply edge case gracefully

Acceptance Criteria

  • the ownership percentage is displayed correctly next to the key count
  • a zero total supply does not produce a divide-by-zero error
  • the percentage updates when the supply or balance changes

Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions