BlockBill : The Blockchain-Powered Paperless Billing Solution 2 . Backend Server ( Smart Contracts )
Smart Contract layer is needed to utilize the functionalities of the blockchain layer and provide service to the frontend layer based on the blockchain layer . The backend service is required to contact and store data on the IPFS network .
3
. IPFS Network
Figure 4-1 : Component diagram of system .
The storage of data on a blockchain costs , which increases with the size of the data . If the data associated with a transaction is extensive , recording it on the blockchain becomes expensive . Therefore , storing some of the details in bills on the blockchain makes sense , while the rest can be stored on IPFS . The hash of that data on the IPFS gets generated and gets stored along with the transaction on the blockchain layer . The IPFS layer thus provides us with the functionalities of a Database ; while being decentralized and distributed .
4 . Blockchain Layer
IPFS provides a hash key to access data stored within a file . This hash is maintained on the blockchain blocks as a reference , timestamp , and other relevant information .
• The Frontend of this project was built using the ReactJS library . React is an open-source JavaScript library for building user interfaces . It creates self-contained encapsulated components and combines them to create intricate user interfaces .
Journal of Innovation 101