Posts  / #POST-239471
REDDIT

A fully on-chain ICP raffle dApp — transparent, verifiable, no off-chain tricks

Most meme or lottery-style tokens are vague about how things work behind the scenes, so I wanted to try something different, something that’s 100% transparent, verifiable, and actually lives fully on-chain.

That’s how Dvinity started: as a small community project built on the Internet Computer (ICP) using the ICRC-1 token standard, mostly as a learning journey that grew into a real on-chain application.

What makes it interesting (at least in my opinion) is that the entire raffle flow runs inside smart contracts (canisters).

• Randomness is generated on-chain
• All accounting happens on-chain
• Payouts execute after a winner claims the prize, verifiable on-chain
• No servers, cronjobs, or off-chain RNG scripts
• No hidden backend logic at all
Recently I added more features to make it fun and more utility-driven:
• Token-agnostic raffles (any ICRC token can be used)
• Daily + weekly draws
• On-chain burn mechanism tied to usage
• Staking mechanics
• A small “Mini DAO” module
• Completely free tickets for some raffles

If you want to check it out or test the mechanics:
👉 https://dvinity.eu/lotteries

This is not meant as a shill, just sharing something I’ve been building and learning from. If anyone has feedback, ideas, or criticism, feel free to drop it.

More info? The whitepaper is also available on the site:
👉 https://dvinity.eu
(scroll to the bottom, there’s a link)