We’re giving away 1,500 DJI Tello drones. Enter to win ›
Get the code
View the demo
By Ishan Gulhane, Laura Bennett | Published June 13, 2018 - Updated May 12, 2018
Welcome to the second in the series of five patterns that builds a complete end-to-end blockchain application. Developing a blockchain app entails several steps to stand up a network, create chaincode to define the type of transactions supported, then use an application to test the network and its rules. You can do that last step via exposing the transactions through REST APIs or you can build a simple application. In this developer pattern, you will learn how to go the application route to execute transactions and requests against a blockchain network.
Blockchain is a trending technology that every developer should get to know. The technology certifies the authenticity of transactions by all participants in the network. There are neither intermediaries nor regulations other than the established contracts that come with the setup of the network.
Once you have your network, with participants and transactions defined, the next step is to create an application that tests that the network is set up correctly and operates as expected. One might call this a unit test, which repeatedly exercises the functionality of code. You should always build test cases to verify the logic of your code. In this case, you want to ensure that each participant can only execute transactions defined for that participant. Additionally, you want to validate that all the transactions are working as expected. This effort is fundamental to the development lifecycle process.
This developer code pattern helps you take what you built in the first step of this composite pattern, testing out the transactions. If you haven’t deployed the network in step 1, check out Explore Hyperledger Fabric through a complete set of APIs and set it up now. Then you are ready for this pattern, where you will build the application, deploy it, and step through issuing transactions.
To put this code pattern to use, see the complete details on how to get started are in the README.
Get the Code »
Back to top