Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

custom blockchain data structure

Tags:

blockchain

I am trying to verify a business idea for a blockchain application, that would use a private / consortium blockchain.

I am looking at trying a test in multichain or a similar platform.

One thing I am unsure of, is how I can define what my data looks like? If I was creating my own app from scratch I'd design a database etc.

How would I do this with something like multichain? For example, if I am trying to store records of a particular asset, and the varying interests in that asset of multiple parties, how do I define how that looks like in my blockchain app?

Put another way, what would be the equivalent of defining my "asset" table, my "assetparties" table etc? Can I control what data is actually stored there / what the transactions represent?

like image 631
Dave Avatar asked Nov 19 '25 00:11

Dave


1 Answers

If I were you, I'd try Hyperledger Fabric. It is an implementation of Blockchain developed for the businesses.

One thing I am unsure of, is how I can define what my data looks like? If I was creating my own app from scratch I'd design a database etc.

About the previous question: the Blockchain is the database. You have to define the logic of your code. That code, the Smart Contract, will be installed in all the nodes of the Blockchain.

Your Blockchain will store each registry like a transaction. A transaction is the equivalent from a registry of your data base. So, you have to define well your Smart Contract, defining there which type of data you will store. Also, you define the logic of your "business idea" in the Smart Contract.

like image 190
Urko Avatar answered Nov 22 '25 03:11

Urko



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!