> 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/jp/hajimeni/kaihatsusha-toolbox/contract-deploy-verify.md).

# コントラクトのデプロイと検証

{% hint style="info" %}
**前提条件**

1. このドキュメントは、すでにシステムに MetaMask をインストールしていることを前提としています。まだの場合は、Web ベースの拡張機能またはモバイルアプリのいずれかで、先に MetaMask をインストールしてください。
2. 利便性のために、お好みのブラウザに MetaMask 拡張機能をピン留め 📍 しておきましょう。
   {% endhint %}

smart contract の構築は、Chiliz Chain 向けの dApp（実際には任意のブロックチェーン）へとつながるクリエイティブなプロジェクトに不可欠な要素です。

dApp の smart contract を構築したら、**必ず**通らなければならない2つのステップがあります。

1. Chiliz Chain にコントラクトをデプロイする。
2. そのコントラクトを検証する。

この2つのステップについて、ここで説明します。

{% hint style="success" %}
トランザクションが「pending」状態のまま長く留まらないようにするには、手数料をまかなえるだけの額を含めるべきです。

* 最小 gas fee: 2,501 gwei。
* 最小 priority fee: 1 gwei。
  {% endhint %}

## ステップ1: smart contract をデプロイする

以下のいずれかの方法を使用できます。

deploy-with-remix.md

deploy-with-thirdweb.md

## ステップ2: smart contract を検証する

{% hint style="success" %}
smart contract を作成したら、それを検証することが**必要**です。\
これを行えるのは**あなただけ**であり、できるだけ早く行うべきです。
{% endhint %}

それぞれのガイドは以下のとおりです。

verify-with-chiliscan.md

verify-with-chiliz-block-explorer.md

コントラクトが検証されると、block explorer のインターフェース上で「グリーンドット」が付与され、そのコントラクトが信頼できることを示します。

たとえば PSG Fan Token のコントラクトを見てみましょう。

{% embed url="<https://chiliscan.com/token/0xc2661815C69c2B3924D3dd0c2C1358A1E38A3105/contract/code>" %}
PSG Fan Token（Chiliscan）
{% endembed %}

{% embed url="<https://scan.chiliz.com/address/0xc2661815C69c2B3924D3dd0c2C1358A1E38A3105/contracts#address-tabs>" %}
PSG Fan Token（Chiliz Block Explorer）
{% endembed %}


---

# 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:

```
GET https://docs.chiliz.com/jp/hajimeni/kaihatsusha-toolbox/contract-deploy-verify.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.
