Skip to content
🎰 LottoMoji 🎲

🎰 LottoMoji 🎲

🎉 Match 4 emojis to win 🏆

Created on 30th June 2025

🎰 LottoMoji 🎲

🎰 LottoMoji 🎲

🎉 Match 4 emojis to win 🏆

The problem 🎰 LottoMoji 🎲 solves

Giving a creative approach to the new lottery system that is getting popularity in CT that forces users to hold a token, participate on speculation only to participate on a lottery, giving fluctuation prices on the tickets and very low prizes with pools starting from zero, with the addition of unfair advantage to early buyers and KOLs

proposing an smart reserve system that captures 20% of the sales to refill prize pools as users win prizes, securing never having zero money on the pools

the use of USDC as the only coin to buy tickets and claim prizes removes especulation and keeps only the luck part of modern finances we like

using NTF tickets and Chainlink automation to secure fairness on the generated numbers and efectivens on the prizes distribution

Challenges I ran into

as this is my second oportunity trying to make something work with chainlink automation and vrf , i really had hard time making the upkeep work because i did not set up the contract to use vrf 2.5 but vrf 2 instead.
had some very simple problems like using a -1 or +1 on the draw day logic that was causing the lottery to play on theday before or every two days instead of every day

this is not my first contract but is one of the first and possibly the most complex with the multiple pool and reserve pool systems

optimizing it for hundreds of thousands of tickets sold everyday is also challenging, already have plans to scalate but couldnt make the contract work with some last time changes i did, so ill just apply them latter with more time

Tracks Applied (2)

Onchain Finance

Luck is an important sector of modern finance with Exchanges behaving like Cassinos where most people losses their money...Read More

Avalanche Track

Decided to deploy on Avalanch to benefit from the autogas function that reduces monitoring and maintaining when scalatin...Read More
Avalanche

Avalanche

Technologies used

Discussion

Builders also viewed

See more projects on Devfolio