Anish-Agnihotri / MultiRaffle

NFT distribution with (1) randomized, multi-winner raffles and (2) bulk on-chain metadata generation.
GNU Affero General Public License v3.0
269 stars 52 forks source link

Incomplete implementation of `tokenURI` #6

Open chrishol opened 3 years ago

chrishol commented 3 years ago

I love the batched reveal idea, but it's not clear to me how you would go from a single random number (entropy) for a batch of tokens to a unique id within a larger range. Do you have an idea for how this would be accomplished?

https://github.com/Anish-Agnihotri/MultiRaffle/blob/a468d0029138ec0166e9e43697c4053c340d7e13/src/MultiRaffle.sol#L325-L326