> 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/riang-ru/glossary/cap-20.md).

# CAP-20

## **CAP-20 คืออะไร?**

ในโลกของ blockchain คำว่า xxx-20 หมายถึงมาตรฐาน token ที่ได้รับแรงบันดาลใจจากมาตรฐาน ERC-20 ของ Ethereum\
ตัวอย่างเช่น [BEP-20](https://academy.binance.com/en/glossary/bep-20) คือมาตรฐาน token สำหรับ [BNB Smart Chain](https://www.bnbchain.org/en/bnb-smart-chain) ([BSC](https://github.com/bnb-chain/bsc)) และในทำนองเดียวกัน CAP-20 ก็คือสิ่งที่เทียบเท่า ERC-20 สำหรับ Chiliz Chain

{% hint style="info" %}
"CAP" ย่อมาจาก "Chiliz Advancement Proposal"
{% endhint %}

## ก่อนอื่น ERC-20 คืออะไร?

[ERC-20](https://ethereum.org/en/developers/docs/standards/tokens/erc-20/) คือมาตรฐาน token ที่พบมากที่สุดบน blockchain ของ Ethereum

มาตรฐาน token คือชุดกฎที่ token ต้องปฏิบัติตามเพื่อให้ทำงานได้อย่างถูกต้องบน blockchain\
กฎเหล่านี้ครอบคลุมวิธีการโอน/ใช้จ่าย token วิธีอนุมัติธุรกรรม วิธีที่ผู้ใช้สามารถเข้าถึงข้อมูลเกี่ยวกับ token และปริมาณ token ทั้งหมด

การปฏิบัติตาม ERC-20 ทำให้ token ต่าง ๆ สามารถโต้ตอบกันได้อย่างคาดเดาได้บน Ethereum ช่วยให้นักพัฒนาสามารถสร้าง token ใหม่ที่จะทำงานร่วมกับกระเป๋าเงิน, exchanges และ smart contract อื่น ๆ ได้อย่างราบรื่น

พูดง่าย ๆ ก็คือ ERC-20 เปรียบเหมือนภาษากลางที่ token ทั้งหมดบนเครือข่าย Ethereum ใช้เพื่อทำความเข้าใจซึ่งกันและกันและทำงานร่วมกันได้อย่างลื่นไหล

## แล้ว CAP-20 คืออะไร?

CAP-20 คือมาตรฐานสำหรับ Fan Tokens บน Chiliz Chain

แม้ว่าจะยึดตามคุณสมบัติพื้นฐานของ ERC-20 แต่ก็ได้ขยายความสามารถเพิ่มเติมเพื่อรองรับ token ในรูปแบบที่หลากหลายยิ่งขึ้น

Fan Tokens (หรือ "CAP-20 tokens") โดยพื้นฐานแล้วคือ ERC-20 token แต่:

* ทำงานบน Chiliz Chain ไม่ใช่ Ethereum
* จึงใช้ $CHZ ไม่ใช่ $ETH
* ค่าเริ่มต้นของ Fan Token มีทศนิยม 0 ตำแหน่ง ในขณะที่มาตรฐาน ERC-20 มีทศนิยม 18 ตำแหน่ง

Token ที่สร้างบนแพลตฟอร์ม blockchain ต่าง ๆ สามารถปรับหรือเชื่อมต่อกับ Chiliz Chain ได้ผ่านกระบวนการที่เรียกว่า bridging เรียนรู้เพิ่มเติมเกี่ยวกับ [Chiliz Bridge](https://github.com/chiliz-chain/docs/blob/master/th/riang-ru/about-bridging/README.md)


---

# 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/riang-ru/glossary/cap-20.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.
