CAT20 technical advantages and discussion based on OP_CAT

CAT20 tokens are more secure than brc20 because brc20 data requires a centralized index to store and run, but cat20 only needs to use an indexer to find utxos in the stack data. The data is run on the chain and verified by miners.

cat20 allows tokens with the same name to appear. This is different from brc20 and runes. The identification of cat20 tokens is similar to that of ERC20 tokens. We can only determine which token you need by the contract address. Because each cat20 is created based on the tokens created by each different hash value in the stack in op_cat, the token contract is also different.

Cat20 can realize that dex can run on the chain, which is fully decentralized, but brc20 cannot because the data is implemented by centralized index, so dxe cannot achieve complete decentralization

Cat20 can add many restrictions when implementing DeFi. If a project restricts each address to only play 10u or hold specific assets to participate in the IDO, this kind of gameplay will be very diverse, because everyone knows that the BTC chain has no state mode, because BTC is in script mode, so there is no way to read the type of each transaction, that is, you can't identify whether it is a transfer or a transaction. There is no way to implement restrictions in this way. However, op_cat can verify the type of each BTC transaction and then impose more restrictions, that is, to implement more smart contracts.

In the future, cat20 may realize the dream of issuing stablecoins, because the contract scenario is much better than the BTC main chain, and the ecosystem will be more active with stablecoins.

cat20 is likely to become the most powerful protocol in the field of sub-types, because it has unique innovations in the technical paradigm. Then it got the name cat from the sub-type op_cat, just like ordi from brc20 got the name ordinarys.

About OP_CAT

BTC scripts are executed in a sequential manner, but after adding OP_CAT, they can be changed to a linear execution mode. The difference between the two is very large. The sequential execution mode wastes resources and time, and some contracts cannot be executed. However, the linear execution mode can have higher efficiency and more application scenarios.

OP_CAT has only 10 lines of code, data visibility,

Contracts in Bitcoin cannot set spending conditions based on transaction data because Bitcoin Script's ability to understand transaction data is very limited. If scripts had the ability to introspect more details in transaction data, much more robust smart contracts could be developed that could do all the interesting things, such as enforcing a spending condition, creating transactions that are executed in stages, and enabling more advanced security features.

The introspection opcode is a specific subset of opcodes that allow for a more modular approach to building contracts, providing a way for scripts to inspect certain aspects of a transaction. The introspection opcode pushes data from the current transaction onto the stack, which is different from the normal push opcode (which pushes arbitrary user-provided data onto the stack) or other opcodes (which operate on data already on the stack). This allows contract authors to impose conditions on specific parts of the transaction, giving them fine-grained control over how tokens are moved. Of course, op_cat is not a direct introspection opcode, but an indirect opcode, OP_CAT: Allows Script to concatenate two elements in the stack, which can be used to combine fragments of information in the script. Using OP_CAT, we will use constraints on certain parts of the transaction as requirements for unlocking the script. We can constrain the sender's address, or the amount to be sent by the transaction, and the hash of the transaction will serve as the key to unlock the funds.

OP_DUP (duplicate stack) is similar to op_cat. Even if the object initially operated on the stack is only 1 byte, by repeatedly applying this pair of opcodes, the size of the stack object will expand rapidly until the memory is burst. This can be used as a DoS attack. The new proposal provides a mechanism to punish Bitcoin payment channels by using non-ambiguous contracts in the stack tapscript.

Ambiguity/double spending. OP_CAT does this by imposing a 520-byte limit on spending transactions, easily preventing this attack. The op_cat linear execution mode can improve the ceiling of statically constraining its resource usage to a certain extent, which is also the reason why it is more powerful than op_dup. Of course, op_cat may also have a dos attack.

The new proposal provides a mechanism to penalize Bitcoin payment channels by implementing unambiguous contracts in stack tapscript.
Ambiguity/double spending. OP_CAT does this by enforcing rules on spending transactions to impose a 520-byte limit, easily preventing this attack

The advantages of op_cat are obvious, but there will be other discoveries along the way. Hopefully, more smart people will be able to solve these problems in the market in the future.

Only use strength to speak, and use value to reflect! We will help you control the position accurately and grasp the profit. When the market is good, you can make money no matter how you play, but you must know that the market will not always be good! ! ! When to buy and when to sell in the market is important. If you want to get higher returns, the choice is yours, and choice is greater than hard work!

#新币挖矿HMSTR #美降息25个基点预期升温 #灰度将推出首个美国XRP信托 #特朗普哈里斯辩论未提及加密货币 #美国8月核心CPI超预期