> 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/phuenthan.md).

# พื้นฐาน

- [เชื่อมต่อกับ Chiliz Chain](https://docs.chiliz.com/th/phatthana/phuenthan/tho-chiliz-chain.md): เชื่อมต่อกับ Chiliz Chain Mainnet หรือ Spicy Testnet ผ่าน RPC endpoints สาธารณะ (HTTP/WebSocket) หรือโดยการรัน node ของคุณเอง
- [เชื่อมต่อด้วย RPC](https://docs.chiliz.com/th/phatthana/phuenthan/tho-chiliz-chain/tho-rpc.md): URL ของ RPC endpoint สำหรับ Chiliz Chain Mainnet (chain ID 88888) และ Spicy Testnet (chain ID 88882) การเชื่อมต่อ WebSocket ลิงก์ explorer และคำแนะนำเกี่ยวกับ rate limit
- [รัน Chiliz Chain Node](https://docs.chiliz.com/th/phatthana/phuenthan/tho-chiliz-chain/run-node.md): เปิดใช้งาน สร้าง เชื่อมต่อ และแก้ไขข้อผิดพลาด node เพื่อซิงค์กับ Chiliz Chain
- [ใช้งาน Hardware Wallet](https://docs.chiliz.com/th/phatthana/phuenthan/tho-chiliz-chain/krapao-hardware.md): เชื่อมต่อกระเป๋าเงิน hardware Ledger กับ Chiliz Chain ผ่าน MetaMask เพื่อลงนามธุรกรรมอย่างปลอดภัยบน Mainnet และ Spicy Testnet
- [Block Explorers](https://docs.chiliz.com/th/phatthana/phuenthan/chai-block-explorer.md): 탐색 Chiliz Chain ด้วย block explorer สองตัว ได้แก่ Chiliscan (Routescan) และ Chiliz Block Explorer (Blockscout) สำหรับธุรกรรม, NFT, การค้นหาที่อยู่ และการยืนยัน smart contract
- [รับ Wrapped CHZ](https://docs.chiliz.com/th/phatthana/phuenthan/chai-wrapped-chz.md): ห่อและแกะ CHZ ดั้งเดิมเป็น wCHZ (ERC-20/CAP-20) บน Chiliz Chain Mainnet และ Spicy Testnet โดยใช้ตัวห่อ Chiliz Bridge สำหรับกรณีการใช้งาน DeFi และ bridge
- [เคล็ดลับและเทคนิค](https://docs.chiliz.com/th/phatthana/phuenthan/tips-and-tricks.md): เคล็ดลับสำหรับนักพัฒนา Chiliz Chain: สร้าง ERC-20 test token ได้ไม่จำกัดบน Spicy Testnet, ดึงราคา gas ปัจจุบันผ่าน RPC และวิธีแก้ไขข้อจำกัดรายวันของ faucet
- [เขียน Smart Contract](https://docs.chiliz.com/th/phatthana/phuenthan/khian-smart-contract.md): เขียน smart contract ที่รองรับ Chiliz Chain ด้วย Solidity: เวอร์ชัน Solidity และ EVM ที่แนะนำ, decimals ของ CAP-20 token, กลไก gas, และความแตกต่างของ EVM เทียบกับ Ethereum
- [Deploy Smart Contract](https://docs.chiliz.com/th/phatthana/phuenthan/deploy-smart-contract.md): ปรับใช้ smart contract บน Chiliz Chain โดยใช้ Remix IDE หรือ thirdweb พร้อมข้อกำหนดค่าธรรมเนียม gas ขั้นต่ำ (2,501 gwei) และลิงก์ไปยังคู่มือการยืนยัน
- [Deploy ด้วย Remix](https://docs.chiliz.com/th/phatthana/phuenthan/deploy-smart-contract/deploy-remix.md): ปรับใช้ smart contract บน Chiliz Chain โดยใช้สภาพแวดล้อมบนเว็บของ Remix IDE พร้อมขั้นตอนการคอมไพล์ การเชื่อมต่อ MetaMask และการยืนยันการปรับใช้
- [Deploy ด้วย thirdweb](https://docs.chiliz.com/th/phatthana/phuenthan/deploy-smart-contract/deploy-thirdweb.md): ปรับใช้ smart contract มาตรฐานหรือแบบกำหนดเองบน Chiliz Chain Mainnet หรือ Spicy Testnet โดยใช้ไลบรารี Explore หรือเครื่องมือ CLI ของ thirdweb
- [Verify Smart Contract](https://docs.chiliz.com/th/phatthana/phuenthan/verify-smart-contract.md): ยืนยัน smart contract ที่ปรับใช้บน Chiliz Chain ผ่าน Chiliscan (Routescan) หรือ Chiliz Block Explorer (Blockscout) พร้อมตัวเลือก Hardhat CLI และการ flatten
- [Verify ด้วย Chiliscan](https://docs.chiliz.com/th/phatthana/phuenthan/verify-smart-contract/verify-chiliscan.md): ยืนยัน smart contract บน Chiliz Chain ผ่าน Chiliscan (Routescan) โดยใช้แบบฟอร์มบนเว็บ, Hardhat plugin, หรือ Routescan API
- [Verify ด้วย Chiliz Block Explorer](https://docs.chiliz.com/th/phatthana/phuenthan/verify-smart-contract/verify-block-explorer.md): ยืนยัน smart contract บน Chiliz Chain ผ่าน Chiliz Block Explorer (Blockscout) โดยใช้แบบฟอร์มเว็บ, Hardhat plugin หรือ Blockscout API
- [Verify ด้วย Hardhat](https://docs.chiliz.com/th/phatthana/phuenthan/verify-smart-contract/verify-hardhat.md): ยืนยัน smart contract บน Chiliz Chain จาก command line โดยใช้ปลั๊กอิน hardhat-verify ร่วมกับ API key ของ Chiliscan หรือ Chiliz Block Explorer
- [Flatten Smart Contract](https://docs.chiliz.com/th/phatthana/phuenthan/verify-smart-contract/flatten.md): รวม smart contract ของ Solidity และ dependencies ทั้งหมดเข้าเป็นไฟล์ .sol ไฟล์เดียวโดยใช้ Remix หรือ Hardhat เพื่อทำให้การยืนยันซอร์สโค้ดบน Chiliz Chain explorers ง่ายขึ้น
- [แนวทางปฏิบัติที่ดีในการ Verify](https://docs.chiliz.com/th/phatthana/phuenthan/verify-smart-contract/best-practices.md): แนวปฏิบัติที่ดีที่สุดสำหรับการยืนยัน contract บน Chiliz Chain: รายละเอียด CAP-20 token, การตั้งค่าเวอร์ชัน Solidity และ EVM ที่แนะนำ, และข้อผิดพลาดทั่วไปจากโค้ดที่เขียนสำหรับ Ethereum
- [รับ Token Testnet ฟรี](https://docs.chiliz.com/th/phatthana/phuenthan/rap-token-testnet.md): รับ CHZ token ทดสอบฟรีบน Spicy Testnet โดยใช้ Chiliz Spicy Faucet หรือ Tatum Faucet พร้อมขั้นตอนการยืนยันผ่าน MetaMask และ Spicy Explorer
- [รับ CHZ testnet ด้วย Spicy Faucet](https://docs.chiliz.com/th/phatthana/phuenthan/rap-token-testnet/spicy-faucet.md): รับ token CHZ สำหรับทดสอบฟรี 20 token ทุก 24 ชั่วโมง จาก Chiliz Spicy Faucet โดยวางที่อยู่กระเป๋าเงิน MetaMask ของคุณที่ spicy-faucet.chiliz.com
- [รับ CHZ testnet ด้วย Tatum Faucet](https://docs.chiliz.com/th/phatthana/phuenthan/rap-token-testnet/tatum-faucet.md): รับ CHZ test token ฟรี 10 token ทุก 24 ชั่วโมงบน Spicy Testnet จาก faucet ของ Tatum หลังจากลงทะเบียนบัญชี Tatum Dashboard
- [คู่มือการใช้งาน](https://docs.chiliz.com/th/phatthana/phuenthan/how-tos.md): คู่มือการใช้งานจริงโดยใช้ Moralis, Tatum, thirdweb และ Nodit APIs บน Chiliz Chain: ยอดคงเหลือในกระเป๋าเงิน, ประวัติธุรกรรม, metadata ของ NFT และการสร้าง dApp ด้วยความช่วยเหลือของ AI
- [สร้าง dApp ด้วยเครื่องมือ AI](https://docs.chiliz.com/th/phatthana/phuenthan/how-tos/sang-dapp-ai.md): ใช้เครื่องมือ AI vibe-coding (Cursor, Replit, Lovable, Claude Code, Bolt, V0) เพื่อสร้าง dApp บน Chiliz Chain ด้วย prompt และ context สำหรับการพัฒนา EVM
- [ดูยอดคงเหลือกระเป๋าเงิน](https://docs.chiliz.com/th/phatthana/phuenthan/how-tos/yot-sali-krapao.md): ดึงข้อมูลยอดคงเหลือ CHZ และ token ของกระเป๋าเงินบน Chiliz Chain โดยใช้ Moralis Wallet API พร้อมตัวอย่างโค้ดสำหรับการค้นหาสินทรัพย์เดียวและหลายสินทรัพย์
- [ดูประวัติกระเป๋าเงิน](https://docs.chiliz.com/th/phatthana/phuenthan/how-tos/prawat-krapao.md): ดึงประวัติธุรกรรมทั้งหมดของกระเป๋าเงินบน Chiliz Chain โดยใช้ Moralis Wallet API พร้อมตัวอย่างโค้ดสำหรับบันทึกธุรกรรมเครดิตและเดบิต
- [ดู Metadata ของ NFT](https://docs.chiliz.com/th/phatthana/phuenthan/how-tos/metadata-nft.md): ดึงข้อมูล metadata ของ NFT (URL รูปภาพ ชื่อ คุณสมบัติ) สำหรับ token เฉพาะบน Chiliz Chain โดยใช้ Moralis NFT API


---

# 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/phuenthan.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.
