> 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/phatthana/developers-faq.md).

# FAQ สำหรับนักพัฒนา

{% hint style="warning" %}
เพื่อให้แน่ใจว่าธุรกรรมของคุณจะไม่อยู่ในสถานะ "pending" นานเกินไป คุณควรใส่จำนวนเพียงพอเพื่อครอบคลุมค่าธรรมเนียม:

* ค่าธรรมเนียม gas ขั้นต่ำ: 2,501 gwei
* ค่าธรรมเนียม priority ขั้นต่ำ: 1 gwei
  {% endhint %}

## ฉันสามารถเขียน Chiliz Chain contracts ด้วย Solidity ได้ไหม?

ได้ Chiliz Chain เข้ากันได้กับ EVM และรองรับ Solidity\
โปรดทราบว่า CHZ คือ native token ของ Chiliz Chain ไม่ใช่ชื่อของ smart contract ซึ่งคล้ายกับ ETH token บน Ethereum

{% hint style="info" %}
**เวอร์ชัน Solidity และ EVM ที่แนะนำสำหรับ Chiliz Chain:**

* **เวอร์ชัน Solidity compiler:** `0.8.30` (หรือต่ำกว่า)
* **เวอร์ชัน EVM เป้าหมาย:** `prague`
  {% endhint %}

## วิธีรับโทเค็นทดสอบ?

คุณสามารถรับโทเค็นทดสอบสำหรับ Spicy Testnet ผ่าน faucets

ดูเอกสารเฉพาะของเราได้ที่นี่:

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

## ฉันสามารถสร้างโทเค็นของตัวเองได้ไหม หรือควรใช้โทเค็นที่มีอยู่แล้ว?

คุณสามารถสร้างโทเค็นของตัวเองบน Spicy Testnet ได้ โดยเป็น ERC20 tokens ที่มี 0 decimals

แม้เราจะสนับสนุนให้ใช้โทเค็นที่มีอยู่แล้ว แต่การ deploy ของคุณเองบน Spicy Testnet จะให้ liquidity มากขึ้นสำหรับการทดสอบ

[ดูรายละเอียดเพิ่มเติมที่นี่](/th/phatthana/phuenthan/tips-and-tricks.md#how-to-create-your-own-token-on-spicy-testnet)

## ฉันสามารถยืนยัน contracts บน Spicy Testnet โดยใช้ Hardhat ได้ไหม?

ปัจจุบันยังไม่มีวิธีโดยตรงในการยืนยัน contracts บน Spicy โดยใช้ Hardhat เราแนะนำให้ flatten contracts ของคุณและใช้ [Chiliz Chain explorer](https://scan.chiliz.com/) หรือ [Chiliscan](https://chiliscan.com/) ตรวจสอบให้แน่ใจว่าคุณตั้งค่าเวอร์ชัน compiler, เวอร์ชัน EVM และการตั้งค่า optimization ได้อย่างถูกต้องระหว่างการยืนยัน

สำหรับการอ้างอิง ดู Wrapped CHZ contract: [0x678c34581db0a7808d0aC669d7025f1408C9a3C6](https://spicy-explorer.chiliz.com/address/0x678c34581db0a7808d0aC669d7025f1408C9a3C6)

สำหรับการจัดการที่ง่ายขึ้น ลองพิจารณาใช้บริการเช่น [Moralis.io](https://moralis.io/) และ [Tatum.io](https://tatum.io/) สำหรับข้อมูล on-chain แทนการรัน node ของตัวเอง

## ค่า decimal ของ Chiliz native token (CHZ) คือเท่าไหร่?

โทเค็น Chiliz (CHZ) มีทศนิยม 18 ตำแหน่ง

## Chiliz Chain รองรับบน Biconomy ไหม?

ใช่! สามารถยืนยันการรองรับ Chiliz บน Biconomy ได้ [ผ่านเอกสารของพวกเขาเอง](https://docs.biconomy.io/contracts-and-audits/supported-chains)

ดูหน้าต่อไปนี้สำหรับรายละเอียดเพิ่มเติม:

biconomy.md

## ควรอัปเกรด Chiliz Mainnet กับ Spicy Testnet nodes เมื่อไหร่?

หากคุณรัน node ของตัวเอง เราแนะนำให้อัปเกรดทั้ง Chiliz Chain Mainnet และ Spicy Testnet nodes เมื่อมีเวอร์ชันใหม่ออกมา

## ความแตกต่างระหว่าง Testnet และ Mainnet คืออะไร?

Testnet คือสำเนาของ Mainnet blockchain และใช้สำหรับทดสอบ chain ได้ฟรีโดยไม่เสียค่าธรรมเนียม gas ส่วน Mainnet นั้น คือที่ที่ธุรกรรมจริงทั้งหมดเกิดขึ้น และคุณจะถูกเรียกเก็บค่าธรรมเนียม gas จริง รวมถึงเป็นการโอน crypto coins / Fan tokens จริง

Testnet คือพื้นที่ทดสอบสำหรับ smart contracts ที่จะ deploy บน Chiliz Chain ในภายหลัง เราเปิด Testnet ให้ผู้ใช้ได้ลองเล่นและทดสอบ smart contracts บน chain เบื้องต้นบางส่วน

Spicy คือ Testnet blockchain ของเรา และ Chiliz Chain คือ Mainnet blockchain ของเรา

## **เกิดอะไรขึ้นกับ Scoville Testnet?**

เราเปิดตัว Scoville Testnet ในช่วงต้นปี 2022 เพื่อให้ผู้ใช้ทดสอบ dApps ที่จะ deploy บน Chiliz Chain Mainnet ในภายหลัง

หลังจากการตรวจสอบภายนอก เราตัดสินใจปรับปรุงความปลอดภัยและประสิทธิภาพโดยรวมของ blockchain อย่างไรก็ตาม เนื่องจากไม่สามารถทำได้โดยไม่มี hard fork ในเดือนมกราคม 2023 เราจึงเปิดตัว Spicy Testnet

**Scoville Testnet ไม่ควรใช้งานอีกต่อไปแล้ว และถูก deprecated แล้ว**

เราสนับสนุนให้นักพัฒนาทุกคน deploy การทดสอบบน Spicy Testnet เนื่องจากจะถูกอัปเดตให้สะท้อน Chiliz Chain ใหม่โดยตรง

## ฉันสามารถ wrap CHZ บน Spicy Testnet ได้ไหม?

ได้ คุณสามารถ wrap ได้บน Spicy Testnet

ตรวจสอบให้แน่ใจว่าคุณเชื่อมต่อกับ Spicy Testnet ในกระเป๋าเงินของคุณ (เช่น MetaMask) ก่อนเชื่อมต่อ จากนั้นเปิด [Spicy Wrap UI](https://spicy-bridge.chiliz.com/wrap) และเชื่อมต่อกระเป๋าเงินของคุณ

{% content-ref url="/pages/g8s0Bzr6R6Au2Dh1Fdmu" %}
[รับ Wrapped CHZ](/th/phatthana/phuenthan/chai-wrapped-chz.md)
{% endcontent-ref %}

คุณสามารถใช้โทเค็น wCHZ ของเราหากคุณต้องการ ERC20 เวอร์ชันของโทเค็นแทน native token


---

# 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/phatthana/developers-faq.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.
