# TEP-1155

### What is TEP1155 ? <a href="#what-is-tep1155" id="what-is-tep1155"></a>

TEP1155 is a token standard for semi-fungible tokens (SFTs) on the TAN-chain blockchain. Similar to ERC1155 on Ethereum, TEP1155 allows for the creation of both fungible and non-fungible tokens within a single contract. This standard provides flexibility for developers to represent a variety of digital assets, including unique items, collectibles, and fungible tokens, all within a single smart contract.

### Key Features of TEP1155 <a href="#key-features-of-tep1155" id="key-features-of-tep1155"></a>

* **Semi-Fungible Tokens (SFTs) :** TEP1155 tokens are semi-fungible, meaning that each token can represent multiple identical or unique items.Unlike traditional fungible tokens (e.g,cryptocurrencies ), TEP1155 tokens can have varying properties and attributes, making them ideal for representing diverse digital assets.
* **Batch Transfers :** TEP1155 supports batch transfers, allowing users to send multiple tokens in a single transaction. This feature is particularly useful for applications such as gaming, where players may acquire or exchange multiple items simultaneously.
* **Single Contract Deployment :** With TEP1155, developers can deploy a single contract to manage multiple types of tokens, including both fungible and non-fungible assets.
* **Reduce Gas Costs :** TEP1155 optimizes gas usage by allowing batch transfers and efficient storage of token balances.

### Use Cases <a href="#use-cases" id="use-cases"></a>

* **Gaming Assets and Items :** TEP1155 tokens are well-suited for representing in-game assets, such as characters, weapons, armor, and consumables. Game developers can create dynamic gaming experiences where players can collect, trade, and upgrade various items, all within a single token contract.
* **Digital Collectibles and Arts :** TEP1155 tokens can be used to create digital collectibles and art pieces with varying attributes, such as rarity, edition, and artwork type.
* **Tokenized Securities and Investments :** TEP1155 tokens can represent tokenized securities, investment funds, and financial instruments.
* **Supply Chain and Inventory Management :** TEP1155 tokens can track and manage inventory items, product batches, and supply chain logistics. Each token can represent a unique item or batch of products, providing transparency and traceability throughout the supply chain process.
* **Decentralized Finance (DeFi) Applications :** TEP1155 tokens can be used in decentralized finance (DeFi) applications for creating synthetic assets, liquidity pools, and tokenized derivatives. DeFi protocols can leverage TEP1155 to provide diverse financial products and services to users, including lending, borrowing, and trading.

#### Deploying TEP1155 Token Contracts <a href="#deploying-tep1155-token-contracts" id="deploying-tep1155-token-contracts"></a>

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

* [Remix IDE](https://remix.ethereum.org/#lang=en\&optimize=false\&runs=200\&evmVersion=null\&version=soljson-v0.8.26+commit.8a97fa7a.js)
* [Truffle](https://archive.trufflesuite.com/)
* [Hardhat](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-1155.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.
