Skip to content
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

Add ID to the NFT UTXO model #303

Closed
2 tasks done
ghost opened this issue May 5, 2022 · 5 comments
Closed
2 tasks done

Add ID to the NFT UTXO model #303

ghost opened this issue May 5, 2022 · 5 comments
Labels
core team Assigned to the core team feature New feature request transaction Involve transactions

Comments

@ghost
Copy link

ghost commented May 5, 2022

Problem to solve

In Bitcoin UTXO model, to identify which UTXO from which transaction we are using, a transaction ID and UTXO ID is used.

Also, in order to support multiple NFT UTXO and specific consumption of them, we need a way to identify the one to use.

This is particularly necessary in NFT collection minting, where we are using UTXO for each token and want to send them individually to other wallets.

Solution

The proposal would be to add an UTXO's ID and NFT's ID in the transaction data structure to resolve this point.
So a transaction could be built to use a specific NFT UTXO to consume.

This would involve:

  • Update transaction data structure for NFT Ledger and UTXO
  • Update the ledger operations consumption algorithm

Epic: #305

@ghost ghost added feature New feature request transaction Involve transactions labels May 5, 2022
@AmodD
Copy link

AmodD commented May 6, 2022

Hey team! Please add your planning poker estimate with ZenHub @apoorv-2204 @blackode @Neylix

@AmodD
Copy link

AmodD commented May 6, 2022

Please add your planning poker estimate with ZenHub @samuel-uniris

@ghost ghost mentioned this issue May 13, 2022
@ghost ghost added the core team Assigned to the core team label May 18, 2022
@apoorv-2204
Copy link
Contributor

Given a situation,
I am trying to mint nft color , which are just 256 color from (erc721 implemented smart contract)
So One utxo ID and one NFT ID (0to255) mapping ??
instead of One utxo id including all 256.?

@ghost
Copy link
Author

ghost commented Jun 3, 2022

Given a situation, I am trying to mint nft color , which are just 256 color from (erc721 implemented smart contract) So One utxo ID and one NFT ID (0to255) mapping ?? instead of One utxo id including all 256.?

Yes

@apoorv-2204 apoorv-2204 self-assigned this Jun 6, 2022
@apoorv-2204 apoorv-2204 mentioned this issue Jun 9, 2022
@apoorv-2204 apoorv-2204 removed their assignment Jun 22, 2022
@apoorv-2204
Copy link
Contributor

apoorv-2204 commented Jun 22, 2022

It will by Resolved by #390

@ghost ghost mentioned this issue Jun 22, 2022
@ghost ghost closed this as completed Jun 23, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core team Assigned to the core team feature New feature request transaction Involve transactions
Projects
None yet
Development

No branches or pull requests

2 participants