> 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/gibon/seumateu-keonteulaekteu-baepoe/thirdweb-baepoe.md).

# thirdweb로 배포

[Thirdweb](https://thirdweb.com/)은 블록체인 앱 구축 및 배포를 간소화하는 도구, SDK, 스마트 컨트랙트 템플릿을 제공합니다.

thirdweb은 [Chiliz Chain Mainnet](https://thirdweb.com/chiliz-chain) 및 [Spicy Testnet](https://thirdweb.com/spicy-chain)을 포함한 대부분의 EVM 기반 체인에서 서비스를 제공합니다.

thirdweb 도구를 이용해 Chiliz Chain에 컨트랙트를 배포하는 두 가지 방법이 있습니다.

* 표준 컨트랙트가 필요한 경우 웹 기반 Explore 라이브러리 사용.
* 커스텀 컨트랙트를 배포하려는 경우 CLI 중심 도구 사용.

두 가지 방법을 모두 살펴보겠습니다.

*참고: thirdweb 팀이 이 주제에 대한 훌륭한 영상을 만들었습니다:*

{% embed url="<https://www.youtube.com/watch?v=_fghhiFg870>" %}

## thirdweb Explore를 이용한 스마트 컨트랙트 배포 <a href="#deploy-a-smart-contract-using-remix-ide" id="deploy-a-smart-contract-using-remix-ide"></a>

thirdweb은 감사된 EVM 스마트 컨트랙트 라이브러리인 [Explore](https://thirdweb.com/explore)와 함께 누구나 모든 EVM 체인에 표준 컨트랙트를 배포할 수 있는 온라인 도구를 제공합니다.

{% hint style="info" %}
[thirdweb Explore 라이브러리 공식 문서](https://portal.thirdweb.com/tokens/explore/overview)도 참고할 수 있습니다.
{% endhint %}

1. [thirdweb Explore](https://thirdweb.com/explore)로 이동합니다.
2. "Token" 컨트랙트를 클릭합니다.

{% hint style="info" %}
Chiliz Fan Tokens는 CAP-20 토큰으로, Ethereum ERC20 토큰 표준의 Chiliz Chain 전용 확장입니다. [CAP-20에 대해 자세히 알아보기](/ko/baeuggi/yongeo/cap-20.md).
{% endhint %}

컨트랙트 페이지가 열립니다. 표시된 정보를 충분히 읽어보시길 권장합니다.

3. "지금 배포" 버튼을 클릭합니다(화면 우측 상단).

양식이 열립니다.

4. "Contract Metadata" 섹션부터 시작하여 각 양식 필드를 입력합니다.

나머지 섹션은 Explore가 자동으로 채울 수 있지만, 특히 다음 항목에 주의하세요.

* 수신자 주소: 지갑(MetaMask 등)으로 로그인한 경우 이 필드에 지갑 주소가 이미 표시되어 있어야 합니다. 실제 본인의 주소인지 확인하세요!
* 배포 옵션: 이 컨트랙트를 배포할 체인을 선택하는 곳입니다. 필요에 따라 Chiliz Chain 또는 Spicy Testnet을 선택하세요!

5. "지금 배포"를 클릭하여 Chiliz Chain에 자신만의 토큰을 배포합니다.

{% hint style="warning" %}
트랜잭션 비용을 지불하기 위해 지갑에 CHZ가 충분한지 확인하세요!
{% endhint %}

지갑에서 서명해야 하는 트랜잭션이 있으며 그 수는 다를 수 있습니다.

6. "지금 보기"를 클릭하여 thirdweb 대시보드에서 배포된 컨트랙트를 확인합니다.

## thirdweb CLI 도구를 이용한 스마트 컨트랙트 배포 <a href="#deploy-a-smart-contract-using-remix-ide" id="deploy-a-smart-contract-using-remix-ide"></a>

thirdweb의 `deploy` 도구는 단일 명령으로 모든 EVM 체인(Chiliz Chain 포함)에 스마트 컨트랙트를 배포하는 과정을 간소화합니다.

표준이 아닌 컨트랙트(예: [커스터마이즈된 OpenZeppelin 컨트랙트](https://www.openzeppelin.com/solidity-contracts))를 사용하려는 경우 권장되는 방법입니다.

{% hint style="info" %}
[thirdweb 배포 도구 공식 문서](https://portal.thirdweb.com/contracts/deploy/overview)도 참고할 수 있습니다.
{% endhint %}

### thirdweb CLI 설치

thirdweb deploy 도구를 사용하려면 다음이 필요합니다.

* Node.js 및 npm 도구 로컬 설치.
* thirdweb CLI 도구 로컬 설치.

Node.js 및 npm을 설치하려면 [여기의 지침을 따르세요](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm).

그런 다음 터미널에서 다음 명령을 실행하여 thirdweb CLI를 설치할 수 있습니다.

```bash
npm i -g @thirdweb-dev/cli
```

thirdweb 팀이 [thirdweb CLI 심층 영상](https://www.youtube.com/watch?v=8ttGHEQ-Ddo)을 만들었으니 꼭 확인해보세요!

### thirdweb CLI를 이용한 컨트랙트 배포

CLI를 설치하면 스마트 컨트랙트를 배포하는 데 사용할 수 있습니다.

1. 터미널에서 스마트 컨트랙트 저장소의 루트로 이동합니다.
2. 배포 명령을 실행합니다.

```bash
npx thirdweb deploy
```

이 명령은 컨트랙트 배포 과정을 안내합니다.

1. 브라우저 창을 열어 thirdweb 대시보드에 연결합니다.
2. 대시보드에서 기기를 인증해야 합니다. thirdweb과 함께 사용하는 지갑으로 트랜잭션에 서명해야 합니다.

thirdweb 팀의 데모를 확인해보세요.

{% embed url="<https://www.youtube.com/watch?v=6EqumMCa-E8>" %}


---

# 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/gibon/seumateu-keonteulaekteu-baepoe/thirdweb-baepoe.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.
