📢 Gate Square Exclusive: #WXTM Creative Contest# Is Now Live!
Celebrate CandyDrop Round 59 featuring MinoTari (WXTM) — compete for a 70,000 WXTM prize pool!
🎯 About MinoTari (WXTM)
Tari is a Rust-based blockchain protocol centered around digital assets.
It empowers creators to build new types of digital experiences and narratives.
With Tari, digitally scarce assets—like collectibles or in-game items—unlock new business opportunities for creators.
🎨 Event Period:
Aug 7, 2025, 09:00 – Aug 12, 2025, 16:00 (UTC)
📌 How to Participate:
Post original content on Gate Square related to WXTM or its
CAT20 protocol: New breakthrough in BTC smart contracts Fractal innovation leads the future
Analysis of Smart Contract Technology on BTC: Fractal Bitcoin and CAT20 Protocol
Recently, the Bitcoin ecosystem has welcomed an important development. After multiple testnet operations, Fractal BTC officially launched its mainnet in September. One of the main features of Fractal is its smart contracts capability, and at the same time as the mainnet launch, a new token protocol CAT20 was released. This article will analyze the clever design of CAT20 from a technical perspective and explore its innovations.
Fractal Bitcoin Introduction
Before delving into CAT20, we need to first understand its operating environment, Fractal Bitcoin. Fractal Bitcoin, also known as Fractal BTC, is a fully compatible second-layer network with BTC. Compared to BTC, its block confirmation time is reduced to 1 minute. The basic principle is to replicate multiple chains of the BTC network, each of which can process transactions, thereby improving overall processing speed.
A major highlight of Fractal is the reactivation of the OP_CAT opcode, which was abandoned in the early days of BTC for security reasons. The restoration of this opcode greatly enhances the functionality of Fractal Bitcoin, equipping it with smart contract capabilities and providing more possibilities for upper-layer application development.
CAT Protocol Overview
With the support of OP_CAT, the CAT Protocol has emerged. Currently, the CAT20 protocol is running in a real environment, and you can view the relevant panel on the Unisat platform.
CAT20 is designed based on ERC20, but it has its unique features. The following will analyze the lifecycle of CAT20:
Deployment ( process
Before deployment, users need to specify the wallet address and basic information of the token. CAT20 allows setting pre-mining and single Mint quantity limits.
Deployment is divided into two stages: "commit" and "reveal:"
Commit Stage: Write the basic information of the token into the transaction output script. The hashId of the transaction at this stage serves as the unique identifier for the token.
Reveal Stage: Output an OP_RETURN containing the initial state hash of CAT20, as well as a Minter for the subsequent Mint process.
This two-step deployment method follows the commonly used commit-reveal pattern in blockchain, which helps protect sensitive data of the project.
![Technical Analysis of CAT20: New Token Protocol on Fractal Bitcoin])https://img-cdn.gateio.im/webp-social/moments-e900482fd49f488fa34f1a7e823173d1.webp(
) Minting ### process
The characteristics of Mint transactions are as follows:
The design of the Mint process is quite ingenious. The setting of the output quantity by the minter affects the Mint activity of the entire network. By default, two minters with similar states are generated to balance network congestion and economic costs.
( transaction construction mechanism
The trading construction mechanism of CAT20 is distinctive:
The Reveal process cleverly utilizes script logic, allowing the deployer to control the UTXO of different addresses.
The Minter stage allows everyone to use specific UTXOs as inputs, which may be achieved through the smart contracts capability of OP_CAT.
![Technical Perspective on CAT20: A New Token Protocol on Fractal Bitcoin])https://img-cdn.gateio.im/webp-social/moments-4a068837b74c66fa262509c442f9162a.webp###
( Transaction Status Management )V2###
There are two states saved in Minter:
After each Mint, the mint quantity of the newly generated Minter is half of the remaining mintable quantity. This design ensures the balance of the minting process.
It is worth noting that the CAT20 Token itself is also a smart contract, recording the quantity and ownership addresses, which is different from the UTXO model of BRC20 or inscriptions.
( Transfer ) and Burn ###
When transferring, the input and output quantities of the tokens in the transaction must remain consistent. Multiple different tokens can be processed in the same transaction.
To burn a Token, simply transfer it to a regular address.
Summary
The design of CAT20 provides users with great operational flexibility, while also imposing higher requirements on the verification logic of smart contracts. This design brings the following advantages:
The innovative design of CAT20 brings new possibilities to the Bitcoin ecosystem and is worth the industry's continued attention to its development trends.