Exporting image assets from ethereum smart contract with solidity
github.com
github.com
The art goes on the dogecoin, the purchase happens on ethereum.
File storage protocols exist such as Sia and Filecoin, that are more appropriate for decentralized storage.
On the Ethereum EVM it is 12,000,000 ether gwei. Most blocks are full. If you are willing to pay 12,000,000 ether gwei at competitive gas prices, it will get mined.
For an image application you can probably use as many blocks as you want to create and store a larger image.
As blocks are already full, this wont change anything, some people will get priced out for the time being or they pay higher gas price, miners get paid 12,000,000 ether gwei * gas price either way.
So gas prices right now are like 135 gwei.
12,000,000 ether gwei is 0.012 ether. 0.012 * 135 = 1.62 ether @ $1,704 per ether = $2760 cost if you want to fill up an entire block
Binance Smart Chain EVM has 30,000,000 binance gwei gas limit. And the binance token is much cheaper to begin with at the moment.
and there are other EVMs, you can find the EVM you want to use. Ethereum mainnet EVM has the highest number of nodes to store it though.
Its economical if you can sell it for a higher price. No different from any other art trade, artist can take the risk or a studio can front capital.
The reason the math still works is that 12 million gas priced at 1 gwei/gas would cost 12 million gwei, which is .012 ether. (Since one ether is defined as a billion billion wei) ... Maybe this was all what you meant, but it was hard for me to decipher.
The adjective is necessary as other EVMs are proliferating and in heavy use.
But even without that I dont think there is a distinction big enough to worry about it. There are 1 billion gwei in 1 ether, we can go from there and get the same results.
this is unrelated to being a “blockchain skeptic”, a “no-coiner”, a “bitcoin only, Ethereum is too centralized, dont mention any other distributed ledger around me” person, or anything else
The EVM (Ethereum Virtual Machine) concept is as important to be up to speed on as the JVM (Java Virtual Machine) concept
This is unrelated to being a "homeopathy sceptic", a "no-diluter" person, or anything else.
---
Really? If you think blockchains are stupid, why should you learn about the details of how exactly the pollution happens and how much real money is used to power each transaction?
There is no specific cost for storage, only gas for execution. For dynamic storage the SSTORE operation stores a word (256 bit). It costs 20,000 gas when the value is set from zero to non-zero, 5,000 gas when the value is set from non-zero to non-zero, and it provides a refund of 15,000 when the value is set from non-zero to zero. This is the only way to make data readable by contracts and thus light clients.
There is also the option of storing as code, which cannot be updated. There's the 32,000 gas paid for the CREATE and then 200 gas per byte for the code. This is much cheaper at 6,400 gas per 32 bytes.
So deploying a 128 byte string assuming a gas price of 100 GWEI and $1700 ETH:
32,000 + (6,400 * 4) = 57,600 gas
57,600 gas * 0.000000001 ETH (1 gwei) * 100 gwei * $1700 = $9.79
This would just store bits, it wouldn't be a valid contract you could actually call.
Or you could write your data as the parameters to a contract call at a price of 4 gas per zero and 16 gas per non-zero..
You would be able to read data stored this way off etherscan.
I'm not including the base 21,000 gas you have to pay for any transaction.
Your 6TB figure includes "store every single historical past state of the system", which is going "above and beyond": it is something that you never need to do for either correctness or operation of the system, whether as a user or as a miner... the only people who use archive nodes are people who are trying to more easily step-by-step debug old transactions.
It looks like this project doesn't actually store arbitrary pictures.