The CAT’s Out Of The Bag: Chia Releases the CAT1 Standard

  • نوفمبر 21, 2023

A selection of Chia employees’ cats (not to be confused with CATs)

We’re excited to announce the release of the CAT1 Standard. This marks the addition of a powerful set of new features to Chia’s ecosystem. We can’t wait to see the creative breeds of CATs our community comes up with!

What Are CATs?

Chia Asset Tokens are fungible tokens that are minted from XCH and live on Chia’s blockchain. CATs have the property of being “marked” in a way that makes them unusable as regular XCH. However, it is often possible to “retire” CATs, which then “melt” back into XCH.

Reminder

Fungible tokens can be split apart, or merged together. They can also be substituted for a token of equal value. Some common examples include gold, oil, and dollars.

Non-fungible tokens, on the other hand, are indivisible and cannot be merged. They are unique, so they cannot be substituted. Some common examples include cars, baseball cards, and cloakroom tickets.

If you’re finding it difficult to visualize the process of minting and retiring CATs, it might help to think in terms of copper and pennies:

  • In the real world, if you have a sheet of copper, you can mint pennies. The face value of the pennies is not directly linked to the value of the copper they are made from. In Chia, if you have a bit of XCH, you can mint CATs. The value of the CATs is not directly linked to the value of the XCH they are made from.
  • In the real world, it’s possible melt pennies into raw copper. In Chia, it’s possible to retire your CATs, which melt into XCH.

(Obviously you aren’t allowed to mint your own pennies, or even to melt them. This is just an analogy.)

Any CATs you create are required to follow whatever rules you put into place. You have total creative control over how these assets are minted and retired.

A few use cases for CATS are:

  • Stablecoins
  • Stock issuance
  • Voting shares

What distinguishes one CAT from another?

All CATs share the same base code, written in Chialisp. However, they are bound by different rules of issuance, which are created in a second Chialisp program that follows a specific structure.

We call this issuance program the – wait for it – Token and Asset Issuance Limiter. Yes, it’s a TAIL.

TAILs are the only thing that distinguishes one CAT from another. In other words, if two CATs use the same TAIL, they are of the same type. The TAIL defines the CAT.

What functionality can a TAIL have?

TAILs are required to have certain arguments passed to them, but otherwise, they can have as much, or little, functionality as desired. The TAIL’s primary purpose is to check that all of the CAT’s supply rules were followed. It has the freedom to add more conditions, to invalidate the whole spend, and even to create new coins!

Different tokens can have vastly different issuance and melting requirements, which are entirely up to the CAT’s creator. Let’s look at a few examples:

  • Stablecoins – The creator will want to issue new tokens as they gain funds to back them.
  • Limited supply tokens – The creator will want to run a single minting, with the guarantee that no more tokens of the same type can ever be minted.
  • Asset redemption tokens – The creator will want to allow the CAT’s owners to retire the tokens into standard XCH, as long as they follow certain rules.

In each of these cases, the TAIL will be run when a coin is spent, giving its creator control over the asset’s minting and melting. The TAIL can also be dependent on other coins on Chia’s blockchain, such as Decentralized Identifiers (DIDs). This allows for enormous functionality and compatibility between CATs. It even opens the door to decentralized issuance. In other words, a TAIL could be designed to allow anyone to securely mint new coins.

Are TAILs all-powerful?

No. Given the functionality listed above, you might think that TAILs can do anything. However, there is one important limitation to their power. Only the CAT’s owner can run the TAIL, so the CAT’s creator cannot freeze or confiscate funds without the owner’s permission. This means that the TAIL’s power is limited to minting and melting.

You – and only you – have access to your own CATs.

Where can I learn more?

We hope you find these new features the cat’s meow. Happy minting!

original source – www.chia.net/2021/11/15/the-cats-out-of-the-bag-chia-releases-the-cat1-standard/

You must be logged in to post a comment.