flow-nft
flow-nft copied to clipboard
View to Describe Actions that can be taken on an NFT
Issue To Be Solved
Inspired by pack view suggestion, I think we need a view to define actions user can take on a resource.
For example:
- if user has a
Pack, it can defineOpen Packaction. - if I have a .find name, close to expiring, it can show:
Renewaction ( I forgot to renew my name recently, this would help me ) - if I have a loan on Flowty, it can have an action to show:
Pay Back
We can even extend this to take a parameter:
For FT use cases:
- It can have an action to
Send Tosomeone FT tokens, with action parametersamountandrecipient
I am leaving technical details for discussion.
Contributors
Please respond with any desires or ideas of how this could be implemented
This is a very nice adition i think, it is not possible to automatically do them from this view, but it still a nice thing to know.
I am thinking action will direct wallet to a FLIX, but I didn't think all details. It can help with adoption of FLIX too.
I think this is a good idea, though I too am a little confused about how it will be able to route to the actual place to perform that action, so I don't know how useful it is.
@joshuahannan it will just reference a FLIX; if wallet supports FLIX, it will get the transaction and ask user to fill the parameters if any and ask user to confirm.
Are we far enough along with FLIX that we can make this now? I haven't been paying much attention to FLIX, so I don't know if it is all finalized and ready to use or not
Are we far enough along with FLIX that we can make this now? I haven't been paying much attention to FLIX, so I don't know if it is all finalized and ready to use or not
oh probably not yet, we can for sure move this after FLIX.