> For the complete documentation index, see [llms.txt](https://docs.cryptodo.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cryptodo.app/cryprodo-ru/kak-polzovatsya-cryptodo/how-to-create-lottery.md).

# How to create lottery

{% embed url="<https://www.youtube.com/watch?v=R94VwUFEQDk>" %}

## Вы выбрали тип смарт-контракта (Лотерея)

<figure><img src="/files/5fjF2fTdxBQUZrAxDqpX" alt=""><figcaption></figcaption></figure>

1. В поле "Названия лотереи" вы должны ввести название лотереи <mark style="color:red;">(Название лотереи должно быть на английском языке !)</mark> Название лотереи может быть какое угодно и не будет конфликтовать с такими же названиями .

   <div align="left"><figure><img src="/files/7a8XkLMHczcjfzCc4Ecb" alt=""><figcaption></figcaption></figure></div>
2. В поле "Цена за 1 билет" необходимо ввести цену за  1 билет, которое будет выпущено.&#x20;

   <div align="left"><figure><img src="/files/VcWdeYIwMDnuypomfoZH" alt=""><figcaption></figcaption></figure></div>
3. В поле "Количество билетов" необходимо ввести количество билетов <mark style="color:red;">(Должно быть целое число!)</mark>, которое будет выпущено. <mark style="color:red;">(Минимальное количество 10 билетов)</mark>.

   <div align="left"><figure><img src="/files/yteGwAtqRurUD9prjg7H" alt=""><figcaption></figcaption></figure></div>
4. В полях "Начало" и "Конец" необходимо указать период в течении которого будет проводиться лотерея.&#x20;

   <div align="left"><figure><img src="/files/UOcIhhmEf2fGSnqOspmQ" alt=""><figcaption></figcaption></figure></div>
5. В поле "Комиссия" необходимо ввести процент создателю лотереи от суммы покупки билетов.

   <div align="left"><figure><img src="/files/HFD97VzuzJ1W7pWfU0rR" alt=""><figcaption></figcaption></figure></div>
6. В Секторе "Тип лотереи" необходимо выбрать один из трёх предложенных типов лотереи.

   <div align="left"><figure><img src="/files/rW8qhKgMwG6SoqBc1XRj" alt=""><figcaption></figcaption></figure></div>
7. После создания токена появляется возможность задеплоить смарт-контракт в тестовую сеть Testnet бесплатно или в основную сеть Mainnet, оплатив комиссию сервиса.

   <div align="left"><figure><img src="/files/mVlD94WHY1ZH6ZLcvzbJ" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cryptodo.app/cryprodo-ru/kak-polzovatsya-cryptodo/how-to-create-lottery.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
