0% found this document useful (0 votes)
10 views51 pages

E Vault Report

Uploaded by

areeb21181
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views51 pages

E Vault Report

Uploaded by

areeb21181
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

e-Vault- Blockchain Based System For Legal Records

A PROJECT REPORT

Submitted by

Mayank Seth– 211B180

Md. Areeb Hussain– 211B181

Medha Jain– 211B182

Under the Guidance of: Dr. Kunjbihari Meena

February– 2024

Submitted in partial fulfilment for the award of the degree of


BACHELOR OF TECHNOLOGY
IN
COMPUTER SCIENCE AND ENGINEERING

Department of Computer Science & Engineering

JAYPEE UNIVERSITY OF ENGINEERING & TECHNOLOGY, AB

ROAD, RAGHOGARH, DT. GUNA-473226 MP, INDIA


DECLARATION

We hereby declare that the work reported in 6th semester Minor project entitled
“e-Vault- a blockchain based system for legal records”, in partial fulfilment for
the award of the degree of [Link]. submitted at Jaypee University of Engineering
and Technology, Guna, as per the best of our knowledge and belief there is no
infringement of intellectual property rights and copyright. In case of any
violation, we will solely be responsible.

Signature of Students

Mayank Seth (211B180)


Md. Areeb Hussain (211B181)
Medha Jain(211B182)

Department of Computer Science and Engineering,


Jaypee University of Engineering and Technology,
Guna,473226

Date:
JAYPEEUNIVERSITYOFENGINEERING&TECHNOLOGY
Grade ‘A+’ Accredited with by NAAC & Approved U/S 2(f) of the UGC Act,
1956
A.B. Road, Raghogarh, Dist: Guna (M.P.) India, Pin-473226
Phone: 07544 267051, 267310-14, Fax: 07544 267011
Website:
[Link]

CERTIFICATE

This is to certify that the work titled “e-Vault- A blockchain based


system for legal records” submitted by “Mayank Seth(211B180), Md.
Areeb Hussain(211B181) and Medha Jain (211B182)” in partial
fulfillment for the award of degree of B. Tech (CSE) of Jaypee University
of Engineering & Technology, Guna has been carried out under my
supervision. As per best of my knowledge and belief there is no
infringement of intellectual property right and copyright. Also, this work
has not been submitted partially or wholly to any other University or
Institute for the award of this or any other degree or diploma. In case of
any violation concern student will solely be responsible.

(Dr. Kunjbihari Meena)

Assistant Professor, Dept. of CSE

Date:
ACKNOWLEDGEMENT

Any endeavour cannot lead to success unless and until a proper platform is
provided for the same. This is the reason why we find ourselves very fortunate
to complete our work of major project under the supervision of DR.
KUNJBIHARI MEENA. Our sincere gratitude to him, for having faith in us
and thus allowing us to carry out a project on a technology completely new to
us, for which we had to research and learn many new things, which will help
us dealing with advanced work in future. He helped immensely by guiding us
throughout the project.

Secondly, we would like to thank the Department of Computer Science &


Engineering that created this opportunity.

Last but not the least, we would like to thank our family and friends who
continuously encouraged and helped us in any of the possible way they could.

Mayank Seth (211B180)

Md. Areeb Hussain (211B181)

Medha Jain (211B182)

Date:
EXECUTIVE SUMMARY

The objective of this project is to develop a blockchain-based e-Vault


system for legal records to ensure security, transparency, and
accessibility for all stakeholders involved in legal proceedings. The
system aims to revolutionize the way legal records are stored, managed,
and shared, offering a user-friendly interface and robust security
features. The system will feature intuitive interfaces tailored for lawyers,
judges, clients, and other stakeholders, enabling easy uploading,
retrieval, tracking, and sharing of legal documents. The system will be
designed to be scalable and adaptable, capable of accommodating future
changes and upgrades to meet evolving requirements.

The expected outcomes or the basic functionality of this blockchain


based system for legal records are as follows:-

1. Functional Prototype: A working prototype of the e-Vault


system showcasing document upload, retrieval, and sharing
functionalities with a user-friendly interface.
2. Detailed Design Document: A comprehensive design document
outlining the architecture, features, and technical specifications of
the e-Vault system.
3. Privacy and Confidentiality: Stringent privacy measures
including access controls, encryption, and authentication
mechanisms will ensure the confidentiality of legal records.

The development of a blockchain-based e-Vault system for legal records


has the potential to significantly improve access to justice in India. By
enabling faster court proceedings, reducing costs, ensuring data
integrity, and increasing trust in the justice system, the system can
revolutionize the legal landscape, making legal records more accessible
and secure for all stakeholders.
LIST OF FIGURES

Fig. 2.1 Smart Contract

Fig. 2.2 Decentralized Storage

Fig. 3.1 System Architecture

Fig. 3.2 Use Case Diagram

Fig. 3.3 Sequence Diagram

Fig. 4.1 Spiral Development Model

Fig. 5.1 IPFS

Fig. 5.2 CouchDB

Fig. 5.3 Blockchain Setup

Fig. 5.4. Smart Contract (1)

Fig. 5.5 Smart Contract (2)

Fig. 5.6 Smart Contract (3)

Fig. 6.1 Home Page

Fig. 6.2 Registration Page

Fig. 6.3 Login Page

Fig. 6.4 Search for Case Details

Fig. 6.5 Lawyer Dashboard


LIST OF ACRONYMS

Abbreviations Definition

HTML Hyper Text Markup Language

CSS Cascading Style Sheets

Js Javascript

IPFS InterPlanetary File System

DOM Document Object Model

HTTP HyperText Transfer Protocol

SSN Social Security Number

JSON JavaScript Object Notation

UI User Interface
TABLE OF CONTENTS
Chapter 1

Introduction

In today's fast-paced legal landscape, the need for secure, transparent, and accessible record
management is more crucial than ever. Introducing e-Vault, a cutting-edge blockchain-based
platform designed to transform the way legal records are stored, managed, and shared. e-Vault
harnesses the power of blockchain technology to provide a secure, tamper-proof, and
decentralized solution for legal record management. With features such as smart contract-based
access control, robust encryption, and seamless integration with existing legal databases, e-
Vault ensures the confidentiality, integrity, and accessibility of legal records for all
stakeholders.

e-Vault harnesses the transformative power of blockchain technology to provide a secure,


tamper-proof repository for legal records. By leveraging decentralized ledger technology, e-
Vault ensures that records are immutable, transparent, and resistant to unauthorized alterations.
This not only enhances the integrity of legal documents but also instills trust and confidence in
the authenticity of the information stored within the system.

One of the key features of e-Vault is its streamlined accessibility. Through a user-friendly
interface, authorized parties can swiftly retrieve, verify, and share legal records, eliminating
the bureaucratic delays and administrative burdens associated with traditional record
management systems. Moreover, e-Vault's permissioned access control mechanisms empower
organizations to maintain granular control over who can view, modify, or interact with specific
records, thereby safeguarding sensitive information and ensuring compliance with regulatory
requirements.
1.1 About the project

Our user-friendly interface empowers lawyers, judges, clients, and other stakeholders to
effortlessly upload, retrieve, track, and share legal documents, streamlining workflows and
enhancing collaboration. Whether you're a legal professional navigating complex cases or a
client seeking access to your own records, e-Vault offers a seamless and intuitive experience
tailored to your needs.

1.2 Problem Statement

Traditionally, legal records were saved through various methods, including physical filing
systems and paper documents stored in filing cabinets or archives. These documents would
often include contracts, court records, deeds, wills, and other legal agreements. They were
typically organized and stored according to various systems, such as alphabetically,
chronologically, or by subject matter, depending on the preferences of the organization or
institution responsible for maintaining them. These methods come with certain drawbacks.
Physical documents require substantial storage space, leading to high costs for maintaining
large collections of legal records. Sharing physical documents can be challenging, especially
when multiple parties or departments need access to the same information.

In today's legal landscape, the management of legal records poses significant challenges,
including issues of security, transparency, and accessibility. Traditional record-keeping
methods are often inefficient, prone to tampering, and lack the necessary safeguards to protect
sensitive information. Moreover, the fragmentation of legal databases and case management
systems further complicates the process of storing and sharing legal records.

To address these challenges, we seek innovative solutions to develop a Blockchain-Based e-


Vault for Legal Records. This e-Vault system aims to revolutionize the way legal records are
stored, managed, and shared by leveraging blockchain technology to ensure security,
transparency, and accessibility for all stakeholders involved in legal proceedings.
1.3 Objectives

The primary objective of this project is to develop a Blockchain-Based e-Vault for Legal
Records that addresses the following key challenges:

1. Security and Integrity: Ensuring the security and integrity of legal records is
paramount. The e-Vault system must provide robust encryption, tamper-proof storage,
and authentication mechanisms to prevent unauthorized access and tampering of
sensitive information.

2. Transparency and Accessibility: Facilitating transparent and accessible access


to legal records is essential for fostering trust and collaboration among stakeholders.
The e-Vault system should enable seamless access to records while maintaining privacy
and confidentiality where necessary.

3. User Friendly Interfaces: Developing user-friendly interfaces tailored for


lawyers, judges, clients, and other stakeholders is essential for adoption and usability.
The interfaces should be intuitive, easy to navigate, and provide functionalities such as
document upload, retrieval, tracking, and sharing.
4. Interoperability: Design the system to be compatible with existing legal
frameworks and systems to facilitate integration and adoption by legal institutions and
practitioners.
5. Scalability: Design the system to handle a large volume of legal records and
transactions, ensuring scalability as the user base grows and the system becomes more
widely adopted.

6. Compliance: Ensure that the system complies with relevant legal regulations, such
as data protection laws and regulations governing the handling of legal documents.
7. Cost-effectiveness: Reduce the costs associated with maintaining and managing
legal records by leveraging blockchain technology to automate processes and minimize
the need for manual intervention.
8. Authentication: Enable quick and reliable authentication of legal documents.
Blockchain's cryptographic techniques can ensure that documents are authentic and
tamper-proof, reducing the risk of fraud.
9. Efficiency: Streamline the process of accessing, updating, and verifying legal records
by digitizing them and placing them on a blockchain. This could reduce paperwork,
administrative overhead, and the need for intermediaries.
[Link] Experience: Prioritize user-friendly interfaces and intuitive workflows to
make it easy for legal professionals and other users to interact with the system and
access the information they need efficiently.
Chapter 2

Background Material

2.1 Technologies Used

2.1.1 Blockchain

Blockchain is a decentralized, distributed ledger technology that serves as the foundation for
cryptocurrencies like Bitcoin and Ethereum, as well as various other applications beyond
digital currencies. At its core, a blockchain is a continuously growing list of records, called
blocks, that are linked and secured using cryptography. Unlike traditional centralized systems
where a single authority controls data, blockchain operates on a decentralized network of
computers (nodes). [5]

At the core of e-Vault lies blockchain technology, which serves as the underlying framework
for ensuring the integrity and security of legal records. Blockchain is a decentralized,
distributed ledger that records transactions across a network of computers in a manner that is
secure, transparent, and resistant to modification. Through the use of cryptographic techniques
and consensus algorithms, blockchain enables the creation of a tamper-proof record of
transactions, making it an ideal solution for preserving the authenticity of legal documents.

The integration of blockchain technology in legal records management offers a myriad of


benefits, including enhanced security, improved traceability, and streamlined authentication
processes. With e-Vault, legal professionals can securely store and access sensitive documents
while ensuring their integrity through. Additionally, the immutability of blockchain ensures
that once a record is added to the system, it cannot be altered or deleted, providing a reliable
audit trail for legal proceedings.
2.1.2 Hyperledger Fabric

Hyperledger is an open-source collaborative effort created to advance cross-industry


blockchain technologies. Hosted by The Linux Foundation, Hyperledger hosts various
blockchain frameworks, tools, and libraries, fostering collaboration among developers and
organizations to build enterprise-grade distributed ledger systems.

Hyperledger Fabric is a modular blockchain framework designed for enterprise use. It offers a
highly modular architecture, enabling organizations to tailor their blockchain solutions to their
specific requirements. Fabric supports permissioned networks, allowing for fine-grained access
control and privacy features. It also supports smart contracts written in various programming
languages, providing flexibility and interoperability. [1]

Legal records often contain sensitive information. Hyperledger Fabric allows for the creation
of private channels, ensuring that only relevant parties have access to specific data. This
ensures privacy and confidentiality, crucial aspects of legal records management. Hyperledger
Fabric enables the creation of a permissioned network where only authorized participants can
join. This is vital in legal contexts where access to records needs to be restricted to specific
entities such as lawyers, judges, or regulatory bodies. Hyperledger Fabric offers robust identity
management features, allowing participants to be authenticated securely. This is crucial in legal
systems where verifying the identity of involved parties is essential for maintaining the
integrity of records. Hyperledger Fabric is designed for scalability and performance, capable
of handling a large number of transactions per second. This is beneficial for systems dealing
with a high volume of legal records, ensuring efficient processing and retrieval of data.
Hyperledger Fabric supports interoperability with existing systems and databases, enabling
seamless integration with legacy infrastructure commonly found in legal institutions. This
ensures smooth transition and interoperability with other systems. Hyperledger Fabric can
provide a robust and secure foundation for building an e-vault system for legal records, offering
transparency, security, and efficiency in managing sensitive legal information.
2.1.3 Frontend

React

React is a JavaScript library used for building user interfaces, particularly for single-page
applications where user interaction is key. It was developed by Facebook and has gained
widespread adoption in the web development community due to its efficiency and flexibility.

React utilizes a component-based architecture, where UIs are composed of reusable, self-
contained components. These components encapsulate both the structure and behaviour of UI
elements, making it easier to manage complex UIs. React uses a virtual DOM (Document
Object Model) to efficiently update the UI. Instead of directly manipulating the browser's
DOM, React creates a virtual representation of the DOM in memory. When the state of a
component changes, React calculates the difference between the virtual DOM and the actual
DOM and only updates the necessary parts, minimizing the number of DOM manipulations
and improving performance.[2]

In an e-vault system for legal records, users may need to view, search, upload, and manage
various types of documents. React components can be used to create intuitive user interfaces
that enable users to perform these actions seamlessly.

React promotes component-based development, enabling developers to create reusable UI


components. This is beneficial in a legal records system where various sections of the interface,
such as document lists, search bars, document viewers, etc., can be reused across different parts
of the application, enhancing maintainability and consistency.

React supports responsive design principles, enabling the creation of UIs that adapt to different
screen sizes and devices. This is essential for an e-vault system accessed by users on various
devices, including desktops, laptops, tablets, and smartphones, ensuring optimal use experience
across different platforms. React provides developers with a powerful and efficient way to
build dynamic and interactive user interfaces for web applications.

2.1.4 Smart Contract

Fig. 2.1 Smart Contract

A smart contract is a self-executing contract with the terms of the agreement between buyer
and seller being directly written into code. The code and the agreements contained therein exist
across a distributed, decentralized blockchain network. The code controls the execution,
enforcement, and management of agreements between parties, and is designed to automatically
enforce the terms of the contract. [8]

Smart contracts are a key feature of blockchain technology, enabling decentralized applications
to operate autonomously and securely without the need for intermediaries. While smart
contracts offer numerous benefits, including transparency, immutability, and automation, they
also come with challenges such as security vulnerabilities in the code, regulatory uncertainty,
and the potential for unforeseen consequences due to the self-executing nature of the contracts.
Therefore, careful consideration and auditing of smart contract code is crucial to mitigate these
risks.

Smart contracts can manage access control and permissions for legal records stored in the e-
Vault. They can enforce rules dictating who can access, view, modify, or transfer specific
documents based on predefined conditions or permissions set by the involved parties. This
enhances security and privacy by ensuring that only authorized users can interact with sensitive
legal records.

Smart contracts can enable the digital signing and execution of legal contracts within the e-
vault system. Parties involved in a legal transaction can sign contracts digitally using
cryptographic keys, and the smart contract can enforce the terms and conditions outlined in the
contract code. This eliminates the need for manual contract execution and reduces the risk of

disputes arising from misunderstandings or non-compliance.

Smart contact encompasses a wide range of technologies and strategies, from communication
methods to advanced health monitoring and augmented reality applications. They can be used
in various applications, such as financial services, supply chain management, tokenization,
digital identity, etc. These applications demonstrate the diverse and impactful uses of smart
contracts across industries, from supply chain management and trade finance to healthcare and
environmental goals. [8]
2.2 Decentralized Storage in e-Vault

Fig. 2.2 Decentralized Storage

Instead of relying on a single entity or server to store data, e-Vault can distribute legal records
across a network of nodes, ensuring that the data isn't stored in a single central location. This
approach reduces the risk of data breaches and unauthorized access.

e-Vault can utilize blockchain technology, such as Hyperledger Fabric, to track storage
transactions, synchronize data across distributed nodes, and ensure data immutability. The
blockchain ledger can record transaction-specific information, enhancing the security and
integrity of legal records.
Decentralized storage in e-Vault provides resilience by eliminating a single point of failure. It
also enhances security by reducing the risk of censorship, data loss, and information theft, as
the storage responsibilities are shared among different participants in the network.

To maintain a decentralized storage network, an incentive structure can be established to


encourage participants to join and operate the network. This ensures that the data is accessible
at all times and that the network remains decentralized.

Decentralized storage in e-Vault, a blockchain-based system for legal records, can be achieved
by leveraging Hyperledger Fabric's capabilities and integrating blockchain technology to
ensure data immutability, enhanced privacy, and better overall security. By distributing legal
records across a network of nodes and utilizing smart contracts, e-Vault can provide a robust
and secure method of storing and accessing legal records in a decentralized manner.
Chapter 3

Design

3.1 System Architecture

Fig 3.1 System Architecture

This is the graphical representation of the system overview for a blockchain-based platform

that interacts with various stakeholders and components in a legal or administrative context.

On the left hand side of the architecture, there are icons representing different roles such as
police or administration, user, lawyers and the judges. These all interact with the blockchain.
The user is connected to an e-Vault which suggests that the user has access to the secured

electronic vault. e-Vault is connected to the blockchain, suggesting that documents stored here

are recorded on the ledger, ensuring their authenticity and integrity.


To the right, the e-Vault is connected to "Authorized User Access," depicted by a face with a
lock, indicating that access to the e-Vault is restricted to authorized individuals. This access
point leads to several other components:-

1. "Hyperledger fabric" - Indicating the use of Hyperledger Fabric, which is an open-


source enterprise-grade permissioned distributed ledger technology platform.[1]

2. “Authorized User Access” - This indicates that there is a mechanism in place for users
who are authorized to access the e-Vault. This could involve authentication protocols
to ensure that only those with the right permissions can access the stored documents.

3. "User interface for authorized users" - Represented by a browser window, suggesting a


web interface for users who have permission to access the system.

4. “Decentralized Storage System” – The system uses decentralized storage solution,


which is a protocol and network designed to create a content-addressable, peer-to-peer
method of storing and sharing hypermedia in a distributed file system.

5. “Database” – This basically depicts the database and the storage device that will store
all the data. This database can store additional information such as user profiles,
document metadata, access control lists, and transaction history for efficient querying
and indexing.

This system architecture suggests a secure, blockchain-based system that integrates with legal
and administrative entities, provides secure storage, and has a user interface for authorized
parties. The system seems to be designed for secure data handling and access control, possibly
in a legal, governmental, or corporate environment.

By integrating these components into a coherent system architecture, the e-vault system can
effectively manage legal records, ensure compliance with regulatory requirements, and provide
a secure and transparent platform for legal transactions and document management.
The architecture is designed to ensure that the system is secure, scalable, and able to handle a
large number of transactions. It leverages the benefits of blockchain technology, such as
transparency, immutability, and decentralization, to provide a reliable and efficient system for
managing legal records.

3.2 Use Case Diagram

Fig 3 .2 Use Case diagram

A use case diagram is a type of behavioural diagram defined by and created from a Use-case
analysis. Its purpose is to present a graphical overview of the functionality provided by a
system in terms of actors, their goals (represented as use cases), and any dependencies between
those use cases.[10][3]

This image shows the architectural diagram for the application that interacts with Hyperledger
Fabric, which is a blockchain framework implementation. The data flow starts from the two
types of user: client(user) and other stakeholders. Both have arrows pointing to "Register" and
"Login / Authorization" processes, indicating that both types of users need to go through these
steps to interact with the system. Register is the process where a new user creates an account
to use the application.
After registration and login, there are four main actions that can be performed, as indicated
by the boxes in the centre. These main actions can be upload docs, retrieve docs, sharing
docs, or track docs. These actions are described as "All Smart Contracts," suggesting that
they are implemented as smart contracts on the Hyperledger Fabric blockchain. After logging
in, users can interact with various smart contracts. Smart contracts are self-executing
contracts with the terms of the agreement directly written into code. They are used to
automate the execution of an agreement so that all participants can be immediately certain of
the outcome, without any intermediary's involvement or time loss.

There is a two-way arrow between these actions and a "Database," indicating that the
documents are stored in and retrieved from this database. The database is likely to be used for

storing metadata or documents that are not stored on the blockchain. At the bottom, there is an
arrow pointing down to the Hyperledger Fabric logo, which implies that the smart contracts
and possibly the database interactions are managed through the Hyperledger Fabric blockchain
platform. Hyperledger Fabric allows for the development of applications or solutions with a
modular architecture. It underpins the entire process by providing the infrastructure for smart
contracts and ledger features.

This architecture suggests conceptual example of how a react application might be structured
to interact with a blockchain system for document management purposes. By creating a Use
Case Diagram for the e-vault system, stakeholders can visualize the system's functionalities,
user interactions, and relationships, facilitating communication and understanding of system
requirements and behaviour.
3.3 Sequence Diagram

Fig 3.3 Sequence Diagram


A sequence diagram is a type of interaction diagram that shows objects participating in
interactions and the sequences of these interactions. It's a graphical representation of an
algorithm, step by step, or the operation of a data structure or object.

Sequence diagrams are commonly used in software engineering to visualize the behaviour of
objects within a system and how they interact to complete a specific task or process. They are
particularly useful for understanding complex scenarios because they clearly illustrate the order
of interactions.[11][3]

The sequence diagram outlines the interactions between a user and a blockchain-based system
designed for managing legal records. It also shows the roles of admin, lawyer, and judge within
the system.

The User initiates the process by registering with their Name and SSN (Social Security
Number). The system then verifies the registration details. After the verification the system
sends back the confirmation that the registration was successful.
The user then can login with their username and password. The system verifies the login
credentials. The system confirms that the login was successful.

The admin has the authority to register the lawyer and the judge. The system registers the
lawyer and the judge. The System verifies the registration of the lawyer or judge. The system
confirms that the registration of the lawyer or judge was successful.

The user can upload documents to the system. The system stores the document. The system
confirms the document was successfully uploaded.
The user sends the requests to view the document. The system retrieves the document. The
System sends the documents to the User, indicating they have been retrieved.
The user can request to download the document. The system retrieves the specific document.
The system then enables the document to be downloaded by the user, confirming that the
document has been downloaded.

The vertical dashed lines represent the lifelines of each participant (User, System, Admin,
Lawyer, Judge), and the horizontal arrows represent messages or interactions between these
participants. The red arrows indicate the flow of messages, and the labels on the arrows
describe the action or response associated with each message.

The use of a blockchain-based system for legal records suggests that these records are stored
in a secure, immutable ledger, a characteristic inherent to blockchain technology. This
enhances the security and integrity of legal documents, as any changes to the documents are
transparent and can be tracked, making the system highly reliable and trustworthy.
Chapter 4

Model

The software engineering model used in e-Vault- a blockchain based system for legal records
is the spiral software development model.

Fig 4.1 Spiral Development Model


The Spiral Model is a software development process model that combines elements of both
waterfall and iterative development methodologies. It is particularly useful for projects that
involve significant risks and uncertainties, such as the development of complex systems like e-
Vault - a blockchain-based system for legal records. [9]

The Spiral Model consists of a series of iterative cycles, each of which includes four main
phases: planning, risk analysis, engineering, and evaluation. These phases are repeated in a
spiral pattern, with each iteration building upon the previous one. The model allows for
flexibility and adaptability, making it suitable for projects that require continuous refinement
and improvement.

In the planning phase, the project objectives, requirements, and constraints are identified. The
project scope is defined, and a preliminary schedule and budget are established. This phase
also involves identifying potential risks and developing strategies to mitigate them. This
includes understanding the requirements for storing legal records securely on a blockchain,
ensuring data integrity, accessibility, and compliance with legal standards.

The risk analysis phase focuses on identifying, analyzing, and mitigating risks associated with
the project. This includes assessing technical, schedule, and cost risks. Risk mitigation
strategies are developed, and a plan is put in place to address potential issues that may arise
during the project. This phase involves identifying potential risks such as security
vulnerabilities, regulatory compliance issues, or technological challenges associated with
blockchain integration.

The engineering phase involves the actual development of the e-Vault system. It includes
activities such as system design, coding, integration, and testing. The system is developed
incrementally, with each iteration adding new functionality and addressing any issues
identified in the previous iterations. This could involve creating a basic blockchain-based
system for storing and retrieving legal records. This involves implementing the required
features, integrating blockchain technology, and ensuring compliance with legal standards.

The evaluation phase involves reviewing the progress of the project and evaluating the
developed system. This includes conducting testing, gathering feedback from users, and
assessing the system's performance against the defined objectives and requirements. Based on
the evaluation results, adjustments and refinements are made to the system. Rigorous testing is
conducted to ensure that Evault meets its functional requirements, performs reliably, and is
secure against potential threats. After deployment, feedback from users and monitoring of
system performance are essential.

Advantages of Spiral Model

1. The model allows for flexibility and adaptability, making it suitable for projects with
evolving requirements and uncertainties.

2. The risk analysis phase helps identify and mitigate potential risks, ensuring that the
project stays on track.

3. The iterative nature of the model allows for incremental development, enabling early
feedback and continuous improvement.

4. The evaluation phase involves gathering feedback from users, ensuring that the
developed system meets their needs and expectations.
Chapter 5

Technical Description

5.1 IPFS (InterPlanetary File System) in Blockchain

Fig. 5.1 IPFS

InterPlanetary File System plays a significant role in the blockchain ecosystem, offering
decentralized and distributed file storage and sharing capabilities. It's often seen as a potential
alternative to the traditional Hypertext Transfer Protocol (HTTP) for distributing content over
the Internet. IPFS aims to improve data distribution by making it faster, more efficient, and
more resilient to censorship. [6]

It's utilization in blockchain are as follows:

1. Decentralized File Storage and Sharing - IPFS is designed to create a global,


decentralized network for storing and sharing files, aiming to improve the efficiency
and resilience of traditional web protocols by allowing files to be stored in multiple
locations, making them resistant to censorship and ensuring availability even if some
nodes go offline.

2. Integration with Blockchain - IPFS and blockchains can work well together, as they
both utilize distributed and shared information across the network. While blockchains
hash transaction records and share them with participating nodes, IPFS focuses on
hashing files or content, allowing users to search for content based on hashes. This
integration allows for file traceability metadata on a distributed network.

With IPFS, files are identified by their content rather than their location. This means that
content is addressed using a cryptographic hash of its contents, which makes it immutable and
tamper-proof. When you request a file through IPFS, your computer retrieves it from
whichever node in the network has the fastest access to it.

IPFS serves as a crucial component in the blockchain ecosystem, providing decentralized and
resilient file storage and sharing capabilities that complement the distributed nature of
blockchain networks.[6]

5.2 CouchDB

Fig. 5.2 CouchDB


CouchDB is a NoSQL database system that is document-oriented, meaning it stores data in a
semi-structured format, usually JSON-like documents. It's designed to be distributed, fault-
tolerant, and schema-free, making it particularly useful for applications with evolving data
structures or those requiring high availability and scalability.[7]

In e-Vault, CouchDB could be used as the underlying database technology to store and manage
the legal records. It offers the following advantages :-

1. Document Storage and Management - CouchDB's document-oriented nature makes it


suitable for storing legal records, which often come in various formats and structures.
You can store legal documents as JSON-like documents in CouchDB, allowing for easy
retrieval and management.

2. Distributed and Fault Tolerant - CouchDB's distributed architecture aligns well with
the decentralized nature of blockchain systems. By running CouchDB on multiple
nodes, you can ensure data redundancy and fault tolerance, enhancing the reliability of
the e-vault system.

3. Replication and Synchronization - CouchDB's replication feature enables data


synchronization between different nodes in the network. This can be beneficial for
ensuring that legal records are consistently available across all participants in the
blockchain network, even in the event of network partitions or node failures.

4. Querying and Indexing - CouchDB's MapReduce views allow you to create indexes
and perform queries on legal records stored in the e-vault system. This can facilitate
efficient searching and retrieval of records based on various criteria, such as document
type, timestamp, or participant identity.

5. Integration with Blockchain - CouchDB can be integrated with blockchain platforms


through smart contracts or other mechanisms to ensure data immutability and
auditability. Legal records stored in CouchDB can be hashed and anchored onto the
blockchain, providing cryptographic proof of their existence and integrity over time.

CouchDB can serve as a robust and flexible database solution within a blockchain-based e-
vault system for managing legal records, providing decentralized, secure, and scalable storage
capabilities for legal documentation.[7]
5.3 Setup of Blockchain Network

Fig 5.3 Blockchain Setup

We need to choose the appropriate blockchain platform based on the requirements identified
in the first step. Then we need to develop a comprehensive architecture design that outlines the
structure of the blockchain network, including nodes, consensus mechanisms, smart contracts
(if applicable), data storage, and network topology. We also need to determine whether the
network will be permissioned or permissionless, and design the network accordingly.

We need to acquire the necessary hardware and software components to support the blockchain
network. This may include servers, storage systems, networking equipment, and blockchain
software frameworks. [5]

To launch the blockchain network the following procedure needs to be followed :-


Firstly we need to navigate to the test-network subdirectory within your local clone of
the fabric-sample repository using the command - cd fabric-samples/test-network.

Now we need to launch the Fabric test network using the [Link] shell script using the
command - ./[Link] up createChannel -c mychannel -ca.

This command will deploy the Fabric test network with two peers, an ordering service,
and three certificate authorities.

5.4 Smart Contracts

Fig. 5.4 Smart Contract (1)


Fig 5.5 Smart Contract (2)
Fig 5.6 Smart Contract (3)

Smart contracts are integral to the functionality and effectiveness of e-Vault as they enable
automated, secure, and transparent execution of legal processes, leading to improved
efficiency, cost savings, and trust in the management of legal records on the blockchain
platform.[8]

Smart contracts enable the automation of various legal processes within e-Vault. They can
facilitate the execution of contractual agreements, the validation of documents, and the
enforcement of predefined rules and conditions.
The various asset used are as follows :-

1. CreateAsset

“CreateAsset is a function in e-Vault system for legal records that allows the users to
create and register new digital assets representing legal documents or records on the
blockchain.

The "CreateAsset" operation typically requires input parameters specifying the details
of the asset being created. These parameters may include metadata ( Information about
the asset such as title, description, author, creation date, and any other relevant
attributes) , file attachment ( The digital file representing the legal document or record
that will be associated with the asset. This file is typically encrypted and stored securely
on the blockchain or in a distributed storage system) and access control settings
(Optionally, the user may specify access control settings to define who can view,
modify, or interact with the asset. This can include setting permissions based on user
roles, organizations, or cryptographic keys).

Once the input parameters are passed , the operation initiates the asset creation process
which involves various steps. The first step is validation (The input parameters are
validated to ensure they meet the required format and constraints. For example, the file
attachment may be checked for file type, size limits, and cryptographic signatures.).
The second step is generation of asset ID ( A unique identifier (Asset ID) is generated
for the newly created asset. This identifier serves as a reference to the asset within the
blockchain and allows users to retrieve and interact with it). The third step is creation
of asset record (A new record is created on the blockchain, storing the metadata and
reference to the digital file associated with the asset. This record is immutable and
timestamped, providing a verifiable trail of the asset's creation and history).

2. ReadAsset

The "ReadAsset" function in the context of e-Vault, a blockchain-based system for legal
records, allows users to retrieve and access information associated with a specific
digital asset stored on the blockchain.
To nitiate the "ReadAsset" operation, the user typically provides a unique identifier
associated with the asset of interest. This identifier, often referred to as the Asset ID,
serves as a reference to the digital asset stored on the blockchain.

Before accessing the asset's information, the e-Vault system verifies the user's
authorization and permissions. Access control mechanisms may be enforced to ensure
that only authorized individuals or entities can retrieve specific assets. This helps
maintain confidentiality and privacy, especially for sensitive legal records.

Once authorized, the "ReadAsset" function executes a query to retrieve the information
associated with the specified asset from the blockchain. This query typically involves
interacting with the blockchain's data storage layer to fetch the relevant metadata and
attributes of the asset.

In addition to metadata, the "ReadAsset" function may also retrieve the digital file or
document associated with the asset. Depending on the implementation, the file may be
stored directly on the blockchain, in a distributed file storage system, or referenced by
a cryptographic hash.

Once the asset's information has been successfully retrieved, the "ReadAsset" function
returns the relevant data to the user. This information may be presented in a user-
friendly format, such as a structured data object or a human-readable document,
depending on the application's interface.

The e-Vault system logs the execution of the "ReadAsset" function as part of its audit
trail. This log includes details such as the user who initiated the operation, the
timestamp of execution, and the asset identifier being accessed. Maintaining a
comprehensive audit trail helps ensure transparency and accountability in the
management of legal records.

The "ReadAsset" function enables users of the E-Vault platform to retrieve and access
information associated with digital assets representing legal records stored on the
blockchain. By implementing robust access control mechanisms and data integrity
verification processes, e-Vault ensures the security, confidentiality, and reliability of
legal records throughout their lifecycles.
3. UpdateAsset

The "UpdateAsset" function within e-Vault, a blockchain-based system for legal


records, allows authorized users to modify or update the information associated with a
specific digital asset stored on the blockchain.

Before executing the "UpdateAsset" function, the user must be authenticated and
authorized by the e-Vault system. This ensures that only authorized individuals or
entities with the necessary permissions can modify the information associated with
digital assets.

The "UpdateAsset" function typically requires the user to specify the unique identifier
(Asset ID) of the asset they intend to update. This identifier serves as a reference to the
digital asset stored on the blockchain.

The e-Vault system validates the input parameters provided by the user to ensure they
meet the necessary format, constraints, and authorization requirements. For example,
the system may verify that the user has permission to modify the specified asset and
that the proposed changes comply with any access control policies in place.

Once validated, the "UpdateAsset" function initiates the asset update process. This
process typically involves the several steps. The first step includes metadata update ( If
metadata changes are requested, the system updates the corresponding attributes
associated with the asset on the blockchain). The second step includes file replacement
(If a new version of the digital file is uploaded, the system replaces the existing file
associated with the asset while preserving its unique identifier and cryptographic
integrity). The third step access control modification ( If access control settings are
modified, the system updates the permissions or restrictions governing access to the
asset accordingly).

The "UpdateAsset" function may be integrated with smart contracts to enforce


additional business logic or conditions during asset updates. The function enables
authorized users to efficiently modify and update information associated with digital
assets representing legal records stored on the blockchain within the e-Vault platform.
4. DeleteAsset

The "DeleteAsset" function in e-Vault, a blockchain-based system for legal records,


allows authorized users to remove specific digital assets from the blockchain. Before
executing the "DeleteAsset" function, the user must undergo authentication and
authorization processes to ensure they have the necessary permissions to delete assets.
This step helps prevent unauthorized deletion of critical legal records.

The user specifies the unique identifier (Asset ID) of the asset they intend to delete.
This identifier serves as a reference to the digital asset stored on the blockchain. The e-
Vault system validates the user's request and performs authorization checks to verify
that the user has the appropriate permissions to delete the specified asset. Additionally,
the system may enforce additional validation checks to ensure the request meets any
predefined criteria or conditions for asset deletion.

The e-Vault system may prompt the user to confirm their intention to delete the asset.
This confirmation step helps mitigate accidental deletions and ensures that users are
aware of the consequences of their actions.

Once validated, the "DeleteAsset" function initiates the asset deletion process. This
process typically involves several steps. The first being removal of asset data (The e-
Vault system removes the digital asset's metadata and associated data from the
blockchain, effectively erasing its existence from the ledger). The second being file
deletion (If the asset is associated with a digital file, the system may also delete the
corresponding file from the storage system to ensure complete removal of the asset).
The third being update of access control (If access control settings were configured for
the deleted asset, the system may update the permissions or restrictions to reflect the
asset's removal).

After successfully deleting the asset, the e-Vault system may emit an event or
notification to inform relevant parties about the deletion. This notification can be
received by users, applications, or smart contracts subscribed to the relevant event
channels. The DeleteAsset" function may be integrated with smart contracts to enforce
additional business logic or conditions during asset deletion.
5. TransferAsset

The "TransferAsset" function in E-Vault, a blockchain-based system for legal records,


facilitates the transfer of ownership or control of a specific digital asset from one user
to another.

Before initiating the "TransferAsset" function, both the sender (current owner) and the
recipient (new owner) must undergo authentication and authorization processes to
ensure they have the necessary permissions to transfer and receive assets. The sender
specifies the unique identifier (Asset ID) of the asset they intend to transfer. This
identifier serves as a reference to the digital asset stored on the blockchain.

The e-Vault system validates the sender's request and performs authorization checks to
verify that they have the appropriate permissions to transfer the specified asset.
Additionally, the system may enforce additional validation checks to ensure the
recipient is eligible to receive the asset.

Once validated, the "TransferAsset" function initiates the asset transfer process. This
involves the several steps. The first being verification of asset ownership (The system
verifies that the sender is the rightful owner of the asset and has the authority to transfer
it). The second being update of asset ownership (The ownership or control of the asset
is transferred from the sender to the recipient. This update may involve updating the
asset's metadata to reflect the new owner or transferring ownership rights through
cryptographic signatures). The third being recording the transfer (The e-Vault system
records the asset transfer transaction on the blockchain, creating a transparent and
immutable record of the ownership change).

Upon completion of the "TransferAsset" function, both the sender and the recipient
receive confirmation of the asset transfer along with relevant details such as the Asset
ID, sender's information, recipient's information, and timestamp of the transfer. This
information is recorded as part of the audit trail, providing transparency and
accountability in the management of legal records within e-Vault.

The "TransferAsset" function enables authorized users to securely transfer ownership


or control of digital assets representing legal records on the blockchain.
Chapter 6

Result

The user interface(UI) for e-Vault - a blockchain-based system for legal records, involves
creating an intuitive and user-friendly platform that facilitates seamless interaction with legal
documents stored on the blockchain.

Fig. 6.1 Home Page

The above image shows the home page of e-vault- a blockchain based system for legal records.
The left side of the page showcases the logo while the right side of the page shows various
options.

At the top of the page, there is a navigation bar with links labelled "Get Case Details," "Sign
Up," "Login," and a button indicating "Metamask [Link] login/signup options are
available at the right hand side of the page. The user can need to login using their username
and password.
The homepage includes a login or registration section where users can securely authenticate
themselves to access their accounts.

The "Get Case Details" option in E-Vault provides users with the ability to retrieve
comprehensive information about specific legal cases stored within the platform. Using this
option the user can get the complete information of the cases.

Below the title, there is a *tagline* that reads "A modernized blockchain based eVault storage
solution for the Indian Judiciary." This provides a brief description of the platform's purpose
and its target audience.

Beneath the tagline, there are *three buttons* that offer different entry points for users:
"Continue as a Client," "Continue as a Lawyer," and "Continue as a Judge." This indicates that
the website is designed to cater to different user roles within the judicial system.

Fig. 6.2 Registration Page


This page is the user registration page. The user needs to register to upload the documents.

On the left side of the screen, there is a section titled "e-Vault Registration". This section
contains a prompt indicating that if a user already has an account, they can log in to E-Vault.
Below this prompt, there are three buttons for different types of registration: "Lawyer
Registration," "Client Registration," and "Judge Registration." The user can register as a client
to upload the documents or to have the information of the cases. The user can register as a
lawyer who can upload the documents. The user can also register as the judge who can have
access to uploading the verdict of the court cases, etc.

On the right side of the screen, there is a form with fields for entering "Aadhar UID" and
"PAN". These fields suggest that the platform requires Indian identification numbers for
registration. There is also an option to "Connect your metamask wallet" with a Metamask logo,
followed by a "Connect Wallet" button. Below these fields, there is a "Sign Up" button.

At the top right corner of the page, there are navigation options for "Get Case Details," "Sign
Up," and "Login," with a notification that "Metamask Connected," indicating that a Metamask
wallet is currently linked to the session.

For the new user who wish to sign up has to provide certain information for a successful signup.
The new user has to provide the aadhar card information, the permanent account number for
the sign up.

Fig. 6.3 Login Page


The above image showcases the login page for e-Vault – a blockchain based system for legal
records. The user who has already signed up once can login to upload documents or receive
other benefits of the e-Vault.

The interface is neatly divided into two sections, each serving a distinct purpose.

On the left side of the interface, there is a heading that reads "e-Vault Login." Just below the
heading, there is a subtext that reads "New user" followed by a link that says "Register with E-
Vault here." This suggests that new users can create an account by following the provided link.
Below this, there are three distinct buttons for different user types: "Login as a lawyer," "Login
as a client," and "Login as a judge." This indicates that the service caters to different user roles,
each with presumably different access levels or functionalities.

The e-Vault allows the user to login as a client, lawyer or a judge. If any new user is directed
to the login page then there is a New user option which would take the user to the sign up page
to create a new user account.

On the right side of the interface, there is a text field with a placeholder text that says "Enter
your Aadhar number " This suggests that users are required to enter their Aadhar number to
log in. Below the text field, there is a button labeled "Connect your metamask wallet" with a
Metamask logo next to it, and a larger button labeled "Connect Wallet" to the right of it. This
indicates that the service supports login via Metamask, a popular Ethereum wallet. Below
these, there is a "Login" button for users to submit their login details.

At the top right corner of the interface, there is a button that says "Metamask Connected,"
indicating that a Metamask wallet is already connected to the service. This suggests that the
service supports blockchain-based authentication or transactions.

This is a user-friendly interface that allows the new user to create an account or an old user to
login easily and successfully.
Fig. 6.4 Search for Case Details

The above image showcases the search for case details page for e-Vault-a blockchain based
system for legal records. Through this page any user can search for any case details.

The interface features a search bar with a prompt to "Search for case details" and a note that
only associated clients, lawyers, and judges can access the case details and information. A
"Search Case" button is located below the search bar.

The interface also includes a table with a single entry for a case. The case details include Case
ID "2," Case Subject "Car Accident," Party1 and Party2 with numerical identifiers, a Filing
Date "Fri Apr 26 2024 22:19:43 GMT+0530 (India Standard Time)," an Appointed Judge, and
Appointed Lawyers with numerical identifiers. A note at the bottom of the table states, "Only
case admins are allowed to view further details."

The user who can be a client, lawyer or a judge can search the case details by providing the
case id in the search bar and then click on the search button. Through this the complete
information of the case is shown to the user.

The user gets to know about the case subject, the parties involved in the case , the filing date
of the case, the appointed lawyers and the appointed judge of the respective case.

In the top right corner of the interface, there is an indication that "Metamask" is connected,
suggesting that the platform is integrated with blockchain technology.

Fig. 6.5 Lawyer Dashboard


The above image showcases the dashboard of the lawyer for e-Vault- a blockchain based
system for legal records. The image provided is a screenshot of a "Lawyer Dashboard" from a
legal case management system. The dashboard is divided into two main sections.

On the left side of the dashboard, there is a section titled "Your Recent Cases." This section
lists three cases with the subjects "Hit and Run," "Car Accident," and "Property Dispute." Each
case is accompanied by its filing date and time, as well as the latest updates.

On the right side of the dashboard, there is a "Profile Information" section. This section
contains details such as the lawyer's full name, contact number, Aadhar UID, nationality,
religion, sex, date of birth, and wallet address.

At the bottom of the dashboard, there is a button to "Register New Case. This button allows
the lawyer to register his/her new case. Any new case that the lawyer receives can be registered
here and the information about the case can be updated as the case proceeds.
CONCLUSION

e-Vault represents a significant advancement in the realm of legal record management,


leveraging blockchain technology to revolutionize the way legal professionals interact with and
manage critical documents. Throughout this report, we have explored the various facets of e-
Vault, from its underlying blockchain architecture to its user interface and key functionalities.

e-Vault addresses several challenges inherent in traditional legal record management systems,
including security vulnerabilities, data integrity issues, and inefficiencies in document handling
and sharing. By harnessing the immutable and transparent nature of blockchain technology, e-
Vault ensures the integrity, confidentiality, and accessibility of legal records stored within the
platform.

One of the standout features of e-Vault is its robust security framework, which employs
encryption, access controls, and cryptographic techniques to safeguard sensitive legal
documents from unauthorized access, tampering, or manipulation. Additionally, the use of
smart contracts automates various legal processes, streamlining operations and reducing the
reliance on intermediaries.

e-Vault's user-friendly interface and intuitive features empower legal professionals to


efficiently manage, search, retrieve, and collaborate on legal records, enhancing productivity
and workflow efficiency. The platform's audit trail functionality provides transparency and
accountability, enabling users to track and verify all actions and changes made to legal records
over time.

The potential applications and impact of e-Vault extend beyond the legal sector, with
implications for industries requiring secure and tamper-proof record management systems. As
blockchain technology continues to evolve and mature, E-Vault stands at the forefront of
innovation, poised to shape the future of legal record management.

e-Vault represents a paradigm shift in legal record management, offering a secure, transparent,
and efficient solution powered by blockchain technology. As organizations increasingly
recognize the value of digital transformation, e-Vault stands ready to meet the evolving needs
of the legal industry and beyond.
REFERENCES

1. “Hyperledger fabric”: [Link]

2. “React”: [Link]

3. “Modelling” : [Link]

4. “Research Paper”: [Link]

5. “ Blockchain”: [Link]

6. “IPFS”: [Link]

7. “CouchDB”: [Link]

8. “Smart Contract”: [Link]

9. “Spiral Development Model”: [Link]

10. “Use Case Diagram”: [Link]

11. “Sequence Diagram”: [Link]


PERSONAL DETAILS

You might also like