Skip to content

Implement a way to represent units in percentages for NFTs #395

Open
@tlacloc

Description

@tlacloc

Description:

Currently, the platform only allows for the representation of units in whole numbers. However, as Fruniques utilizes NFTs (Non-Fungible Tokens) as opposed to Afloat's FT (Fungible Tokens), it is important to have the ability to represent fractional amounts. Therefore, we need to implement a way to represent units in percentages for NFTs.

For example, consider the scenario where a user holds 100 units of a specific NFT which has a total supply of 200. In this case, the user holds 50% of the total supply. We need to find a way to represent this mathematically, while still maintaining the accuracy of the percentage value.

This change is necessary to provide more flexibility to users and enable them to have a better understanding of their holdings. It also aligns with industry standards and practices for NFTs.

Tasks:

  • Implement a function to calculate the percentage representation of NFT units held by a user.
  • Update the platform's UI to display the percentage value alongside the whole number representation.
  • Update the platform's backend to store and retrieve the percentage value for NFT units.
  • Test the implementation thoroughly to ensure accuracy and consistency.

Expected Outcome:

Once implemented, users will be able to view their NFT holdings in both whole numbers and percentage representations. This will provide them with a better understanding of their holdings and enable more informed decision-making. Additionally, it will align our platform with industry standards and practices for NFTs.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions