HCS-20 auditable pointsPoints ledgers anyone can recompute
HCS-20 keeps a points ledger on a Hedera Consensus Service topic. Every deploy, mint, transfer and burn is a public message, so anyone can recompute balances. Teams use it for loyalty programs, game leaderboards and community rewards when a full token would be too much.
Why HCS-20?
A full token is more than most non-financial points programs need. HCS-20 points are not tokens, so there are no liquidity pools or exchange listings to think about, only a public ledger of points.
Each operation is a JSON message on a topic. Anyone with access to a mirror node can audit the whole history.
Public Auditability
Every mint, burn, and transfer is recorded in the consensus stream. Anyone can verify the total supply and holder balances.
No Liquidity Issues
Since they aren't native tokens, there's no expectation of liquidity pools or exchange listings. That suits closed-loop loyalty programs.
Flexible Control
Use a private topic with a submit key for centralized control (gaming, admin) or a public topic for decentralized minting.
Two Modes.
Private Mode
The topic has a submit key. Only the owner can post messages.
- Centralized Control (Game Server)
- High Throughput
- Spam Proof
Public Mode
The topic is open. Anyone can post. Indexers validate the "Payer Account" to ensure only the owner of points can move them.
- Decentralized Minting
- Community Driven
- Requires Strict Indexing
The messages.
Deploy
Mint
Transfer
Consensus Ordering
The state is calculated by replaying these messages in order. Valid transfers require sufficient balance. Valid mints must respect the `max` supply and `lim` per transaction.
Without writing code.
The Turtle Moon HCS App lets you deploy, mint and transfer HCS-20 points without writing code.
HCS-20 questions
Full details are in the HCS-20 specification.
What is HCS-20?
HCS-20 is a Hedera Consensus Service standard for auditable points. Points are deployed, minted, transferred and burned by posting JSON messages to a topic, and balances come from reading those messages in consensus order.
Are HCS-20 points tokens?
No. HCS-20 points are not Hedera Token Service tokens. They exist only as messages on a topic, which suits loyalty, game and contribution points that need to be easy to audit.
What operations does HCS-20 support?
Deploy creates a point with a tick, a maximum supply and an optional per-mint limit. Mint adds points to an account, transfer moves them between accounts and burn removes them. A separate register operation lists a topic in the public HCS-20 topic registry.
What is the difference between private and public HCS-20 topics?
A private topic has a submit key, so only the key holder can post, and every transfer written there counts as authorized. A public topic has no submit key. Anyone can post there, but a transfer only counts when the account paying for it is the account the points leave.
How are HCS-20 balances calculated?
An indexer replays the topic in consensus timestamp order. Mints add to the recipient. Transfers move points when the sender has enough, and burns remove them. A mint that would pass the max supply or the per-mint limit is skipped. Anyone who replays the same messages gets the same balances.
Is there a shared public topic for HCS-20?
Yes. The specification proposes topic 0.0.4350190 as the main public topic so indexers can read public points from one place. Projects can still create their own topics.