> 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/th/rerm-ton/starter-kits/sang-nft-sports.md).

# สร้าง NFT สำหรับทีมกีฬา

นี่คือขั้นตอนต่าง ๆ ที่จะพาคุณจากจุดเริ่มต้นไปสู่การขาย NFT collection ที่มีตราสัญลักษณ์ของทีม เช่น การ์ดนักเตะ

{% hint style="info" %}
สำหรับแนวทางทั่วไปเกี่ยวกับ NFT คุณสามารถเข้าไปอ่านเพิ่มเติมได้ที่ส่วน [ทำงานกับ NFT](/th/phatthana/sung-khuen/nft.md) ซึ่งถูกอ้างอิงอยู่อย่างมากในหน้านี้
{% endhint %}

สำหรับแต่ละขั้นตอน starter kit นี้จะชี้ไปยังหน้าเอกสารที่เกี่ยวข้องบนไซต์นี้ พร้อมคำอธิบายสั้น ๆ มาเริ่มกันเลย!

## การเตรียมไฟล์

ไม่ว่าเป้าหมายของคุณจะเป็นอะไร โปรเจกต์ NFT จะต้องใช้ไฟล์สองประเภทเสมอ:

* ไฟล์ visual assets ซึ่งเป็นรูปภาพหรือวิดีโอที่คุณต้องการเปลี่ยนเป็น NFT
* ไฟล์ metadata ซึ่งอธิบาย visual assets ในรูปแบบที่เครื่องมือ blockchain สามารถจัดการได้ (โดยเฉพาะอย่างยิ่ง ระบุว่าไฟล์เหล่านั้นถูกโฮสต์ไว้ที่ใด)

อ่านเพิ่มเติมได้ที่นี่:

{% content-ref url="/pages/F0PzWD83jQ9pCVyxPZAo" %}
[เตรียมไฟล์ NFT](/th/phatthana/sung-khuen/nft/riang-nft.md)
{% endcontent-ref %}

เมื่อสร้าง NFT series "Seasonal Player" สำหรับทีมกีฬาของคุณ สัดส่วนของภาพกราฟิกอาจเป็นหนึ่งในนี้:

* การ์ดสะสมแบบคลาสสิก: 630 x 880 pixels (อัตราส่วน 2.5" x 3.5") ให้ความรู้สึกย้อนยุคเหมือนการ์ดกีฬาจริง
* ดิจิทัลสมัยใหม่: 1080 x 1080 pixels (สี่เหลี่ยมจัตุรัส) หรือ 1080 x 1920 (แนวตั้ง/รูปแบบ Story)

หากคุณกำลังสร้าง NFT series สำหรับนักเตะของทีม คุณควรมีโฟลเดอร์บนคอมพิวเตอร์ที่มีลักษณะดังนี้:

```
/2024_2025_Season_Assets
    /Images
        player_01.png
        player_02.png
        ...
        player_11.png
```

เมื่อสร้างไฟล์แล้ว คุณต้องโฮสต์ไฟล์เหล่านั้นอย่างถูกต้อง:

{% content-ref url="/pages/UdGK6hxn11NlNgpI8fRq" %}
[Host NFT บน IPFS](/th/phatthana/sung-khuen/nft/host-ipfs.md)
{% endcontent-ref %}

เมื่อไฟล์ของคุณถูกโฮสต์บน IPFS host แล้ว คุณสามารถสร้างไฟล์ JSON ที่แนบมาได้ ซึ่งจะได้โครงสร้างโฟลเดอร์ดังนี้:

```
/2024_2025_Season_Assets
    /Images
        player_01.png
        player_02.png
        ...
        player_11.png
    /Metadata
        player_01.json  <-- Points to player_01.png on IPFS
        player_02.json  <-- Points to player_02.png on IPFS
        ...
        player_11.json  <-- Points to player_11.png on IPFS
```

{% hint style="info" %}
คุณไม่จำเป็นต้องสร้างไฟล์ metadata ด้วยมือ!\
เครื่องมือส่วนใหญ่ที่เน้น NFT จะจัดการการอัปโหลด IPFS แบบ batch และการสร้างไฟล์ metadata ให้คุณโดยอัตโนมัติ
{% endhint %}

## การตั้งค่าสภาพแวดล้อม Web3

ก่อนสร้าง NFT คุณต้องกำหนดค่ารายละเอียดทางเทคนิคบางอย่างในฝั่งของคุณ

### ติดตั้ง Web3 wallet

wallet ที่เป็นที่รู้จักมากที่สุดคือ MetaMask

{% content-ref url="/pages/UdGKsSssDGoJUnIKbVjq" %}
[ติดตั้ง MetaMask](/th/riang-ru/krapao-ngoen/metamask/tid-tang-metamask.md)
{% endcontent-ref %}

{% content-ref url="/pages/YTognbbqRvkQotuukmj8" %}
[ใช้งาน MetaMask](/th/riang-ru/krapao-ngoen/metamask.md)
{% endcontent-ref %}

### กำหนดค่า wallet สำหรับ Chiliz Chain

ตั้งค่าให้ทำงานบนทั้งสอง network:

* Spicy Testnet สำหรับทดสอบ collection ของคุณ
* Chiliz Mainnet เมื่อทดสอบทุกอย่างเรียบร้อยและพร้อมเปิดตัว

{% content-ref url="/pages/DJ8ifeym9RP9DWbsJVb9" %}
[เชื่อมต่อ Chiliz Chain กับ MetaMask](/th/riang-ru/krapao-ngoen/metamask/liangk-metamask.md)
{% endcontent-ref %}

{% content-ref url="/pages/v6cwrdVHIbumyt27iKUv" %}
[เชื่อมต่อด้วย RPC](/th/phatthana/phuenthan/tho-chiliz-chain/tho-rpc.md)
{% endcontent-ref %}

### รับ CHZ token

คุณจะต้องมี $CHZ บางส่วนใน wallet เพื่อชำระค่า "gas" หรือค่าธรรมเนียมธุรกรรม (การ deploy และการ minting)

#### สำหรับการทดสอบ: รับ token ฟรี

{% content-ref url="/pages/y7HDC2TBdwvv53pjrCSt" %}
[รับ Token Testnet ฟรี](/th/phatthana/phuenthan/rap-token-testnet.md)
{% endcontent-ref %}

#### สำหรับ production: ซื้อ CHZ token

คุณสามารถซื้อ CHZ token ได้บนตลาดแลกเปลี่ยน crypto ส่วนใหญ่: [Coinbase](https://www.coinbase.com/), [Meria](https://www.meria.com/), [Kraken](https://www.kraken.com/), [Bitpanda](https://www.bitpanda.com/) ฯลฯ

## การเลือกมาตรฐาน NFT

มีมาตรฐาน NFT หลายรูปแบบที่คุณเลือกได้ ขึ้นอยู่กับความต้องการของโปรเจกต์

{% content-ref url="/pages/uUgXGyOMEMh502ESegtb" %}
[เลือก NFT Contract ที่เหมาะสม](/th/phatthana/sung-khuen/nft/rian-nft-contract.md)
{% endcontent-ref %}

สำหรับ series "Seasonal Player" คุณต้องตัดสินใจว่า NFT จะทำงานอย่างไร:

* [ERC-1155](https://wizard.openzeppelin.com/#erc1155) (Edition / Multi-Token):\
  แนะนำสำหรับ Player Cards\
  ช่วยให้คุณสร้างสำเนาของรายการเดียวกันได้หลายชิ้น (เช่น 100 ชิ้นของ "Player A - 2024 Season")
* [ERC-721](https://wizard.openzeppelin.com/#erc721) (Collection):\
  เหมาะที่สุดหาก NFT แต่ละชิ้นมีความเป็นเอกลักษณ์ (เช่น "Player A - Signed 1/1")

## การสร้างและโฮสต์ NFT

มีหลายวิธีในการสร้าง (หรือ "mint") NFT collection ของคุณ

### **วิธี Dashboard (ง่ายที่สุด)**

นี่เป็นวิธีที่ง่ายที่สุดสำหรับทีมกีฬาในการ deploy โดยไม่ต้องเขียนโค้ดที่ซับซ้อน

1. ไปที่ [thirdweb](https://thirdweb.com/) สร้างบัญชีโดยเชื่อมต่อกับ Web3 wallet ของคุณ คุณจะถูกนำไปยัง dashboard
2. ตรวจสอบให้แน่ใจว่า wallet ของคุณตั้งค่าอยู่บน Chiliz Chain Mainnet (หรือ Spicy Testnet หากคุณกำลังทดสอบ)
3. คลิกปุ่ม "Create Project" ตั้งชื่อโปรเจกต์ (เช่น "2025-2026 Team NFT") และอนุญาตเฉพาะโดเมน "thirdweb.com" ในตอนนี้ คลิก "Create"
4. thirdweb จะแสดง Client ID และ Secret Key ให้บันทึกลงในคอมพิวเตอร์ของคุณ สิ่งเหล่านี้ช่วยให้แอปของคุณ (ถ้ามี) ยืนยันตัวตนกับโปรเจกต์ได้ ยืนยันว่าคุณบันทึกแล้ว แล้วคลิก "View Project"
5. จาก project dashboard คลิกตัวเลือก "Tokens" ในเมนูด้านซ้าย จากนั้นคลิกปุ่ม "Create Token" และเลือก "NFT Collection"<br>

   <figure><img src="/files/5e73PAzyWx7YQnH6RNzh" alt="" width="375"><figcaption></figcaption></figure>
6. จากนั้น คุณสามารถทำตามคู่มือจาก thirdweb:

{% embed url="<https://portal.thirdweb.com/tokens/deploy-erc721#Configure%20Collection>" %}

### **วิธี Marketplace**

หากคุณต้องการ mint และลิสต์เพื่อขายทันที:

1. ไปที่ [OKX](https://web3.okx.com/) สร้างบัญชีโดยเชื่อมต่อกับ Web3 wallet ของคุณ จากนั้นเปิด [OKX NFT Studio](https://web3.okx.com/nft/create/home) ซึ่งเป็นส่วนหนึ่งของ [OKX NFT Marketplace](https://web3.okx.com/nft)
2. คลิก "Create now" เลือก "Bulk creation" จากนั้นทำตามคำแนะนำ

<figure><img src="/files/bjv0NFeG4zH5KSXZy7sB" alt=""><figcaption></figcaption></figure>

### **วิธีนักพัฒนา (Custom Contract)**

หากคุณมีนักพัฒนา พวกเขาสามารถใช้ Hardhat, Viem, Remix IDE หรือเครื่องมืออื่น ๆ ที่รองรับ EVM

ติดตามคู่มือของเราในส่วน [ทำงานกับ NFT](/th/phatthana/sung-khuen/nft.md) สำหรับข้อมูลเกี่ยวกับการโฮสต์, minting และการลิสต์ NFT


---

# 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/th/rerm-ton/starter-kits/sang-nft-sports.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.
