{"repo":"IBM/auction-events","free":true,"listed":false,"github":"https://github.com/IBM/auction-events","clone":"git clone https://github.com/IBM/auction-events.git","description":"Hyperledger Fabric sample Using Event Handling with IBM Blockchain Platform V2.0","language":"JavaScript","stars":37,"topics":["blockchain","ibm","node","kubernetes"],"license":null,"category":"blockchain-web3","readme_excerpt":"auction-events Hyperledger Fabric sample Using Event Handling with the next generation IBM Blockchain Platform This code pattern demonstrates leveraging the event handling feature within an application that is based on using an IKS cluster with IBM Blockchain Platform V2.0 service on IBM Cloud. We apply this use case to an auction use case. It shows how events can be emitted by using the Hyperledger Fabric SDK and subscribed to by external applications. The application is implemented in Node.js and is using the Hyperledger Fabric SDK for node.js to connect with the network, set up an event listener and catch transactional events. A client application may use the Fabric Node.js client to register a \"listener\" to receive blocks as they are added to the channel ledger. This is known as \"channel-based events\", and it allows a client to start to receive blocks from a specific block number, allowing event processing to run normally on blocks that may have been missed. The Fabric Node.js client can also assist client applications by processing the incoming blocks and looking for specific transactions or chaincode events. This allows a client application to be notified of transaction completion or arbitrary chaincode events without having to perform multiple queries or search through the blocks as they are received. After the transaction proposal has been successfully endorsed, and before the transaction message has been successfully broadcasted to the orderer, the application should","default_branch":null,"files":null,"tree":[],"storefront":"/r/IBM","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/IBM/auction-events/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}