> 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/smart-contracts/lottery-contract/jackpot-lottery.md).

# Jackpot Lottery

Jackpot lottery - lottery format in which a minimum percentage of players wins a super prize, and the rest of the participants leave with nothing.

For example, 5% of participants take 100% of the cost of all tickets.

You can flexibly configure the percentages of winners and their shares in the CryptoDo constructor interface.

## Why do we need lotteries?&#x20;

1\. Prize draws increase the activity of the audience.

2\. An additional source of income. The lottery creator sets a fixed commission for the purchase of tickets in a smart contract.

3\. Attracting a new audience. Prize draws are always a good tool in marketing campaigns.


---

# 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:

```
GET https://docs.cryptodo.app/smart-contracts/lottery-contract/jackpot-lottery.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
