# How to create a smart contract (ERC-20)

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

## You have chosen the type of smart contract (ERC-20)

<div align="left"><figure><img src="https://3278441264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK7NYkl2DSHlCdZJi0l3U%2Fuploads%2F0XT5mNEdShW7a0Lw6qv2%2Fimage.png?alt=media&#x26;token=1b55bb79-d0eb-462a-9018-fc259164937d" alt=""><figcaption></figcaption></figure></div>

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%2FdrtmgUDbQr4hmJXLDKbr%2Fimage.png?alt=media&#x26;token=42104338-5e1b-454c-a6cc-63e25a0d5514" alt=""><figcaption></figcaption></figure></div>
2. In the "Symbol" field, you must enter the symbol of the token in Latin letters, which must consist of at least 3 letters/symbols.

   <div align="left"><figure><img src="https://3278441264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK7NYkl2DSHlCdZJi0l3U%2Fuploads%2FyNilDBSjV6JCLWbNTKlm%2Fimage.png?alt=media&#x26;token=fff2a3b6-0b29-4df3-a2ab-cecda8634a28" alt=""><figcaption></figcaption></figure></div>
3. In the "Initial supply" field, you must enter the number (integer) of tokens that will be issued.

   <div align="left"><figure><img src="https://3278441264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK7NYkl2DSHlCdZJi0l3U%2Fuploads%2Fu47Zhk8Kop8XHTJGZb60%2Fimage.png?alt=media&#x26;token=5aa41922-7442-44d9-8167-5a40cc898ddb" alt=""><figcaption></figcaption></figure></div>
4. In the "Decimal numbers" field, you must enter the number of decimal places for your token.

   <div align="left"><figure><img src="https://3278441264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK7NYkl2DSHlCdZJi0l3U%2Fuploads%2F21cMHYbAEyuS6ULIP2sO%2Fimage.png?alt=media&#x26;token=c7077cdc-19ca-4e5e-b98b-56723d5ef5da" alt=""><figcaption></figcaption></figure></div>
5. In the "Owner" field, the connected wallet is set by default, but it can be changed.

   <div align="left"><figure><img src="https://3278441264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK7NYkl2DSHlCdZJi0l3U%2Fuploads%2Fr8Qs6QweZIE3tMZxShUq%2Fimage.png?alt=media&#x26;token=f0bb2f92-db75-4385-b87a-c800868bcfac" alt=""><figcaption></figcaption></figure></div>
6. In the "Additional crontract functions" section, you can add additional functionality to the smart contract.

   <div align="left"><figure><img src="https://3278441264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK7NYkl2DSHlCdZJi0l3U%2Fuploads%2FdcEbiw1HkxfqRgrOm7xe%2Fimage.png?alt=media&#x26;token=7e36ff9b-8654-4565-ac93-87045dda0c22" alt=""><figcaption></figcaption></figure></div>

Additional crontract functions:

* Mintable - release of new tokens in a smart contract.
* Pausable - a function for the owner that allows you to stop all transactions in the smart contract.
* Blacklist - a function for the owner, which allows you to prohibit any address from conducting transactions in a smart contract.
* Burnable - a function that makes it possible to destroy tokens.
* Burn fee - a function that allows you to burn a set percentage of tokens from each transaction.
* Dev/marketing fee - a function that allows you to set a commission from each transaction and send it to the specified address.
* Liquidity fee - a function that allows you to replenish the liquidity pool of the token by a certain percentage from each transaction.

&#x20; 7\.  After creating a token, it becomes possible to deploy a smart contract to the Testnet test network for free or to the main Mainnet network by paying a service fee.                    &#x20;

<div align="left"><figure><img src="https://3278441264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK7NYkl2DSHlCdZJi0l3U%2Fuploads%2F6zKMsQiP2OH0rA5VtKpV%2Fimage.png?alt=media&#x26;token=13f6d935-9579-4e6d-929c-33e15a4776aa" alt=""><figcaption></figcaption></figure></div>
