# How to create a smart contract (ICO)

{% embed url="<https://www.youtube.com/watch?ab_channel=CryptoDo&v=1JidYhZhFuo>" %}

## You have chosen the type of smart contract (ICO)

<figure><img src="https://3278441264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK7NYkl2DSHlCdZJi0l3U%2Fuploads%2FA9RaxzABUOUK9u2b48tt%2Fimage.png?alt=media&#x26;token=38aa0c84-5b1a-405c-9e94-597b7b364138" alt=""><figcaption></figcaption></figure>

1. In the field "Name of the token" you must enter the name of the token in Latin letters. It can be anything, even existing ones.

   <div align="left"><figure><img src="https://3278441264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK7NYkl2DSHlCdZJi0l3U%2Fuploads%2Fw5MJrYcIolaVtbdQblII%2Fimage.png?alt=media&#x26;token=4a06df84-2fc0-45b4-8b9a-e6db566a25b7" alt=""><figcaption></figcaption></figure></div>
2. In the "Token contract address" field, you must enter the address of the token contract (the address of the token contract must be only an ethereum address!). Make sure that the network of the token matches the network of the ICO contract.&#x20;

   <div align="left"><figure><img src="https://3278441264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK7NYkl2DSHlCdZJi0l3U%2Fuploads%2FiYDAxCXdZDgf1srqknYO%2Fimage.png?alt=media&#x26;token=e7d99f35-545b-4ece-a6c2-467e1afd88c8" alt=""><figcaption></figcaption></figure></div>
3. In the "Price" field, you must enter a number that will indicate the price of the token for 1 BNB. &#x20;

   <div align="left"><figure><img src="https://3278441264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK7NYkl2DSHlCdZJi0l3U%2Fuploads%2FRvoFr84vuhtZggFv4MsD%2Fimage.png?alt=media&#x26;token=198602e6-9d0e-46a8-9352-e87bc9d90dc7" alt=""><figcaption></figcaption></figure></div>
4. In the "Token blocking period" field, you must select the time period during which the user will not be able to receive the purchased tokens to his wallet.

   <div align="left"><figure><img src="https://3278441264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK7NYkl2DSHlCdZJi0l3U%2Fuploads%2FAgKsiIi6EAyBE8XBV2Hu%2Fimage.png?alt=media&#x26;token=707b26fb-1c91-4584-9276-ed1d750a19b1" alt=""><figcaption></figcaption></figure></div>
5. In the "Decimal numbers" field, you must enter the number of decimal places for your token.&#x20;

   <div align="left"><figure><img src="https://3278441264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK7NYkl2DSHlCdZJi0l3U%2Fuploads%2FVBuwxrpkpzrC43JOdKbE%2Fimage.png?alt=media&#x26;token=45e7c541-1ee2-4fe6-a396-54d7dd7af8eb" alt=""><figcaption></figcaption></figure></div>
6. In the "Maximum tokens per wallet" field, you must enter a number indicating the maximum number of tokens that the user can buy using one wallet.

   <div align="left"><figure><img src="https://3278441264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK7NYkl2DSHlCdZJi0l3U%2Fuploads%2F7hunY3vREcEXhNmfrAGH%2Fimage.png?alt=media&#x26;token=4f131751-7257-4800-a309-2311ed06de9e" alt=""><figcaption></figcaption></figure></div>
7. You have the choice to run your smart contract on the "Testnet" test network (free of charge) to check its performance, or on the "Mainnet" for CDO to the Internet, a ready-made version of the smart contract.&#x20;

   <div align="left"><figure><img src="https://3278441264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK7NYkl2DSHlCdZJi0l3U%2Fuploads%2F78UXUcBeX4IyLU57Bw13%2Fimage.png?alt=media&#x26;token=8c28b382-1045-4a44-a1b3-637d09b4c3fe" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: 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/how-to-use-cryptodo/how-to-create-a-smart-contract-ico.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.
