751854
Chancey

@chancey-project #751854

Play 🎲 Win 🏆 Own 💰 -- Chancey is a fair, community driven, decentralized lottery. https://www.getchancey.com/
123 Follower 95 Following
Chancey was built using the API3 QRNG service for random number generation. Unfortunately, the service will be sunset starting next month. Time to explore alternatives! As a result, frame development is temporarily on hold.
Inviting @katfantom because they are a based builder and an awesome artist!
This year I built...

Over the past few weeks, I’ve been sharing bits about my project, Chancey. Since this round focuses on the whole year, I thought it was the perfect time to reintroduce it.

Chancey is a fun and unique lottery that’s only possible in Web3. The blockchain technology allows Chancey to be 100% transparent and fully owned by its players. At its core, Chancey is a growing pool of funds that expands as more players join. Buying a lottery ticket offers two things: a chance to win the pot and direct ownership of the pot itself.

Now, imagine a community of Web3 enthusiasts coming together to grow and manage this pot -- building a truly unique game that can have a real-world impact by supporting various causes. I want to make this vision a reality, but I’m just one guy writing code, looking for passionate builders like you to join my efforts.

The project currently has a beta version running on Sepolia, and I’ve made a video to showcase the game: https://www.youtube.com/watch?v=ktm9I0HOAUA
Although bridging Chancey Points is still far off, this article got me thinking... 🤔

Chancey Points are minted exclusively in exchange for ticket purchases, meaning players on different chains will mint canonical tokens when buying tickets on those chains. But how do we move these points between the chains where they were minted?

This article presents a lot of options, and I think ERC-7281 might be the perfect approach.
I have a frame (v2) that loads perfectly fine in the Frog Dev Tool. The image is around 100KB, and the response time is approximately 1 second.

However, when I run it through the Waprcast validator, I get the following error:

"validateFrameEmbed 400 - Unable to fetch image, upstream server error: 403 Forbidden."

In both cases, the frame is served through ngrok. Interestingly, if I reduce the number of HTML elements in the image, the validator passes without any issues.

Does anyone have any idea what might be causing this?
Traditional lotteries have always been vulnerable to fraud, and they still are. One infamous case is Eddie Tipton, who rigged lottery outcomes for years, pocketing millions.

With Chancey, that’s not even a possibility. Every transaction and rule is locked on the blockchain. Tamper-proof and fully transparent. Fraud? Not here.
From the bot collection, the last one cracks me up 🤣.
Got any clever ideas of your own?
This week I built...

Completed the verification of all Chancey smart contracts!

Transparency is key to how Chancey works. Every rule, action, and outcome is recorded on the blockchain for anyone to see. No hidden terms, no fine print, and no chance of tampering. Whether it’s a lottery draw, a financial transaction, or governance voting, you always know what’s happening and why.

The source code for all smart contracts is now available for anyone to inspect.

Chancey was built using the Diamond Pattern (EIP-2535), which makes the system modular and flexible. You can check out the diamond’s source code here: https://sepolia.basescan.org//address/0x830Cc3EE6f2a1654be8CAF0f8F56dA8e7406b849#code ,and the source for each facet is included in the comments.
Another hot take, these bots are hilarious 🤣
Smart contracts are immutable by design, which is great for ensuring trust -- knowing that things won’t change. However, it’s not so great when you need to fix bugs or add new features.

Fortunately, the Ethereum community has developed some clever design patterns that allow developers to introduce upgradeability while still maintaining decentralization and security.

Among these patterns is the Diamond Standard (EIP-2535), which Chancey has implemented. When combined with OpenZeppelin’s Governance implementation, it enables players to collaborate and modify the game as they see fit.
Actually, the bot is on to something.. if you dig enough, there could be gold!
Bots these days 🤣
Hunt Town resident checking in for feedback. What do you guys think? Yay or Nay?
What do you guys think of the progress so far?
This week I built...

I took a deep dive into frame development and successfully tested buying Chancey tickets directly from Warpcast.

Despite some obstacles, things are looking promising. The development isn’t finished yet, and the frame hasn’t been deployed, but here’s a picture of the end result I’m aiming for.

Let me know what you think.
Hey frame developers, I’m running into an issue and could really use some help. I’ve set up the dev/debugging environment, and while the frame loads perfectly fine in the Warpcast Frame Validator on the browser, it doesn’t show up in the mobile app.

When I open the dev tools in the mobile app and try to load my frame, I get a blank screen, and the ngrok endpoint logs requests it can’t handle.

Any ideas on what might be causing this? I’d appreciate any tips!
Chancey likes raffles 😍
Did you know? People spent a staggering $320 billion on lotteries in 2022—that’s $40 for every single person on the planet! 🌍🎟️💰🤯
This week I built...

It was fun converting the flat logo into a ball. Get Chancey!
Diving into frame development for Chancey. The potential is promising!
Super excited! This was my first season too, and now I have a mini 🏢 😛

Thanks a bunch @if 👍
Hey @nikolaiii, I like your Hunt Stats frame. Is the code public?

I would like to write a frame for Chancey by following a working example and your frame came to mind.
I think Chancey could benefit from a frame for selling lottery tickets, and I’m excited to start exploring frame development. Does anyone know of a good beginner-friendly article?