Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: lastimmortal on April 07, 2016, 06:50:16 AM



Title: Insert Text inside transaciont
Post by: lastimmortal on April 07, 2016, 06:50:16 AM
Hi,

i'm interested to know if there is possibility send text message via Blockchain... is there any size Limit? in case there is any technique to split the message over chain?


Thx



Title: Re: Insert Text inside transaciont
Post by: Patatas on April 07, 2016, 06:59:27 AM
What do you mean by sending a text message ? Like a note about the transaction ? The only way that I'm aware of is naming your address provided by SPV's ,not sure if core provides this service but you can name your address which will be publicly shown for transactions on that address.

I think Blockchain.info is one of the wallets offering the service .


Title: Re: Insert Text inside transaciont
Post by: piotr_n on April 07, 2016, 08:38:29 AM
Yes, it is possible.

You would put the text in the pk-script of your transaction output(s).
The most common method is to use OP_RETURN opcode, followed by the data (text message) you want to notarize.

Just remember that if you put too much data after OP_RETURN, you might have problems getting the transaction confirmed.
But the blockchain protocol itself allows a transaction to be as big as 100KB and you can fill it with a text almost entirely.
Apart from the limitations inside the official software, miners should not have problems including such a transaction into a block, as long as you'd pay them a sufficient fee.

A cheaper way however would be to only embed a hash of your message into the blockchain, while the message itself would be broadcast via some other channel.


Title: Re: Insert Text inside transaciont
Post by: kn_b_y on April 07, 2016, 12:42:39 PM
A cheaper way however would be to only embed a hash of your message into the blockchain, while the message itself would be broadcast via some other channel.


And this method would, of course, have the added feature of privacy - if it was required.


Title: Re: Insert Text inside transaciont
Post by: bitdumper on April 09, 2016, 08:45:03 AM
Blockchain.info provide you with an option to embed a public note in transaction. But it can be only seen on the website. It doesn't include any extra cost but requires transaction of min size 0.005 BTC.


Title: Re: Insert Text inside transaciont
Post by: Hyena on April 09, 2016, 10:46:45 AM
You may be interested in my pet project: http://cryptograffiti.info
You can also use http://www.cryptograffiti.info/paystamper/ to attach a message to a bitcoin transaction in a way that the message would be stored in the block chain forever.


Title: Re: Insert Text inside transaciont
Post by: findftp on April 09, 2016, 12:44:59 PM
www.cryptowill.com will also let you put a readable message in the blockchain.