0
I simply want to store one small string in the blockchain. That's it. I am reading here a step by step guide but there is little in terms of explanation beyond the code snippets. What I would like to know is if essentially the problem is this...
There are two parties: me and someone else. I need to somehow get that "someone else's" address, and can figure out the rest from there.
But the main problem is, I don't have any "someone else" I would like to send the money to (or even need to send money to). I simply want to place something in the blockchain.
How are people doing this in their tutorials? Who are they sending the money to? Are they just creating a "dummy transaction" against a "dummy address" of some sort, and then getting a refund of the money? That way it seems the data would still be in the blockchain, but then no money would be spent (other than a potential processing tax fee).
If so, how do I do that? Am I supposed to setup two bitcoin networks, and send data from one to the other? That is, create a transaction of sending money from one to the other? Or perhaps even easier (though not possible?), I can get two addresses from my bitcoin node, and then send money from one of those addresses to another. Is that possible?
Why do you want to store data on the blockchain? It is not designed for that. OP_RETURN is for attaching data to transactions. If you have no transaction to make, what do you need to store along with it? Many of your misunderstandings seem to based on the fact that you're trying to do something the system wasn't designed for. – Pieter Wuille – 2019-10-28T15:38:44.950