Live data from Hacker News

Bottle: A Bitcoin SV Browser

bottle.bitdb.network

51–60 of 149 posts

Re: Bottle: A Bitcoin SV Browser

#51

>And because it's on the blockchain, ownership is provable, the content is permanent, and it can be directly monetized forever. How can content be monetized foreved if it costs something to upload (send a transaction to create the block) but nothing to browser (navigating through the blockchain costs nothing)?

The Bitcoin blockchain stores and secures a ledger. So these websites are just content (text, code) encoded and published through various entries (outputs) on that ledger. You can publish on the Bitcoin ledger for 1 satoshi/byte and an average transaction is around 250 satoshis. These include info on the "sender", "recipient", amount, etc. But with the a special type of opcode you can also publish strings. So the cost of publishing on the Bitcoin blockchain depends on the size of the text you need to publish.

A satoshi = 0,00000001 bitcoin and 1 bitcoin recently crossed 10k dollars. So being conservative, 10 bucks would allow you to publish a very simple website.

Bitcoin's blockchain is a terribly inefficient place to publish websites, unless you're looking for censorship resistance. The Bitcoin blockchain is secured by the strongest network on the planet by far. So once you publish it you can be pretty sure it won't be easily taken down.

Navigating the blockchain in the sense I think you mean wouldn't cost anything. You'd just need to interpret the encoding of the text that was published.

Re: Bottle: A Bitcoin SV Browser

#52
Sure, Bottle is great but go and check out bitstagram.com all of these images are stored and served from the blockchain.

The entire site is front end, plain vanilla Javascript. It is using services that this developer also made.. Unwrter is a class act. @_unwriter

Re: Bottle: A Bitcoin SV Browser

#53
post #34

It's a neat idea. Although, I'm skeptical of its practicality for hosting any serious amount of data. If everything is hosted on the Bitcoin blockchain then every node in the Bitcoin network will need to keep a copy of every file uploaded. I would prefer the DHT model used by IPFS and DAT where each node only hosts part of the network.

OP_RETURN data can be pruned, actually. Miners/node owners can decide for themselves if they want to keep the data; eventually a market will emerge for such a service, but for now the blockchain is small enough that it's not a problem.

In most cases, you don't even need a pruned node. https://github.com/interplanaria/bitbus

Re: Bottle: A Bitcoin SV Browser

#54

Earlier quoted context omitted.

Yes. It lives as a transaction output under op code 'OP_RETURN'. See example of weather data stored on chain https://whatsonchain.com/tx/6dac238576e9778458bb62a2f7d936fd... >are there fees to host this data (as we need to pay miners to include data in a block)? Yes, current fees are about 1 sat/byte. This is really a write once, read many type of system.

So it will be roughly $115 USD per megabyte? (1% of a BTC). High, but at least you get a 10000x replication factor.

No, it will be around 20 cents to store 1MB

Re: Bottle: A Bitcoin SV Browser

#55

If we are posting data to the Bitcoin blockchain, does this data live alongside transaction data? And if so, are there fees to host this data (as we need to pay miners to include data in a block)?

> does this data live alongside transaction data?

Yes.

A Bitcoin "transaction" is actually a short Forth-like program running on a stack-based, non-Turing complete virtual machine. When Bitcoin has been sent to an address, the output script of a transaction is something like this:

    let HASH = "xxxxxxxxxxxxxxxxxxxxxx";
    if (check(HASH, pubkey, signature) == True) 
        return 1;
    return 0;
And recall a Bitcoin address is a RIPEMD-160 hash, which means any 20 bytes binary data is a legitimate Bitcoin address. So earliest and simplest method of storing data is simply submitting a payment that sends pennies to a bunch of garbage Bitcoin addresses corresponding to your binary data.

This method was controversial in the early days, as it created a lot of not-actual-transaction garbage in the blockchain. Bitcoin developers later introduced opcode "OP_RETURN", which is seen as a standard and less-evil way to post data. In this case, the script is something like:

    let DATA = "xxxxxxxxxxxxxxxxxxxxxx";
    return 0;
Also, from the perspective of the system, it's just a transaction. Although for a OP_RETURN transaction, it won't be added to the UTXO (unspent transactions) list, because the script always returns false, it's not spendable.

The limitation of using Bitcoin blockchain as a data storage medium is the astronomical transaction fee. The larger the transaction (i.e. the script), the higher the fee. Typically, nobody can afford to store more than a few hundred bytes.

Re: Bottle: A Bitcoin SV Browser

#56
post #49

Please note this is hosted on the BitcoinSV (BSV) network, which is not the same as the Bitcoin network that we all know as BTC. BitcoinSV has much bigger blocks than Bitcoin, which is probably why this idea is possible. While the same idea could be applied for the original Bitcoin network, that is far more popular, it would be highly impractical as blocks are smaller and transaction costs are higher. I don't want to…

I understand the concern, however association is not necessarily truth. Let's say there are the following main bitcoins: BTC - Bitcoin Core - small blocks + Lightning BSV - Bitcoin SV - Bitcoin as originally proposed, with on-chain scaling Others, BCH, Bitcoin Gold, etc. People must start to learn that there are some implementations of the bitcoin protocol with different perspectives. In my opinion, BSV holds the most promising vision and there will be a lot of experimentation and public blockchain innovation on top of it.

Re: Bottle: A Bitcoin SV Browser

#57
post #49

Please note this is hosted on the BitcoinSV (BSV) network, which is not the same as the Bitcoin network that we all know as BTC. BitcoinSV has much bigger blocks than Bitcoin, which is probably why this idea is possible. While the same idea could be applied for the original Bitcoin network, that is far more popular, it would be highly impractical as blocks are smaller and transaction costs are higher. I don't want to…

I guess the word "Bitcoin" used here refers to the protocol that the browser builds on, and not the chain commonly known as Bitcoin which has BTC as base asset. Bottle is not limited to BSV but could as well be run on other chains implementing the Bitcoin core protocol such as BTC, BCH, LTC and Doge.

Re: Bottle: A Bitcoin SV Browser

#58
post #49

Please note this is hosted on the BitcoinSV (BSV) network, which is not the same as the Bitcoin network that we all know as BTC. BitcoinSV has much bigger blocks than Bitcoin, which is probably why this idea is possible. While the same idea could be applied for the original Bitcoin network, that is far more popular, it would be highly impractical as blocks are smaller and transaction costs are higher. I don't want to…

This post is running around BSV-associated social media outlets. [1] [2]

BSV is a project almost entirely propped up by a billionaire gambling tycoon named Calvin Ayre who is promoting a known con-artist named Craig Wright [3] as the inventor of Bitcoin. They promote BitcoinSV, which came into existence last November as the "One True Bitcoin". They are invested in massive astro-turfing for publicity and to lend themselves perceived legitimacy.

[1] https://twitter.com/_unwriter/status/1143599992667590656

[2] https://www.reddit.com/r/bitcoincashSV/comments/c5eg27/its_t...

[3] https://craigwright.online/

Re: Bottle: A Bitcoin SV Browser

#59
post #34

It's a neat idea. Although, I'm skeptical of its practicality for hosting any serious amount of data. If everything is hosted on the Bitcoin blockchain then every node in the Bitcoin network will need to keep a copy of every file uploaded. I would prefer the DHT model used by IPFS and DAT where each node only hosts part of the network.

Do you mean IPFS & DAT? There is also Webtorrent, GUN, SSB, etc.

Re: Bottle: A Bitcoin SV Browser

#60
post #57
post #49

Please note this is hosted on the BitcoinSV (BSV) network, which is not the same as the Bitcoin network that we all know as BTC. BitcoinSV has much bigger blocks than Bitcoin, which is probably why this idea is possible. While the same idea could be applied for the original Bitcoin network, that is far more popular, it would be highly impractical as blocks are smaller and transaction costs are higher. I don't want to…

I guess the word "Bitcoin" used here refers to the protocol that the browser builds on, and not the chain commonly known as Bitcoin which has BTC as base asset. Bottle is not limited to BSV but could as well be run on other chains implementing the Bitcoin core protocol such as BTC, BCH, LTC and Doge.

It could be implemented, yes. BUT it wont work at scale because non of them scale except BSV. DYOR
Post reply on HN