Developers Forum for XinFin XDC Network

Discussion on: Storing bad (evil)types of data on the blockchain : how does protection work?

Collapse
akhekade profile image
Atul Khekade

You can't store much data on blockchain except metadata. The metadata can contain hash value reference to external data source. Blockchain isnt designed for heavy onchain data storage.

Thread Thread
ineedhelpx profile image
Julia Pak Author

so this brings on another question: I am developing a food ordering app. I need to dispatch orders that are placed to workers on the ground, can blockchain do order assignment? I'm assuming it can handle this task. My off chain data will be on firebase etc

Thread Thread
akhekade profile image
Atul Khekade

Yes. In this case, the L2 (which is your primary ordering service app) can use L1 (XDC Mainnet) functionality to confirm the orders and/or schedule them. There are some open source references on github to take inspiration from if its something that you may want to refer:

github.com/iampkmone/FoodChain

Thread Thread
ineedhelpx profile image
Julia Pak Author

thank you very much. i will take a read