Raflux is designed to make decentralized raffles simple, fair, and transparent — for both users and developers. Below is an overview of everything Raflux can do ✨
🎟️ NFT Ticket System
Each raffle ticket is minted as an ERC-1155 NFT, representing a verifiable on-chain entry.
🧾 Unique ticket ID: every ticket links to a specific raffle and wallet.
💡 Proof of participation: ownership recorded permanently on the Base blockchain.
🔒 Escrow Asset Locking
Raflux ensures all assets are held safely until the raffle concludes.
🔐 Sellers lock NFTs or tokens in the escrow contract.
💵 Buyers’ USDC are stored securely until results are final.
🔄 Automatic release to winners and sellers based on contract logic.
🛡️ Prevents unauthorized withdrawals or manipulation.
All funds and assets are fully on-chain — no central custody.
🎲 Chainlink VRF Fair Draw
Every winner is selected using Chainlink VRF (Verifiable Random Function), ensuring unbiased and tamper-proof randomness.
🧠 Transparent randomness request visible on-chain
⚙️ Automatically triggered at raffle end
🧾 Proof of randomness stored for audit
🎯 Fair play is guaranteed — randomness you can verify.
🧮 Funding Target Logic
Each raffle defines a goal amount and ticket supply.
💰 If target is met:
Seller receives 90% of total raised.
Platform fee = 10%.
Winner receives the listed asset.
⚖️ If target is not met:
Collected funds are raffled instead.
Winner gets the pool (minus 5% fee).
Ensures every raffle concludes with value distributed — either the asset or the funds.
🏆 Claim Mechanism
Claiming is handled completely on-chain through the smart contract.
Only the wallet holding the winning NFT can claim.
Contract checks:
Winner verification
Claim status
Asset availability
Automatic payout to verified winner.
🧾 Claim once — results are final, verifiable, and logged forever.
🤖 Telegram Bot Integration
Stay updated in real-time through Telegram.
🔔 Instant notifications for:
Ticket purchases
Raffle ending & results
Win / loss announcements
🧩 Simple mapping via wallet ↔ username
⚙️ Optional bot integration — no private data stored