Friday 3 August 2018

The Blockchain Story

So many cases of NPA’s (Non-Performing Assets) are popping up in India. Powerful people takes loan from multiple banks and run away before the scrutiny happens. 

Typical modus operandi in such cases is as follows.
Mr. X takes a huge loan of hundreds of crores of rupees from “A” Bank, and takes another loan from “B” Bank while hiding about the first Loan, or by paying huge bribes to hide such details. He gets two big loans, runs away to foreign nations and enjoy ever after. One fine day this scam surfaced while audit from The Regulatory body happened. This scenario reminds us about now very infamous Mr X’s of recent times.

Same story with a twist of Blockchain network in place.
Now suppose the government brings all Lender Banks and Regulatory bodies on a single Blockchain network. Some Mr. Y takes a loan of hundreds of crores of rupees from “A” Bank, once his application got approved all the participants of the network will have a copy of this approval. 

Mr. Y goes to “B” Bank and tries to take another loan while hiding details of previous loan from “A” Bank. The “B” Bank can check his loan history on Blockchain and can reject. If they still lends him by taking some favors, which is near to impossible ( thanks to immutable nature of transactions on Blockchain). Then once they approve auditor/ Regulatory body can immediately identify and take stringent action against “B” Bank and Mr. Y, well before them leaving to safe heavens.
Good News is now India has it’s own Government Live Blockchain network currently for MSME sector. Below Excerpt taken from news publish on 5/Apr/2018

“A trio of Indian government-sanctioned companies built a blockchain network to ensure that if a borrower obtains a loan via one of them, the other two will be notified to avoid duplicate lending. It’s part of an exchange platform they created to bring lenders together with borrowers. The group built their blockchain network using the Linux Foundation’s open source Hyperledger Fabric.”

“The financial exchange system provides a common platform not controlled by any one financial institution to share information, which reduces fraud. The Reserve Bank of India licensed the three private companies to create the platform to facilitate small business loans. The three exchanges are RXIL, A.TReDS, and M1xhange. These exchanges count some of the biggest Indian banks and a number of foreign banks as funding sources. The companies hired MonetaGo to help them build the blockchain element of the platform.”

With enough of stories, now let's begin the journey of Blockchain.

What is a Blockchain?
In simple terms, it’s a chain of blocks comprising of transactions which can be used to know the complete history of an asset. An asset could be anything from currency to land deeds, personal details, shipment details, product details (it can vary as per the context and industry). Each block will have a hash-code of previous block, hence forms a chain. Only the participating organizations/ people can access this network. Data immutability (once written can’t be changed) and non repudiation (assurance that someone cannot deny something ) makes it more secure and trustworthy.

To write a transaction on such a network, the writer node would be decided based on certain consensus mechanism. In case of Bitcoin, nodes have to solve a mathematical puzzle. Whichever node solves it first, gets a chance to write the transaction on the blockchain network. Also would get certain monetary rewards. This way data becomes more trustworthy and reduces chances of any sort of corruption.
Every block is having a header, content and footer. 
Header part is having the hash-code of previous block, in case of first block this part is having hash-code of Genesis block.

Content part is having the actual payload, or can have a hash-code of root of the underlying Merkle tree.

Footer part is having the calculated hash-code of the complete block ( including the hash-code of previous block ).
Note: Here the #456 is calculated by taking account of #123 + Trx1+Trx2... Etc.

Now if someone updates a single bit of content in any of the previous block, hash-codes of all the block from that block till the latest blocks will be recalculated, and anyone can tell where the modification happened.

Why so much hype?
The major threat to any asset is breach of it’s secrecy, and once compromised, can create havoc. To stop such incidents companies expand huge amount in data security. But in most common industry scenario, all data is stored on some central repository. Hence once compromised makes it very hard to retain. Also auditing such a repository is an expensive task in terms of time & money. 

With advent of Blockchain, the data is stored on participating nodes which can be geographically far away. If one tries to hack such a system they have to simultaneously attack all the nodes in the shortest time frame. Hence makes it near to impossible to attack or to modify. In case of any natural calamity, the data can be restored from any other nodes geographically apart. Hence save hours and hours of data restoration.

The Technology
Distributed Ledger Technology ( DLT ) is in the core of blockchain. Instead of storing data (Ledger - record of transactions) centrally and securing it with firewall and other measures. With DLT the network nodes takes the responsibility of storing latest copy of the data ( Ledger ) in encrypted form. 

The data is stored and synced based on the consensus algorithm. This algorithm first checks for the hash’s of all the previous blocks and then finds the node with the access to write transaction on Blockchain.

These networks are governed by certain contract which all parties have agreed upon while joining the network. This contract is known as smart-contract ( on Ethereum ) or chaincode ( on Hyperledger-Fabric). One such example could be a smart-contract among all banks and Regulatory body, to disallow all Mr X or Y from taking multiple loans. 

Types of Blockchain networks
  • Public : public blockchain network is an open network where anyone with an Internet connection can participate.           
                  Example Bitcoin, Ethereum. 
  • Private : Private network where only authenticated people or organizations can participate. All the participants have access to ledger.
                  Example Hyperledger Fabric, Sawtooth 
  • Permissioned : Private network with permissioned access. This network will have permission rules defined, and the dedicated nodes are commissioned as “MSP” Membership Service Providers, “Endorsers” and “Orderers”.
                  Example Multichain, Hyperledger Fabric, Hyperledger Sawtooth.

Pros & Cons
As with every technology, the pros and cons are inevitable and can only be covered with enhancements. The Blockchain also have some, as mentioned below: 

Pros:
  • Reconciliation happens in real time automatically 
  • Regulators can participate in the Blockchain as a read Node, and can have an eye on any wrong doings in real time. 
  • Immutability
  • Disaster recovery is fast in BC
Cons:
  • Slow in writing Transactions as compared to existing systems. 
  • Secrecy/ confidentiality is hard to maintain (only applicable for public Blockchain ).
Conclusion: 
Before going to replace your existing architecture with Blockchain you have to ask certain questions to yourself. 
Whether
  • ... multiple parties (org ) are involved?
  • ... assets can be shared on such network?
  • ... You are comfortable on relying on trusted third parties?
  • ... Benefits of switching outweighs the cost?
If the answer to any of these questions is NO, one should reconsider before going with Blockchain Implementation. 

Finally, blockchain as a technology is way more disruptive, Than Internet was in 90’s. Yet it’s not the solution for all the problems of universe. One need to thoroughly asses his/her business areas which can be benefited from it.


About Author:
Neeraj Paliwal is a consultant in Systems Plus Pvt. Ltd. Within Systems Plus, he actively contributes to the areas of Technology and Information Security. He can be contacted at: neeraj.paliwal@spluspl.com

14 comments:

  1. loan crypto - About Us - We are the largest crypto company in the world. We provide the trade loan crypto with white label cryptocurrency exchange. Buy digital bitcoin currencies with the debit card.

    ReplyDelete
  2. Lending India – www.lendingindia.com – Lending in India offers you personal loan for your personal need across India upto ₹ 50 Lacs to fulfill all your personal financial need

    Click and Apply: https://rebrand.ly/51cmszs
    Download App: https://rebrand.ly/bos2r0s

    ReplyDelete
  3. I'm glad that you just shared this useful information with us. Please keep us up to date like this. Thanks for sharing, visit our website for web development related services Web Development Pune

    ReplyDelete
  4. Thank you for sharing this blog its really informative and helpful. This blog looks very much beneficial to me. I learn a lot of factors from this.
    Also visit my website at once SEO Pune

    ReplyDelete
  5. Thank you for this important information this post contains good knowledge keep doing doing this work also check out this one Best fistula and fissure Surgeon in Delhi NCR

    ReplyDelete
  6. What a wonderful information it really helps me a lot to understand new things keep updating also have a look on this Best Hemorrhoids Surgeon in Delhi NCR

    ReplyDelete
  7. Excellent blog, thanks for sharing this article. Best erp software development company in chennai . Fully customized erp software.

    ReplyDelete
  8. Nice blog! Chanakya Defence Group that offers NDA Coaching Center in Pathankot acknowledged for the extremely unique Mentorship and competitively tagged Quality Education Services in India. Visit: NDA Coaching Center In Pathankot

    ReplyDelete
  9. I only believe in real ownership in the digital space to have raw moon tea. They will do a more detailed post about it in the coming days.

    ReplyDelete
  10. I appreciate the insightful article on blockchain technology. Understanding its evolution is crucial. For those delving into programming challenges, consider seeking Programming Assignment Help Online from assignment help pro. They provide expert assistance for mastering coding skills. Your programming journey just got easier!

    ReplyDelete