# ERC-20 smart contract

### Create your own token <a href="#create-your-own-token" id="create-your-own-token"></a>

As a best practice, you can choose to create your own token using the ERC-20 standard template.&#x20;

Use the following smart contract in the code editor of your choice, customise your cryptocurrency, and compile your code after approving the connection using your preferred digital wallet (here, MetaMask Wallet is used).

### ERC-20 smart contract <a href="#erc-20-smart-contract" id="erc-20-smart-contract"></a>

```solidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts@4.9.6/token/ERC20/ERC20.sol";

contract InterchainToken is ERC20 {
   
    constructor() ERC20("TestToken", "TST") {

        // Mint 77000000 tokens to the creator
        _mint(msg.sender, 77000000 * 10 ** 18);
    }

}
```

{% embed url="<https://wizard.openzeppelin.com/>" %}


---

# 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.parex.network/welcome/quick-start/deploy-and-verify-a-contract/deploy-with-remix-ide/erc-20-smart-contract.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.
