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,400 points

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,090 points

Related Questions In Blockchain

+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: ...READ MORE

answered Oct 11, 2018 in Blockchain by Sahu
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
• 26,720 points
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,300 points
+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
• 69,150 points
0 votes
1 answer
0 votes
1 answer