E Vault Report
E Vault Report
A PROJECT REPORT
Submitted by
February– 2024
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
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
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.
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.
Date:
EXECUTIVE SUMMARY
Abbreviations Definition
Js Javascript
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.
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.
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.
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.
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.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.
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 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.
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
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
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.
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
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
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.
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.
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
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.
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.
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
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]
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
In e-Vault, CouchDB could be used as the underlying database technology to store and manage
the legal records. It offers the following advantages :-
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.
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.
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
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]
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.
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
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 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
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.
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.
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.
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.
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.
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 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.
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
2. “React”: [Link]
3. “Modelling” : [Link]
5. “ Blockchain”: [Link]
6. “IPFS”: [Link]
7. “CouchDB”: [Link]