2

I am building a Dapp application. One of my use-cases is storing a large number of images. How can I accomplish this on Ethereum?

My architecture /correct me if I am wrong includes DaPP(smartcontract) ---->Oraclize --->API ---->DB(mongo etc..)

Is there an easier way of doing this?

0

1 Answer 1

4

It is not feasible to store images on-chain (see What is the cost to store 1KB, 10KB, 100KB worth of data into the ethereum blockchain?).

In general, you would store the image off-chain (IPFS, Swarm, imagur, ...) and put the fingerprint (hash) of the image and link to it on-chain.

Not the answer you're looking for? Browse other questions tagged or ask your own question.