> For the complete documentation index, see [llms.txt](https://docs.chiliz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chiliz.com/ko/gaebal/goseup/omnicheun-token.md).

# 옴니체인 토큰 사용

## LayerZero와 옴니체인 토큰 표준 소개

[LayerZero](https://layerzero.network/)는 옴니체인 메시징 프로토콜입니다.

한 체인에서 자산을 잠그고 다른 체인에서 래핑된 복사본을 민팅하는 전통적인 "브릿지"와 달리, LayerZero는 서로 다른 체인의 스마트 컨트랙트가 직접 "대화"할 수 있게 합니다.\
이는 일반 토큰을 위한 옴니체인 대체 가능 토큰 표준(OFT)과 NFT를 위한 옴니체인 대체 불가능 토큰 표준(ONFT)을 통해 이루어집니다.

OFT 및 ONFT 표준에 대해 자세히 알아보세요:

{% embed url="<https://docs.layerzero.network/v2/concepts/applications/oft-standard>" %}

실질적으로 LayerZero의 OFT는 프로젝트 토큰(예: $PSG 또는 $CITY)이 Chiliz Chain에 네이티브로 존재하면서 다른 블록체인과 해당 생태계로 원활하게 이동할 수 있게 합니다.

LayerZero는 동등한 수의 OFT/ONFT 스마트 컨트랙트 덕분에 170개 이상의 블록체인 네트워크에서 700개 이상의 자산을 지원합니다:

{% embed url="<https://docs.layerzero.network/v2/deployments/oft-ecosystem-stargate-assets?stages=mainnet>" %}

이러한 네트워크에는 Ethereum, Base, Arbitrum, Polygon, BNB Chain 등과 같은 EVM 호환 체인뿐만 아니라 Chiliz Chain도 포함됩니다.\
또한 LayerZero는 Solana, Aptos, Sei, TON 등과 같은 비EVM 체인도 지원합니다.

## 프로젝트 토큰을 옴니체인으로 만드는 이유

LayerZero를 통해 프로젝트 토큰을 브릿징하면 모든 곳에서 생존하고 사용될 수 있는 옴니체인 자산으로 변환됩니다. 이를 통해 상호운용성이 확보되며:

* 프로젝트 토큰 보유자는 토큰이 가장 유용한 곳에서 사용할 수 있습니다.
* Chiliz Chain dApp 개발자는 다른 체인 사용자로부터 입금을 받을 수 있는 dApp을 구축할 수 있습니다.
* 스포츠 클럽은 Fan Token의 도달 범위를 넓혀 Chiliz Chain 사용자 기반 외부의 팬들도 접근할 수 있습니다.

핵심 개념은 동일합니다: 프로젝트 토큰이 체인 간에 작동할 수 있게 되면 토큰의 유용성이 크게 증가합니다.

## 작동 방식

{% hint style="info" %}
이 설명은 Chiliz Chain, Base, Ethereum과 같은 EVM 기반 블록체인을 기반으로 합니다.\
LayerZero는 Solana와 같은 비EVM 블록체인도 지원합니다.
{% endhint %}

Chiliz Chain에서 옴니체인 프로젝트 토큰을 생성하려면, 표준 `ERC20.sol` 컨트랙트를 확장하는 `OFT.sol` 컨트랙트를 구현해야 합니다.

{% embed url="<https://github.com/LayerZero-Labs/LayerZero-v2/blob/main/packages/layerzero-v2/evm/oapp/contracts/oft/OFT.sol>" %}

대부분의 프로젝트 토큰은 표준 ERC-20 토큰으로 존재하기 때문에 단순히 컨트랙트를 `OFT.sol`로 교체할 수 없습니다.

재발행 없이 옴니체인으로 만들려면 OFT 어댑터 패턴을 사용해야 합니다:

{% embed url="<https://docs.layerzero.network/v2/developers/evm/oft/quickstart#oft-adapter>" %}

... 이는 `OFTAdapter.sol` 컨트랙트를 사용합니다:

{% embed url="<https://github.com/LayerZero-Labs/LayerZero-v2/blob/main/packages/layerzero-v2/evm/oapp/contracts/oft/OFTAdapter.sol>" %}

이를 통해 토큰을 변경하지 않고 기능을 확장할 수 있습니다: OFT 어댑터는 기존 토큰과 LayerZero 네트워크 사이의 중개자 역할을 합니다.

이 어댑터를 통해 토큰은 대상 체인에 배포된 `OFT.sol` 컨트랙트와 통신할 수 있습니다.\
토큰을 브릿징할 때, Chiliz Chain의 OFT 어댑터 컨트랙트는 일정량의 토큰을 "잠그고", 대상 체인의 OFT 컨트랙트에 해당 체인에 상응하는 양의 토큰을 "민팅"하도록 지시합니다.\
보유자가 Chiliz Chain으로 토큰을 반환하려는 경우, 원격 OFT 컨트랙트가 토큰을 소각하고 Chiliz Chain의 OFT 어댑터 컨트랙트가 원래 토큰을 잠금 해제하고 해제합니다.

이 "잠금-민팅" 메커니즘은 모든 체인에 걸쳐 총 유통 공급량이 일정하게 유지되도록 하면서, Chiliz Chain의 원래 토큰 컨트랙트의 불변성과 히스토리를 보존합니다.

## EVM에서 EVM 가이드

{% content-ref url="/pages/oXwDUU0t3GiMGzBICMch" %}
[Base에서 Chiliz Chain으로 브리지](/ko/gaebal/goseup/omnicheun-token/base-chiliz-beuriji.md)
{% endcontent-ref %}

{% content-ref url="/pages/TA9bUusaqpSLRlZoXxTg" %}
[Chiliz Chain에서 Base로 브리지](/ko/gaebal/goseup/omnicheun-token/chiliz-base-beuriji.md)
{% endcontent-ref %}

## 비EVM에서 EVM 가이드

{% content-ref url="/pages/Y4eNcyeGAhpSxKIc0prB" %}
[Solana에서 Chiliz Chain으로 브리지](/ko/gaebal/goseup/omnicheun-token/solana-chiliz-beuriji.md)
{% endcontent-ref %}

## EVM에서 비EVM 가이드

{% content-ref url="/pages/b3wQVU6LVXE1X8PTELEJ" %}
[Chiliz Chain에서 Solana로 브리지](/ko/gaebal/goseup/omnicheun-token/chiliz-solana-beuriji.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.chiliz.com/ko/gaebal/goseup/omnicheun-token.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
