Gridotto
Gridotto: Social Lottery
The problem Gridotto solves
Gridotto provides a simple and secure way for Universal Profile users to play a decentralized lottery on LUKSO. It uniquely boosts community interaction by allowing users to easily buy tickets for other people's UPs, enabling gifting and social engagement. This "buy for others" feature acts as a built-in viral mechanism, spreading awareness organically within the ecosystem. Furthermore, it adds tangible utility to on-chain assets like the Brave Universe VIP Pass by granting in-game advantages. Overall, it makes lottery participation seamless while fostering social connection and self-driven growth on LUKSO.
Challenges I ran into
One of the primary hurdles encountered during the development of both Gridotto and the BraveUniverseVIPPass NFT contract was generating secure and truly unpredictable randomness on-chain. This is crucial for fairly determining lottery winners and assigning random tiers during NFT minting.
Initially, relying solely on on-chain data like block.timestamp or blockhash presented significant security risks, as these can be somewhat predictable or even influenced by miners/validators. This made it difficult to guarantee the fairness required for a lottery or a random mint process.
This challenge was effectively overcome with the integration of a reliable external oracle service
Tracks Applied (1)
