element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Internet of Things
  • Technologies
  • More
Internet of Things
Blog Blockchain - HyperLedger Fabric pt 1: post and search transactions on a distributed trusted ledger
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Internet of Things to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 29 Feb 2020 9:30 PM Date Created
  • Views 1242 views
  • Likes 7 likes
  • Comments 3 comments
  • infineon
  • blockchain
  • rt
  • hyperledger
Related
Recommended

Blockchain - HyperLedger Fabric pt 1: post and search transactions on a distributed trusted ledger

Jan Cumps
Jan Cumps
29 Feb 2020

This post is part of the Infineon Blockchain Starter Kit road test.

Blockchain - outside of the bitcoin context - is new to me.

Follow along with me on this path to learn the technology....

 

 

Blockchain can be used to build a trail of trusted actions. A chain of events built on trust or agreements between parties.

A chain that can be stored at several locations. That can be audited by all involved parties.

And that can be audited and queried by external players if they are part of the deal.

image

For this post, actions are called transactions, and a chain of actions is called a ledger.

An agreement or trust is called a contract.

 

I try to show the technology, without explaining it.

It took me a while to get here - set up all software, services and dependencies to make it work. Future blogs will dig into that

But this time, I want to show some achievements.

If you're looking for the next bitcoin solution, you may want to look elsewhere  - this is related because chains define trust, yet not related.

 

Blockchain has many uses. Here, I'm looking into its capability to support the trust-and traceable part in distributed transaction records.

When doing transactions between parties (an order, a sale, money transfer, a movement of goods, turning ingredients) we're looking for binding bounds.

 

A handclap between farmers in a Flanders and Netherlands animal markets , something that is way older than any blockchain trust,  is my guidance.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

When you break that human-to-human, physically-touching-hand-to hand clapped-and-gripped agreement (still used these days - there's 80 years between both videos) you'd lose all integrity - the genetic equivalent of revoking your CA certificate in modern times.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Over here, clapping hands and closing a deal on a market that way is stronger than written jurisdiction. This is very binding. A person to person deal closed physically. It may look like folklore but any court will try to stay away from deals that are clapped and shaken. You can see the polite English version (only the firm handshake is evident - although some reluctant hand-holding in between that mimics the clapping can be spotted sometimes) in the Antiques Road Show.

 

Clapping the hands - up on to the millisecond before closing the deal - is equal to defining a contract in Hyperledger , shaking hands is equal to closing a deal, a transaction in Hyperledger).

You can walk away from the clapping (negociation). You can't undo the handshake (sign).

I would never clap and shake a deal with someone today if I was not sure to close it, because I'd lose all trust when I'd break a clapped deal. For ever. That's why public markets, where everyone can participate and witness, are crucial. Similar to having audit access to your blockchain ledger ...

 

A certificate is a token of trust that can be revoked when you aren't living up to the trust of the people you're doing business with.



HyperLedger Fabric

 

Fabric (oversimplified) is a set of records (ledger) where you can create and query transactions. Your trusted partners can do the same.

At any time, you and your partners can verify and consult those transactions.

The set of records can be distributed and synchronised.

If a non-trusted party wants to put bogus transactions on that ledger, or a any party wants to meddle with an existing transaction, anyone can see that.

 

Fabric is a set of services that runs these ledgers and the communication between trusted/synched ones.

 

Example Fabric Project

 

The example project that comes with Fabric runs two synchronised and trusted ledgers, as separate services.

Organisations can post transactions on any of the two instances.The ledgers will sync.

At startup, the example will post a number of new automobile production transactions.

 

The postings are signed by the organisation that does the transactions. The transactions can be queried - and verified against the chain - by any party.

The default example, after posting those automobile orders on the ledger., assigns a purchase of one of those cars to one of the players.

Both players (and an other agreed party) can then consult the transactions and their integrity:

 

Here's the startup of the services:

image

 

Query by org1, on ledger instance running on port 7051:

image

 

The same query, performed by org2, on a different but chained ledger, running on 9051:

image

 

At this time, I expect that the confusion is still high - although trying and running it helps.

Future posts will bring clarity...

 

Related Blog
Blockchain - HyperLedger Fabric pt 1: post and search transactions on a distributed trusted ledger
Blockchain - Hyperledger Burrow: set up a distributed ledger
Blockchain - Get Some Crypto Currency on an Infineon Security 2Go Card
Blockchain - Debug the Infineon Demo App with Android Studio and Your Phone
Blockchain - Analyse the Infineon Android Demo App - part a: Detect Card
Blockchain - Analyse the Infineon Android Demo App - part b: Retrieve Ethereum Crypto Currency Balance
Blockchain - Analyse the Infineon Android Demo App - part c: Transaction, Move Crypto Currency to Another Account
Blockchain - Talk Directly to the Infineon 2Go Smart Cards API
Blockchain - Smart Contract Test
Road Test notepad: Infineon Blockchain Starter Kit
Infineon Blockchain Starter Kit - Review
Blockchain - HyperLedger Fabric pt 2: application using blockchain and smart contract
Blockchain - HyperLedger Fabric pt 3: web console
  • Sign in to reply

Top Comments

  • Jan Cumps
    Jan Cumps over 5 years ago +2
    Some more early trusted transactions: www.youtube.com/watch www.youtube.com/watch www.youtube.com/watch With explanation from the buyer and seller: www.youtube.com/watch
  • Jan Cumps
    Jan Cumps over 5 years ago +1
    This is an example of a transaction, that's then synched between ledgers. The first 2 steps are executed as Organisation #1. Org 1 first does a validation of all carslisted on the ledger. Then it changes…
Parents
  • Jan Cumps
    Jan Cumps over 5 years ago

    This is an example of a transaction, that's then synched between ledgers.

    The first 2 steps are executed as Organisation #1. Org 1 first does a validation of all carslisted on the ledger.

    Then it changes ownership of one of the cars (may represent a sale).

     

    The last step is that another Organisation #2, that's related to Org1 and hes its ledger chained to theirs, can also validate the ledger and notices that the ownership is changed! Yay!.

     

    • Act as Org1, first query the set of cars on the ledger:

    image

     

    • Then, as that same Org1, change the owner of CAR9, to Dave (a transaction!):

    image

     

    • We can now act as Org2, query our own ledger, and see that the transaction is applied and synched:

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • Jan Cumps
    Jan Cumps over 5 years ago

    This is an example of a transaction, that's then synched between ledgers.

    The first 2 steps are executed as Organisation #1. Org 1 first does a validation of all carslisted on the ledger.

    Then it changes ownership of one of the cars (may represent a sale).

     

    The last step is that another Organisation #2, that's related to Org1 and hes its ledger chained to theirs, can also validate the ledger and notices that the ownership is changed! Yay!.

     

    • Act as Org1, first query the set of cars on the ledger:

    image

     

    • Then, as that same Org1, change the owner of CAR9, to Dave (a transaction!):

    image

     

    • We can now act as Org2, query our own ledger, and see that the transaction is applied and synched:

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube