# TEP-20

## Overview

The TEP20 token standard is a core component of the TAN-chain blockchain, similar to the ERC20 standard in Ethereum. It defines a set of rules and functionalities that a token contract must follow to ensure compatibility and interoperability across the TAN-chain ecosystem.

## Key Features of TEP20

* **Transferable**: Tokens can be transferred from one account to another.
* **Transfer Approval**: A token owner can approve another account to transfer tokens on their behalf.
* **Balance Query**: The balance of any account can be queried.
* **Allowance Query**: The amount of tokens that an owner allowed to a spender can be queried.

## Use Cases

* **Digital Currency**: TEP20 tokens can represent any fungible assets such as currencies, points, or in-game items.
* **Fundraising**: Used in Initial Coin Offerings (ICOs) or token sales.
* **Staking and Rewards**: Can be used in various decentralized finance (DeFi) applications for staking and reward distribution.

## Deploying TEP20 Token Contracts

There are several methods to deploy a TEP20 token contract on the TAN-chain network.

* [Remix IDE](https://remix.ethereum.org)
* [Truffle](https://archive.trufflesuite.com/)
* <mark style="color:blue;">Ha</mark>[<mark style="color:blue;">rdhat</mark>](https://hardhat.org/)


---

# 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.tan.live/getting-started/developer-guide/deploy-smart-contracts/tep-20.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.
