-
Notifications
You must be signed in to change notification settings - Fork 1
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
Multiple NFTs #3
Comments
I think no – allowing URIs to specify requirements for multiple outputs quickly compounds the complexity of implementations. In the case of NFTs, wallets now need to optimally select UTXOs for these requirements (considering fees, privacy, etc.) which quickly gets into Knapsack problem territory. I think a better solution for this general problem is to define (in another CHIP/specification) a "template" parameter of some sort that specifies a set of complex requirements for multiple inputs and outputs, maybe across multiple transactions. Should consider both one-way and bidirectional communication, e.g.:
Anyways, I think I prefer to keep the base implementation for URIs as simple as reasonable. Right now we say:
It would probably be good to clarify further that inclusion of repeated parameters should trigger an error (and I don't think we should treat commas in any special way vs. other characters for now). How does db994af look? |
Could/should the URI support a request for multiple NFTs? If so, should there be many
n
parameters (n=00&n=01
) or onen
parameter with comma separated values (n=00,01
)?If it's not allowed the specification should state that the parser must produce an error.
The text was updated successfully, but these errors were encountered: