Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tlacloc opened this issue Apr 10, 2023 · 0 comments
Open

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

tlacloc opened this issue Apr 10, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@tlacloc
Copy link
Contributor

tlacloc commented Apr 10, 2023

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.

@tlacloc tlacloc added the enhancement New feature or request label Apr 10, 2023
@tlacloc tlacloc self-assigned this Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant