🟦
CryptoDo
LaunchDapp
English
English
  • 🔷CryptoDo Introduction
  • 💡Smart contracts
    • 💎Token (ERC-20 Contract)
    • 💰Crowdsale (ICO Contract)
    • 🖼️NFT Collection (ERC-721)
    • 🏦DAO Contract
    • 🎲Lottery Contract
      • Win-win Lottery
      • Jackpot Lottery
      • Prize draw
    • 📤Multisender/AirDrop
    • Multisig
    • 🔒Vesting
  • ⚙️How to Use CryptoDo
    • 💎How to create a smart contract (ERC-20)
    • 💰How to create a smart contract (ICO)
    • 🖼️How to create a smart contract (ERC-721)
    • 🏦How to create DAO
    • 🎲How to create lottery
    • 📤How to create a smart contract (Multisender/AirDrop)
    • 🔒How to create vesting contract
  • 🚰Faucet
    • 🚿How to use CryptoDo Faucet
  • 🔹CryptoDo Token (CDO)
  • 🧩Modules
  • ✔️CryptoDo use cases
  • 🔗Blockchains
    • Ethereum
    • Binance Smart Chain (BSC)
    • Polygon
    • Aurora
    • Optimism
    • Avalanche
    • Mantle
    • OKX
  • 🖇️Links
Powered by GitBook
On this page
  1. How to Use CryptoDo

How to create lottery

PreviousHow to create DAONextHow to create a smart contract (Multisender/AirDrop)

Last updated 2 years ago

You have selected the type of smart contract (Lottery)

  1. In the "Lottery Names" field, you must enter the name of the lottery (The name of the lottery must be in English!) The name of the lottery can be anything and will not conflict with the same names.

  2. In the "Price for 1 ticket" field, you must enter the price for 1 ticket to be issued.

  3. In the "Tickets amount" field, enter the number of tickets (Must be an integer!) to be issued. (Minimum quantity 10 tickets).

  4. In the fields "Start time" and "End time" you must specify the period during which the lottery will be held.

  5. In the "Owner Fee" field, you must enter the percentage for the creator of the lottery from the amount of ticket purchases.

  6. In the "Lottery Type" section, you must select one of the three proposed types of lottery.

  7. После создания токена появляется возможность задеплоить смарт-контракт в тестовую сеть Testnet бесплатно или в основную сеть Mainnet, оплатив комиссию сервиса.

⚙️
🎲