In this guide we will see how you can write a message on the Blockchain by yourself, without using Eternity Wall. All you need is a synchronized Bitcoin Core client with some balance on it, just to pay transaction fees.
Step 1
Start up your Bitcoin Core client and open the console window (help/debug window/console).
If you are using a terminal prepend bitcoin-cli to the commands of this tutorial.
The first thing you need to do is to list the unspent outputs of the address you are going to use:
Command:
Example:
Output:
Step 2
Than you have to create the raw transaction:
Command:
Example:
Output:
N.B. if you don’t set the change, all the bitcoin you have on the address you are using will go to the miner. In this example I made a mistake while setting the change, and I ended up with paying more than 4 dollars in fees, so be careful!
To convert your message in hex you can use your own tool or use one of the free converter you can find online, here there is an example. If you want your message to be visible on Eternity Wall, it has to start with EW.
In my example I converted the message “EW Eternal love for this amazing Wall” in the hex format 455720457465726E616C206C6F766520666F72207468697320616D617A696E672057616C6C.
Step 3
Sign the raw transaction you just created:
Command:
Example:
Output:
Step 4
Last step, now you just have to broadcast the sign transaction:
Command:
Example:
Output:
The output from this last step is the transaction ID that you can use to find your message on any block explorer. If your message starts with EW, after one confirmation it will appear also on Eternity Wall.
You can indeed see my example on a block explorer and on Eternity Wall.