> For the complete documentation index, see [llms.txt](https://tokenbank.gitbook.io/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tokenbank.gitbook.io/doc/smart-contract-token/basic-token.md).

# Basic Token

Tools for tokenization and construction of smart contracts in the ERC20 standard.

{% hint style="info" %}
**Copy and modify:** Copy the sample code and make the necessary changes as per the instructions contained in this documentation. Always do your tests using the testnet network before publishing on mainnet.
{% endhint %}

## Basic Token code

The following code can be used in testnet or mainnet.

ERC20 Basic Tokens can be used for various situations such as tokenization of assets, or division of shares between StakeHolders.

This code generates an industry standard ERC20 token with no burn rules, fees or any integrations with the liquidity pool within the contract code.

{% tabs %}
{% tab title="Basic Token Testnet ou Mainnet" %}

```javascript
new contract
contract.token erc20=> (
  {
     name : "My Token",
     symbol : "BTCZ",
     totalSupply : 25000000
  }
)
contract.token deploy=> ("mainnet")
```

{% endtab %}
{% endtabs %}

## Understand the parameters&#x20;

`CONNECT` `https://dapp.tokenbank.exchange/`

#### Request Body

| Name                                          | Type   | Description                                                                                        |
| --------------------------------------------- | ------ | -------------------------------------------------------------------------------------------------- |
| name<mark style="color:red;">\*</mark>        | string | Token Name                                                                                         |
| symbol<mark style="color:red;">\*</mark>      | string | Token Symbol                                                                                       |
| totalSupply<mark style="color:red;">\*</mark> | int    | Integer value with the total Supply generated when creating the token, do not use decimal places.. |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}
