Hacker News new | ask | show | jobs
by coralreef 3188 days ago
Can someone quickly explain how file storage / bandwidth off the blockchain works? Who pays the gas to deliver it to end users?
1 comments

You pay for gas when you send a transaction (i.e. buy an ad or publish an ad).

For displaying, if you browse with Mist or MetaMask, you're pulling the data from the blockchain. When you don't, we show you the ads statically by using a Ethereum gateway.

Either way, reading doesn't cost gas, just bandwidth to keep the blockchain in sync.

Thanks. How is the Ethereum blockchain suppose to support hosting this data forever if nodes don’t get paid for it?
The data literally is the blockchain.

Ethereum provided two types of data storage. One you pay for bytes used but your script has access to this like normal memory.

The other type is outputting log events. DAapps can't read these but blockchsin explorers can read them directly from the underlying blockchain data.