In this video:
- Raheel Zubairy, Software Engineer, IBM
Explore a decentralized energy network that implements blockchain transactions using Hyperledger Composer.
A decentralized energy network is one in which end users may also be producers of excess energy that they want to sell back into the market. In this example, you’ll learn how to use Hyperledger Composer to create a decentralized energy network of residents, banks, and utility companies in which residents exchange energy for coins with other residents and utilities and exchange coins for fiat currency with banks.
In this scenario, some residents of a neighborhood are producing energy through solar panels, wind farms, and geothermal setups and they sell excess energy to other residents. The transactions are based on an exchange of “coins” in each resident’s account. A pre-determined contract and rate handles the debit and credit transactions betweeen the customer and producer. You’ll see how each transaction is atomic and added to a blockchain ledger for trust and verification and learn how the network can be extended to include banks (so residents can convert coins into fiat currency, in this case, US dollars) and utility companies (so residents can sell excess energy to the wider market).
Hyperledger Composer is a set of APIs, a modeling language, and a programming model you can use to quickly define and deploy business networks and applications that allow participants to send transactions that exchange assets. The IBM Blockchain, based on open source Hyperledger® Fabric™ technology, is used to store the state of assets in asset registries while the consensus protocol ensures that transactions are validated by concerned organizations in the business network.
Resources for you
- Try this Developer Journey | Get the code
- Watch this demo of Hyperledger Composer | Take a tour of Hyperledger Composer
- Try out the Hyperledger Composer Playground
- Learn from other blockchain developers
- Try IBM Blockchain 101: Quick-start guide for developers
- Explore the world of enterprise-ready blockchain services
- Study blockchain services on Bluemix
- Try Bluemix for free