0

I want to migrate my no-SQL dB on-chain. There are two options as far as I know:

  1. Store the objects in the form of string using a simple smart contract.
  2. Create a structure to implement the dB schema. Then store migrate the dB objects as instances of the schema structure.

Are there any more possible solution?

P.S: IPFS and swarm are better solutions, but I'm interested in solutions for private networks.

  • 1
    Ethereum wasn't designed to manage large amounts of data. If you want performance and blockchain immutability a solution is to have a database off chain and periodically store snapshots hashes. – Ismael Aug 26 at 13:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.