Get/add arbitrary data to blockchain
-
This isn’t related to LINK or anything, but I am trying to find out how to get and add the few bytes of arbitrary data one may attach to a transaction (right term?). I am basically wondering if it is possible to attach this data during say a send and allow the receiving address to read this data.
Thanks,
-
I know its not related to LINK but I think LINK is exactly what you are after here.
LINK allows you to send to an address that is really just some information.
There is a way you can create vanity wallet addresses that contain data in which would allow you to create a sending address containing data that the receiver could read.
Or I do believe there used to be some room for data to be sent alongside the transaction such as comments etc but I think these will be ignored and never processed by the miners / wallets etc.
Maybe someone with more in Depth Knowledge my help.
-
Maybe I should have been more clear. There is a place where one can place arbitrary data - it’s some number of bytes. I’m interested in learning more about putting data there - arbitrary data that is no larger than that section. Can the client read/write to this section when it initiates a transaction? If so, how?
Thank you,
-
[quote name=“estrabd” post=“57736” timestamp=“1391776994”]
Maybe I should have been more clear. There is a place where one can place arbitrary data - it’s some number of bytes. I’m interested in learning more about putting data there - arbitrary data that is no larger than that section. Can the client read/write to this section when it initiates a transaction? If so, how?Thank you,
[/quote]Yep. The LINK protocol explains how to do this very neatly, and provides a standard way of going about it so that the data can be easily read and parsed by any client, but you can always skip the LINK encoding scheme and make your own: https://github.com/tsavo/link
-
[quote name=“Kevlar” post=“58306” timestamp=“1392072391”]
[quote author=estrabd link=topic=7464.msg57736#msg57736 date=1391776994]
Maybe I should have been more clear. There is a place where one can place arbitrary data - it’s some number of bytes. I’m interested in learning more about putting data there - arbitrary data that is no larger than that section. Can the client read/write to this section when it initiates a transaction? If so, how?Thank you,
[/quote]Yep. The LINK protocol explains how to do this very neatly, and provides a standard way of going about it so that the data can be easily read and parsed by any client, but you can always skip the LINK encoding scheme and make your own: https://github.com/tsavo/link
[/quote]Most appreciated.++