Bitcoin Forum
May 14, 2024, 01:05:59 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to host a website in bitcoin transaction?  (Read 172 times)
Fellane (OP)
Copper Member
Newbie
*
Offline Offline

Activity: 23
Merit: 32


View Profile WWW
May 28, 2019, 12:56:14 PM
 #1

I was looking for a way to host a simple html page inside bitcoin transaction but found nothing.
I know, that I can insert data in bitcoin transaction using op_return. As far as I know there is a 40 or 80 bytes limit. Is there any way to host a simple html page in several bitcoin transactions?
Let's say I have 1kb html page and I need to insert it to bitcoin blockchain. So I have to use several bitcoin transactions because of limit.
But how I can view this html page if it's inside several bitcoin transactions?

What is your thoughts about it? Is it at least possible?

1715648759
Hero Member
*
Offline Offline

Posts: 1715648759

View Profile Personal Message (Offline)

Ignore
1715648759
Reply with quote  #2

1715648759
Report to moderator
1715648759
Hero Member
*
Offline Offline

Posts: 1715648759

View Profile Personal Message (Offline)

Ignore
1715648759
Reply with quote  #2

1715648759
Report to moderator
1715648759
Hero Member
*
Offline Offline

Posts: 1715648759

View Profile Personal Message (Offline)

Ignore
1715648759
Reply with quote  #2

1715648759
Report to moderator
Activity + Trust + Earned Merit == The Most Recognized Users on Bitcointalk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715648759
Hero Member
*
Offline Offline

Posts: 1715648759

View Profile Personal Message (Offline)

Ignore
1715648759
Reply with quote  #2

1715648759
Report to moderator
1715648759
Hero Member
*
Offline Offline

Posts: 1715648759

View Profile Personal Message (Offline)

Ignore
1715648759
Reply with quote  #2

1715648759
Report to moderator
1715648759
Hero Member
*
Offline Offline

Posts: 1715648759

View Profile Personal Message (Offline)

Ignore
1715648759
Reply with quote  #2

1715648759
Report to moderator
LeGaulois
Copper Member
Legendary
*
Offline Offline

Activity: 2870
Merit: 4095


Top Crypto Casino


View Profile
May 28, 2019, 09:06:56 PM
 #2

It's possible with Ethereum. Someone posted a 'how to' in this section long ago, I don't remember how but I tried and it worked. I'm unable to find his topic again, nor I know what query to tell you to search but I know it's possible.
It's just visible by browsers, not by bot crawlers, etc.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Coding Enthusiast
Legendary
*
Offline Offline

Activity: 1039
Merit: 2783


Bitcoin and C♯ Enthusiast


View Profile WWW
May 29, 2019, 04:28:54 AM
 #3

There is a way to do this with bitcoin but it requires combination of two technologies: Bitcoin's scripting language (specifically OP_Return) and Torrent network. This method does not need any servers or domains. The general idea is this:
1. You build your website, it can be a simple "Hello world" page to a complex e-commerce website with user registration,...
2. Make a torrent out of it and get its 20 byte hash (this is simply the hash that you insert in utorrent to download the torrent file)
3. Create a bitcoin address that will belong to your website. Send a transaction to this address and include the hash from previous step in its output with an OP_Return.
4. Now everyone who wants to visit your website has to look at that address, they simply check its last transaction and extract its OP_Return output to get the new hash. Then they download the website using that hash via torrent network by using something like webtorrent.

Ref: https://github.com/elendirx/web2web

Projects List+Suggestion box
Donate: 1Q9s or bc1q
|
|
|
FinderOuter(0.19.1)Ann-git
Denovo(0.7.0)Ann-git
Bitcoin.Net(0.26.0)Ann-git
|
|
|
BitcoinTransactionTool(0.11.0)Ann-git
WatchOnlyBitcoinWallet(3.2.1)Ann-git
SharpPusher(0.12.0)Ann-git
Piggy
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
May 30, 2019, 07:56:52 AM
 #4

As an alternative to torrent you can also think to use a IPFS https://ipfs.io/ to host the actual page.

Anyway i agree to store just a link to the data, whatever blockchain you plan to use.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!