> 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.md).

# Lottery Contract

In CryptoDo, you can create a smart contract and a web interface for conducting a fair lottery on the blockchain.

With the help of CryptoDo's web 3 lottery constructor, you can hold prize draws for your community, increase audience activity and earn commissions from ticket sales.

You can create several types of lotteries and flexibly configure them :

<table data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th data-hidden></th><th data-hidden></th><th data-hidden></th></tr></thead><tbody><tr><td><a href="/pages/zHd1HID55W002SaNXjII">/pages/zHd1HID55W002SaNXjII</a></td><td></td><td></td><td></td></tr><tr><td><a href="/pages/xJAzT5XLZyyuQxcexGXi">/pages/xJAzT5XLZyyuQxcexGXi</a></td><td></td><td></td><td></td></tr><tr><td><a href="/pages/ZF3JrlWqg65zXGM6toS5">/pages/ZF3JrlWqg65zXGM6toS5</a></td><td></td><td></td><td></td></tr></tbody></table>

{% content-ref url="/pages/E0mN4qKAT7Y24kJN2PFH" %}
[How to create lottery](/how-to-use-cryptodo/how-to-create-lottery.md)
{% endcontent-ref %}
