DLS - Decentralized Lottery System

DLS - Decentralized Lottery System

Lottery system with multiple winners built on blockchain. Trustless. Borderless. Permissionless.

The problem DLS - Decentralized Lottery System solves

  1. Frauds and Malpractices in current systems: Illegal malpractices and scams are common, where users have been cheated out of their money by fake lottery schemes. Blockchain solves the whole set of problems in this segment.
  2. Lack of Transparency: Allegations of a lack of transparency in the lottery system, especially in the selection of winners and distribution of prizes, are common in lottery markets. Even the middleman's entry creates the trouble of what happens in ownership. Smart contracts automate the whole journey and bring the hat of a transparent system (Lifecycle of buy, withdraw, prize distribution).
  3. Trust: Anyone can audit the smart contract, and this will be the finest process out there to operate a lottery process. So, a much better delivery for the end-users to install faith and trust.
  4. Limited Number of Winners: Existing lottery systems focus on single owners and bank on the whole prize money. The new mechanism which we are deploying will help in two folds. First, it adds a chance to help multiple participants win (win rate goes up). Second, the prize money will be much larger than any system out there.

Challenges we ran into

  1. Testing the Chainlink oracle was a challenge, and we had to use Chainlink-mix of Brownie as a starting point for the project. We have extensively tested the VRF oracle to make sure it works on the mainnet.

  2. Finding a fair payout scheme was challenging as well. We evaluated 50+ existing payment schemes of lottery markets, and we still weren't convinced with any of these, so we made our own DLS mechanism, which is the most rewarding and fair mechanism out there.

  3. Integrating Ethers.js was a challenge as this was the first time we used the library, and we found the documentation inadequate.

  4. We had trouble finding testnet-ethers for Goerli and Kovan, so we decided to use the Sepolia testnet to do the integration testing.