Skip to content

🆑 Cryptolotto is a blockchain-based, Ethereum powered lottery, which gives to users the most transparent and honest chances of winning😉

Notifications You must be signed in to change notification settings

skyloid/Cryptolotto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptolotto - Ethereum powered blockchain lottery

N|Solid N|Solid N|Solid

Cryptolotto is a blockchain-based, Ethereum powered lottery, which gives to users the most transparent and honest chances of winning.

Cryptolotto_banner

Table of Contents

  1. Overview
  2. List of games
  3. How to play
  4. Explainer video
  5. The algorithm of picking a winner
  6. Features
  7. Frequently Asked Questions
  8. Contact Support

Overview

Cryptolotto is a powered by Ethereum DApp (decentralized application). The backend code is running on a decentralized peer-to-peer network and is presented by 12 smart contracts and a front-end. Cryptolotto works autonomously and with no entity controlling the key functions. The Cryptolotto's data and records of operation are cryptographically stored in a public, decentralized Ethereum blockchain network.

The main idea of Cryptolotto is straightforward: people from all over the world contribute equal amounts of ETH to one wallet during the set period of time. When a timer ends, this smart-contract powered wallet automatically sends all received ETH to one randomly chosen wallet-participant.

Cryptolotto_demo

List of Games

Name Duration Price Contract Address
Long 1d 1 day 0.03 ETH 0x554bb05483601093bf2e60a3492f4e5438e0c6a7
Long 7d 7 days 0.02 ETH 0x484ae89cb0b1a03c94dc78ed02999ef010c9f258
Long 30d 30 days 0.03 ETH 0x96ee07c53fdeddda0f83642808b9a707744fd449
Short 10m 10 minutes 0.01 ETH 0x82c453724bc9d746e61b164085f60752c595411b
Short 1h 1 hour 0.02 ETH 0xef38893768960f9d7f9b20cc2cf63c7f6a113136
Short 6h 6 hours 0.05 ETH 0x335cd59a7196b41b11a786673d95eff8355abef7
Gold 1m 10 minutes 0.1 ETH 0xc88a9e1c1ef77a1c9964ce9010734ad553c6f2f1
Gold 6h 6 hours 0.5 ETH 0xe77eb30c73465c322827fd7bb2e73542a2eb2c96
Gold 1d 1 day 1 ETH 0x90296b63fc58512f388b085caad23e1c4845e11e

How to play

  • Use an Ethereum. To start playing, you should have one of these wallets: Ethereum Wallet, Parity Wallet, MyEtherWallet or Metamask. Top up your wallet with enough amount of ETH first, before you start to play.
  • Select your Game. 9 Games are running simultaneously. There are 3 Game types: Short, Long and Gold. Each type has 3 different game durations and entrance cost. Entering the same one game twice or more is allowed.
  • Copy the wallet address. Be sure to send your funds to the right wallet address. Each game has its own unique address presented on the Home page as well as on our official Github page.
  • Send your funds. Each game has its own price. To join the game, you need to send the right amount of ETH to the given address. If you get everything right, you will find your wallet address in the list of players.
  • Wait for result. Join our Telegram channel to receive notifications about Jackpot winners. If you are the winner, then you will receive all the Jackpot amount back to your wallet immediately after the end of the game.

Explainer video

Please watch this explainer video on YouTube. We hope it will clear all your questions.

Features

  • Play safely. You can join the game safely, even if there are no other players at the time. If by the end of the game no one joins besides you, you will automatically receive your ETH back to your wallet immediately.
  • Get results. Recieve instant notifications on your phone by joining our Telegram. Get useful information about a name of a game, jackpot amount in ETH and USD, timestamp, winner's wallet address and TX hash.
  • Works worldwide. Everyone it the world can play the Cryptolotto. There are no borders, limitations or special terms. To start playing, it’s enough to have an Internet access, an Ethereum wallet and ethers. Cryptolotto is not limited to only one country, doesn’t require a special citizenship and is free of any bureaucracy.
  • Play all games. In Cryptolotto you can participate in one game unlimited amount of times. Also, you can play in all games simultaneously. It increases chances to win, but remember this not guarantees a win because a winner is always picked randomly.
  • MetaMask supported. Play the game in one click by using MetaMask wallet. Having Chrome or Firefox browser and MetaMask makes the process of playing in Cryptolotto even more simple and user friendly. No need to copy&paste addresses and entering prices, just click one button and you will joing the game right away!
  • Mobile devices supported. Cryptolotto supports Cipher Browser which gives ability to use DAaps on mobile phones. Download iOS or Android version of Cipher and play Cryptolotto on the go!

The algorithm of picking a winner

    }
    
    function randomNumber(uint min, uint max) public constant returns (uint) {
        uint random = uint(keccak256(
            block.timestamp * 
            block.difficulty * 
            block.number *
            uint(block.blockhash(block.number - 1))
        ))%10 + 1;
       
        uint result = uint(keccak256(random))%(min+max)-min;
        
        if (result > max) {
            return max;
        }
        
        if (result < min) {
            return min;
        }
        
        return result;
    }

Each wallet-participant gets ${uint _number} when he joins the game. Random number determination depends on current block timestamp, block difficulty, block number and previous block hash. We set determination between min and max values. Additional conditions, in case something goes wrong, are set to prevent contract from sending Jackpot to invalid address.

Frequently Asked Questions

Please follow this link to found Cryptolotto FAQs

Contact Support

If you have any questions about this game please contact us via Telegram.

About

🆑 Cryptolotto is a blockchain-based, Ethereum powered lottery, which gives to users the most transparent and honest chances of winning😉

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published