follow us on twitter . like us on facebook . follow us on instagram . subscribe to our youtube channel . announcements on telegram channel . ask urgent question ONLY . Subscribe to our reddit . Altcoins Talks Shop Shop


This is an Ad. Advertised sites are not endorsement by our Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise Here

Author Topic: OP_CAT and Bitcoin  (Read 159 times)

Offline NotATether

  • Legendary
  • *
  • *
  • Activity: 1303
  • points:
    15451
  • Karma: 44
  • Premium Bitcoin Mixer
  • Trade Count: (0)
  • Referrals: 0
  • Last Active: May 04, 2024, 04:00:42 PM
    • View Profile

  • Total Badges: 15
    Badges: (View All)
    Signature Avatar Karma Good
OP_CAT and Bitcoin
« on: April 25, 2024, 03:20:36 PM »
I know most people don't understand anything about Bitcoin Script, so I will try to explain this as best as I can.

When you create a transaction, the outputs of the transactions have scripts attached to them, which contain instructions that an input must replicate in order to unlock those inputs for signing.

Mostly the script looks something like OP_DUP OP_HASH160 OP_PUSH <some hash> OP_EQUALVERIFY OP_CHECKSIG or maybe OP_DUP OP_PUSH <some hash> OP_EQUAL.

Scripts can take inputs, which are stored on a stack, similar to a programming language, which is created when a Bitcoin Core node verifies a transaction and is destroyed when verification is completed.

Ever since the introduction of Taproot, people have been finding rather creative uses for these opcodes. One of these led to the creation of Ordinals.

However, having opcodes that can do complex operations will save fees on the bitcoin network and will allow more transactions to be mined in the same block at once (due to something called "sigops"). OP_CAT is one such opcode: It combines the two highest values on the stack.

For example, if the stack looks like this:

NotA
Tether

then OP_CAT will delete these two values and put "NotATether" on the stack.

Or if the stack is

Not
A
Tetether

and you do two OP_CATs, then it will also create NotATether. (first NotA, Tether and then the complete string NotATether).

The good news is, OP_CAT finally has a BIP number, BIP 347, and that means that the BIP is under serious consideration.

It might even be added into the Bitcoin protocol again. It was first disabled by Satoshi Nakamoto himself very early on in Bitcoin's life.

https://www.coindesk.com/tech/2024/04/24/op-cat-proposal-to-bring-smart-contracts-to-bitcoin-finally-gets-a-bip-number/
█████████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
██████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
█████████████████████████████████
█████████████████████████████████████████████████████████████████████████████
.
MixTum.io
.
█████████████████████████████████████████████████████████████████████████████
█████
██
██
██
██
██
██
██
██
██
██
██
█████
.
▀▄ Premium Bitcoin Mixer ▄▀
█████
██
██
██
██
██
██
██
██
██
██
██
█████
███████████████████████████████████████████████████████████████
.
MIX FREE
Up to 1mBTC
.
███████████████████████████████████████████████████████████████
█████
██
██
██
██
██
██
██
██
██
██
██
█████
████████████████████████
█████████████▀▀████████
████████████▀▄█████████
██████████▀▌▄██████████
██████████▌███████████
█████████▀▄███▀████████
██████▀▄▄██████▀███████
█████▀▄█▀▄████████████
██████▀▄█▌▐████▐█████
█████▌▐█▀▌▐█████▐█████
██████████████▄██████
███████▄██████▄████████
████████████████████████

Altcoins Talks - Cryptocurrency Forum

OP_CAT and Bitcoin
« on: April 25, 2024, 03:20:36 PM »

This is an Ad. Advertised sites are not endorsement by our Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise Here Ads bidding Bidding Open


Offline SamReomo

  • Hero Member
  • *
  • *
  • Activity: 1126
  • points:
    43877
  • Karma: 71
  • Your Bitcoin Mixer
  • Trade Count: (0)
  • Referrals: 0
  • Last Active: May 04, 2024, 09:20:39 PM
    • View Profile

  • Total Badges: 18
    Badges: (View All)
    10 Poll Votes 1000 Posts Quick Poster
Re: OP_CAT and Bitcoin
« Reply #1 on: April 25, 2024, 08:24:16 PM »
Very comprehensive post about Bitcoin scripts. I have not heard much about Bitcoin scripts, only once or twice I have skimmed it but after reading this post, I gained some good information about those scripts.

I have heard about that OP_CAT and the proposal of adding smart contracts to Bitcoin network. I don't know what impact that will have on Bitcoin network, but if it creates more transactions then we may see network congestion.
             ▄▄█████████▄▄
    ▄█████▄█████████████████▄
  ▄███████████████████████████▄
 ████████████████▄▀▀███████████
▄███████████████████ ▀█████████
█████████████▀▀      ▐█████
████████████        ▄██████
▀███████████▌     ██████████▀
 █████
███████      ▀▀▀█████▀  █
  ███████████▄         ▀▀▀ ▄▄█
   ▀████████████▄▄▄   ▄▄▄███▀
     ▀▀██████████████████▀▀
         ▀▀▀████████▀▀▀
.
UniJoin.io Bitcoin Mixer
.|
▄▄██████▄▄
▄██████▀██████▄
▄███▀▀▀░░░▀▀▀███▄
▄███░░░▄███▄░░░███▄
████░░████▀▄█░░████
████░░█▄▀▄███░░████
▀████░░▀███▀░░████▀
▀████▄░░░░░▄████▀
▀█████▄▄▄█████▀
▀▀█████▀▀
NO LOGS
▄▄██████▄▄
▄█████▀▀▀█████▄
▄████▌░▄▄▄░▐████▄
▄█████░▀░░░█░█████▄
██████▌░░█▀░▐██████
███████▄░▄░▄███████
▀████▀░░░░░░░▀████▀
▀██▌░░░░░░░░░▐██▀
▀██▄▄█▄▄▄█▄▄██▀
▀▀█████▀▀
NO SIGN-UP
|████████████████████████
█████████████▀▄▀████████
████████████▀▄█████████
██████████▀▌▄██████████
██████████▌███████████
█████████▀▄███▀█████████
██████▀▄▄██████▀███████
█████▀▄█▀▄████████████
██████▀▄█▌▐████▐█████
█████▌▐█▀▌▐█████▐█████
██████████████▄██████
███████▄▄██████▄████████
████████████████████████
██████
██
██
██
██
██
██
██
██
██
██
██
██████
████████████████████████████████████████████████████████████████████
.
MIX ՈOW.
████████████████████████████████████████████████████████████████████
██████
██
██
██
██
██
██
██
██
██
██
██
██████

Offline Agbe

  • Hero Member
  • *
  • *
  • Activity: 1124
  • points:
    50071
  • Karma: 83
  • Coinomize.biz
  • Trade Count: (0)
  • Referrals: 0
  • Last Active: May 04, 2024, 06:36:24 PM
    • View Profile

  • Total Badges: 17
    Badges: (View All)
    Poll Voter Quick Poster 1000 Posts
Re: OP_CAT and Bitcoin
« Reply #2 on: April 25, 2024, 10:19:17 PM »
If I wish I can give more than one karma. This is educative and this the first time I am hearing of bitcoin script. Thanks for your comprehensive breaking down of the script. I can also see the formation of your username. Since this is the first time of hearing it. It is somehow difficult for me to understand so I will still make some research to add up so that the understanding will be good so I can also contribute to knowledge. And I think for one to understand this bitcoin script, the person has to do some practical works to do transaction to know the input and output of the process. And for one to understand bitcoin this would have been the first topic to know. Because it concerns about all the transactions processes of bitcoin.

I just got this too to add up to the knowledge and I am getting more understanding on bitcoin script. Thanks for the information.

Online Dr.Bitcoin_Strange

  • Hero Member
  • *
  • *
  • Activity: 1079
  • points:
    68966
  • Karma: 92
  • Bitcoin Mixer| Since 2019
  • Trade Count: (0)
  • Referrals: 1
  • Last Active: May 04, 2024, 11:38:17 PM
    • View Profile

  • Total Badges: 17
    Badges: (View All)
    1000 Posts too active, 25 Posts in one day 500 Posts
Re: OP_CAT and Bitcoin
« Reply #3 on: April 25, 2024, 10:56:02 PM »
Inasmuch as the OP_CAT has lots of potential benefits to Bitcoin, let's not also forget that it could have disadvantages too, such as causing an increase in the network congestion. We know that one of the main benefits of the OP_CAT is to allow more complex scripts, when this happens, it could potentially lead to higher transaction sizes and also decreasing over all throughput, which will definitely increase the congestion in the network.

Offline Ambatman

  • Full Member
  • *
  • *
  • Activity: 258
  • points:
    21867
  • Karma: 31
  • Trade Count: (0)
  • Referrals: 0
  • Last Active: May 04, 2024, 10:24:07 AM
    • View Profile

  • Total Badges: 13
    Badges: (View All)
    Quick Poster Poll Voter Avatar
Re: OP_CAT and Bitcoin
« Reply #4 on: April 26, 2024, 09:53:35 PM »
Any idea why it was disabled by Satoshi? I have been meaning to learn about various script. Seeing and reading people using it in their thread always get me lost, so started doing research and I recently finished learning something's about OP Return, How to change its format to text or hexagonal and the reason it was introduced.
So there's OP CAT and it can enable the creation of smart Contracts
Wouldn't something like this increase congestion?  Or is it a better alternative to runes and ordinals. Thanks.

Offline bitmover

  • Legendary
  • *
  • *
  • Activity: 1764
  • points:
    33901
  • Karma: 142
  • Premium Bitcoin Mixer
  • Trade Count: (+1)
  • Referrals: 1
  • Last Active: May 04, 2024, 01:49:21 PM
    • View Profile

  • Total Badges: 19
    Badges: (View All)
    Quick Poster 10 Poll Votes Karma Bad
Re: OP_CAT and Bitcoin
« Reply #5 on: April 26, 2024, 11:27:58 PM »
Mostly the script looks something like OP_DUP OP_HASH160 OP_PUSH <some hash> OP_EQUALVERIFY OP_CHECKSIG or maybe OP_DUP OP_PUSH <some hash> OP_EQUAL.

I am impressed you didn't mention OP_RETURN, the most "famous" one


Any idea why it was disabled by Satoshi? I have been meaning to learn about various script. Seeing and reading people using it in their thread always get me lost, so started doing research and I recently finished learning something's about OP Return, How to change its format to text or hexagonal and the reason it was introduced.

OP_RETURN is an easy way to write messages in a transaction

There is a tutorial here:
https://armantheparman.com/op_return/



Interesting curiosity:
Genesis block message was written using OP_PUSHBYTES
https://mempool.space/tx/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b
█████████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
██████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
█████████████████████████████████
█████████████████████████████████████████████████████████████████████████████
.
MixTum.io
.
█████████████████████████████████████████████████████████████████████████████
█████
██
██
██
██
██
██
██
██
██
██
██
█████
.
▀▄ Premium Bitcoin Mixer ▄▀
█████
██
██
██
██
██
██
██
██
██
██
██
█████
███████████████████████████████████████████████████████████████
.
MIX FREE
Up to 1mBTC
.
███████████████████████████████████████████████████████████████
█████
██
██
██
██
██
██
██
██
██
██
██
█████
████████████████████████
█████████████▀▀████████
████████████▀▄█████████
██████████▀▌▄██████████
██████████▌███████████
█████████▀▄███▀████████
██████▀▄▄██████▀███████
█████▀▄█▀▄████████████
██████▀▄█▌▐████▐█████
█████▌▐█▀▌▐█████▐█████
██████████████▄██████
███████▄██████▄████████
████████████████████████

Offline Stompix

  • Legendary
  • *
  • *
  • Activity: 1723
  • points:
    49146
  • Karma: 74
  • Your Bitcoin Mixer
  • Trade Count: (0)
  • Referrals: 0
  • Last Active: May 04, 2024, 09:35:30 PM
    • View Profile

  • Total Badges: 15
    Badges: (View All)
    Karma Bad Poll Voter Topic Starter
Re: OP_CAT and Bitcoin
« Reply #6 on: April 27, 2024, 09:37:01 PM »
Any idea why it was disabled by Satoshi?

Usage and possible vulnerabilities in spending at that time.
There have been ideas to revive it but I don't really see it happening, most devs were against it back in the days, there was no interest in them,as OP_CAT is not alone:
https://en.bitcoin.it/wiki/Script

There is also OP_MOD that is disabled, mainly because of no functionality and that would have some use cases and less animosity.

I am impressed you didn't mention OP_RETURN, the most "famous" one

The one whose name should not be uttered  :-X
             ▄▄█████████▄▄
    ▄█████▄█████████████████▄
  ▄███████████████████████████▄
 ████████████████▄▀▀███████████
▄███████████████████ ▀█████████
█████████████▀▀      ▐█████
████████████        ▄██████
▀███████████▌     ██████████▀
 █████
███████      ▀▀▀█████▀  █
  ███████████▄         ▀▀▀ ▄▄█
   ▀████████████▄▄▄   ▄▄▄███▀
     ▀▀██████████████████▀▀
         ▀▀▀████████▀▀▀

UniJoin.io   Your CoinJoin Mixer
▄▄██████▄▄
▄██████▀██████▄
▄███▀▀▀░░░▀▀▀███▄
▄███░░░▄███▄░░░███▄
████░░████▀▄█░░████
████░░█▄▀▄███░░████
▀████░░▀███▀░░████▀
▀████▄░░░░░▄████▀
▀█████▄▄▄█████▀
▀▀█████▀▀
NO LOGS
▄▄██████▄▄
▄█████▀▀▀█████▄
▄████▌░▄▄▄░▐████▄
▄█████░▀░░░█░█████▄
██████▌░░█▀░▐██████
███████▄░▄░▄███████
▀████▀░░░░░░░▀████▀
▀██▌░░░░░░░░░▐██▀
▀██▄▄█▄▄▄█▄▄██▀
▀▀█████▀▀
NO SIGN-UP
████████████████████████
█████████████▀▄▀████████
████████████▀▄█████████
██████████▀▌▄██████████
██████████▌███████████
█████████▀▄███▀█████████
██████▀▄▄██████▀███████
█████▀▄█▀▄████████████
██████▀▄█▌▐████▐█████
█████▌▐█▀▌▐█████▐█████
██████████████▄██████
███████▄▄██████▄████████
████████████████████████
██████
██
██
██
██
██
██
██
██
██
██
██
██████
████████████████████████████████████████████████████████████████████
.
MIX ՈOW.
████████████████████████████████████████████████████████████████████
██████
██
██
██
██
██
██
██
██
██
██
██
██████

Altcoins Talks - Cryptocurrency Forum

Re: OP_CAT and Bitcoin
« Reply #6 on: April 27, 2024, 09:37:01 PM »


 

ETH & ERC20 Tokens Donations: 0x2143F7146F0AadC0F9d85ea98F23273Da0e002Ab
BNB & BEP20 Tokens Donations: 0xcbDAB774B5659cB905d4db5487F9e2057b96147F
BTC Donations: bc1qjf99wr3dz9jn9fr43q28x0r50zeyxewcq8swng
BTC Tips for Moderators: 1Pz1S3d4Aiq7QE4m3MmuoUPEvKaAYbZRoG
Powered by SMFPacks Social Login Mod