I've heard about "hidden messages" in the Bitcoin blockchain a few weeks ago. But I thought Ethereum's chain must be more interesting to do this. (It was designed to send custom data with transactions)
And I was right!
There were some people before me who created undeletable text messages in the ETH blockchain.
Like these enlightened ones:
(Click link then scroll down to "Input Data", and press "Convert to UTF8" button)
If we store text why don't we store HTML?
This was my main question. So I created ETHscape, the Ethereum based web browser. (Hey, don't take it too serious, it's just a working techdemo now...)
How to store webpages on Ethereum network?
First step is to create some HTML. If you don't know where to start, try this online editor. It has nice basic functionalities and a "compress HTML" button, which can save you some Eth by purging unnecessary characters and tags.
Here you can see the compressed HTML code:
Once you designed your page, you must convert its html code to hex code for example here
This page will generate the final code for you. You can send this code in a transaction and it will be stored on ETH blockchain. Forever. Wow. It's impressive.
Testing
When you have the hex code , I suggest you to test it by pushing the Hex button in the top and paste the code to the window. (Instead of sending it blindly to blockchain)
If everything is fine, your webpage should show up. You are ready to send.
How to became eternal?
Send a transaction to anybody, and put the hex code in the data field.
And when you paste your transaction's Tx number into the 'address bar' the ETHscape browser will convert your Tx data to HTML and will display it as a webpage.
It's cool.
Ha! ;)
You can check my own page in transaction 0xbe62210e9ffbad5caebcd76e9b33969809ef1507c1b213b404ef3aaca882703a by clicking the link or viewing it in the ETHscape browser:
Please note, the ETHscape browser is still in an early development stage. It's buggy and shitty. I know it very well. Please don't post about it. ;)
If you like this project, please send transactions with HTML-hex datas to my ETH address. It will help me a lot with testing :)
0x1487e06CFAB2Be159C455863A72E6Ba2D5f624D1
Please share your thoughts with me here, I'm really curious. It's a very new concept in our online world. :)
Try it out:
Source is available on Github