Bitcoin Forum
May 06, 2024, 09:04:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: How to add message in Bitcoin tx  (Read 389 times)
Flexystar
Full Member
***
Offline Offline

Activity: 1092
Merit: 227



View Profile
June 13, 2023, 03:38:42 PM
 #21

Nice message, although you're not the first to do so based on search result from https://preturnio.com/results?p=1&b=Craig&ft=0.
--snip--
That's it. Make sure you read the guide above, specially the warning. Learn first what you are going to do.
And optionally use testnet first, especially if you don't want to spend money or afraid accidental doing something stupid.

I barely think I have understood anything from the discussion above. Lolz.

First thing first, why would anyone want to add text like these. Is there any purpose behind this feature or it is jut something that is added because we can do it with the help of wallet feature?

Let us say I am transacting someone so its probably after discussion with them over a chat box or phone call and let us say some business I did with them. That would be my first line of communication. So why go through such complicated message addition if that can also screw up with the accidental money spending with this feature as discussed above?

I saw the message, and does it hide the bitcoin address if we add the message? Like in the above case all other transactions BTC address is visible but theirs is just replaced with message. Just to spread message or look cool or what importance it has?
1715029442
Hero Member
*
Offline Offline

Posts: 1715029442

View Profile Personal Message (Offline)

Ignore
1715029442
Reply with quote  #2

1715029442
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Little Mouse (OP)
Legendary
*
Offline Offline

Activity: 2044
Merit: 1980


Marketing Campaign Manager |Telegram ID- @LT_Mouse


View Profile WWW
June 13, 2023, 03:59:55 PM
 #22

First thing first, why would anyone want to add text like these. Is there any purpose behind this feature or it is jut something that is added because we can do it with the help of wallet feature?
It's more a method of storing data in the blockchain. We are using the word "message" here. But you are free to call it text or whatever you want. I don't know what exactly OP_RETURN refers to lol. I'm only using it for fun. You can further explore OP_RETURN here- https://en.bitcoin.it/wiki/OP_RETURN
Edit-
Check out this article- https://blog.finxter.com/bitcoin-op_return-exploring-its-functionality-and-use-cases/

I just realized OP_RETURN has a similarity with the Bitcoin Ordinal though they both are different.

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18510


View Profile
June 13, 2023, 04:54:17 PM
Merited by ABCbits (1)
 #23

First thing first, why would anyone want to add text like these. Is there any purpose behind this feature or it is jut something that is added because we can do it with the help of wallet feature?
There are some purposes beyond adding arbitrary text. For example, Samourai Whirlpool Tx0 transactions contain an OP_RETURN output with data which allows the automatic coordinator to track outputs. Here's a recent random example I pulled from the blockchain: https://mempool.space/tx/ba3793dba5988e0acc2b36aac1ee67c34c805a18e76a8af26e424f338269dc08

There are things like Omni, which is a layer two system which allows people to transact altcoins on the bitcoin network. Here is an Omni transaction which is actually sending Tether between two addresses: https://mempool.space/tx/80373137c00a8e47998b886b60056fb228dc7b61caa8840e5ce5cab29c3db1d4

And then of course there is the arbitrary text, such as the following: https://mempool.space/tx/94310784a576d2d51246d4344ccab638467a6da8663ec1fb707e8a3882aceffd

If you want to explore OP_RETURN outputs more, then I would recommend playing around with this site: https://preturnio.com/
Yamane_Keto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 486



View Profile WWW
June 13, 2023, 05:06:31 PM
 #24

Let us say I am transacting someone so its probably after discussion with them over a chat box or phone call and let us say some business I did with them. That would be my first line of communication. So why go through such complicated message addition if that can also screw up with the accidental money spending with this feature as discussed above?


OP_RETURN is a proof of burning because its output is not spendable and therefore it is a POB because the resulting transactions are invalid.
It is something that exists in the Bitcoin network, meaning that it is not a feature associated with a specific wallet, although some wallets may not support it.

OP_RETURN has applications such as proof-of-ownership or the transfer of additional information over an insecure channel, just as it happens when we want to initiate an encrypted communication network between two parties and we want to send the private key in both directions, or what is known as the Elliptic-curve Diffie-Hellman (ECDH) protocol.

Using it to save data is wrong because recording data is expensive, it cannot be erased, and everyone can see it, as the cost of data is almost equivalent to the cost of a Bitcoin transaction and the number of words is limited.
There are cheaper and more efficient alternatives.

OUCH! o_e_l_e_o writes faster than me. I had to delete some parts.

I just realized OP_RETURN has a similarity with the Bitcoin Ordinal though they both are different.
Bitcoin Ordinal is an injection of extra data which is a SPAM while OP_RETURN has some advantages.

.BEST.CHANGE..███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!