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

NFT composition #158

Open
jrkhan opened this issue Aug 26, 2022 · 0 comments
Open

NFT composition #158

jrkhan opened this issue Aug 26, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@jrkhan
Copy link
Contributor

jrkhan commented Aug 26, 2022

Issue To Be Solved

Currently, the metadata/traits of Top Shot NFT are primarily defined by set and play (aka edition). It would be helpful to be able to add 'components' to individual NFTs that would contribute towards the metadata/traits of the moment.

Possible Solution

Create a new 'component' contract to manage components -> this will allow the owner of component resource to create a componentTransferRequest (resource temporarily stored on component contract), and an NFT owner to accept or decline the componentTransfer.

Sketch in progress of component interfaces:
https://sketchboard.me/xDpNRMTwBZLj#/

Context

Looking to add functionality to allow individual moments to have autographs (another resource type). Ideally, I would like to have the autograph make use of a generic system for adding components instead of implementing this as a one off.
I believe a fan asking a player for an autograph on their moment would in practice be very similar to flows that would be broadly useful.

@jrkhan jrkhan changed the title NFT composability NFT composition Aug 31, 2022
@jrkhan jrkhan added enhancement New feature or request question Further information is requested help wanted Extra attention is needed labels Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant