how do we register our assets in hyperledger?

0 votes

I am trying to understand about registry, like what is registry, why do we need to store Assets and Chaincodes in registry, where does registry gets stored.

May 25, 2018 in Blockchain by Shashank
• 10,350 points
268 views

1 answer to this question.

0 votes

First of all, the chaincode (or smart contracts) and the assets are two different things.

  • Chaincode: the code that you will execute/invoke. This code is the same in all the nodes, i.e. each node of the network has installed the same chaincode.
  • Assets: you digitize the assets using transactions that are governed by smart contracts.

On the other hand, how it works:

  • Ledger: the Ledger stores all the transactions. The ledger is comprised of a blockchain (‘chain’) to store the immutable, sequenced record in blocks. Each peer maintains a copy of the ledger.
  • State Database: maintains the current state. It represents the latest values for all keys ever included in the chain transaction log. Chaincode invocations execute transactions against the current state data.
answered May 25, 2018 by Johnathon
• 9,080 points

Related Questions In Blockchain

+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

answered Oct 11, 2018 in Blockchain by Sahu
474 views
0 votes
1 answer

How to control visibility of assets in Hyperledger Fabric?

you can use proof of Authority consensus ...READ MORE

answered Jul 10, 2018 in Blockchain by digger
• 27,640 points
107 views
0 votes
1 answer

How do nodes communicate with each other in hyperledger?

First let me tell you that there ...READ MORE

answered Jul 17, 2018 in Blockchain by slayer
• 29,050 points
162 views
+1 vote
1 answer

How do i add images in Hyperledger?

You can not directly add an image ...READ MORE

answered Aug 10, 2018 in Blockchain by Omkar
• 67,460 points
89 views
0 votes
1 answer
0 votes
1 answer