I hear you very well
The use case is a loterry where user can choose a number.
At the end one of the numbers chosen by the users will be selected as the winning number
At most one user per number (so uniqueness of bought numbers)
A user can buy as many numbers as he wants
I thought I would model the bought numbers as a nft collection and save on the contract storage only the list of numbers that have been chosen
Is it clearer?
It's clearer now ? Thank you :)
Might be my personal bias, but wouldn't just assigning the user an index be enough for your use case?
I don't see the additional value of letting the users choose the number, unless you want to have either multiple winners or rounds with no winners at all ?
The nft collection might be a nice gimmick though?
It's clearer now ? Thank you :) Might be my personal bias, but wouldn't just assigning the user an index be enough for your use case? I don't see the additional value of letting the users choose the number, unless you want to have either multiple winners or rounds with no winners at all ? The nft collection might be a nice gimmick though?