IBM Developer Day | Bengaluru | March 14th Register now
Get the code
View the demo
By Raheel Zubairy | Updated May 26, 2018 - Published May 25, 2018
A customer loyalty program allows companies to attract new customers and retain customers with special deals and discounts. The programs are typically based on a points system, in which a program member earns points on purchases, which can be redeemed on special deals. Loyalty programs can have multiple companies as partners to serve a customer base. For consumers managing an array of loyalty programs, blockchain could provide instant redemption and exchange for multiple loyalty point currencies on a single platform. With only one digital “wallet” for points, consumers would not have to hunt for each program’s options, limitations, and redemption rules.
In this developer code pattern, we will create a customer loyalty program with blockchain using Hyperledger Composer 0.19.5 API and a Node.js web application. The application will allow members to register on the network and sign in to perform transactions. Members will be able to view the partners on the network and perform transactions with them. These transactions will include earning points on purchases and redeeming those points on deals. Members will be able to view all their transactions as part of the blockchain ledger.
The application will allow partners to register on the network. Once registered, they can sign in to view transactions with them made by members. Partners will not have access to members except in the transactions. The application demonstrates a basic dashboard for the partners, which displays total points allocated and redeemed by analyzing the transactions made with them.
This pattern is for developers looking to start building blockchain applications with Hyperledger Composer. When you have completed this pattern, you will understand how to:
Find the detailed steps for this pattern in the README.
February 28, 2019
Think is IBM's flagship technology conference. This year, one of our leading containers dev advocates will be live streaming on…
May 6, 2019
Back to top