Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sakshisrivastava413/evidence-chain
https://github.com/sakshisrivastava413/evidence-chain
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sakshisrivastava413/evidence-chain
- Owner: Sakshisrivastava413
- Created: 2019-01-20T09:14:51.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-27T20:05:23.000Z (6 months ago)
- Last Synced: 2024-11-18T22:06:29.895Z (3 months ago)
- Language: JavaScript
- Size: 61.5 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This was build at ETHIndia 2018 and we were among the 7 finalists of the hackathon, overall experience of the hackathon was awesome <3
# ***Evidence Chain***
Evidence Chain is blockchain based solution to avoid evidence tampering in Indian Court (actually any judiary based system out there).
## Problem Statement
In Courts, lot of evidences are tampered in a way or another due to which innocent lives are sued. When someone submit an evidence to the court (may it be a document, video or audio), the evidence is submitted to police after submission of the same from party. The parties and the court have to trust all the middle men/parties that come in between the process of approval to submission of the evidence.## Our Solution
We propose a solution where all the evidences submitted by a user are pushed to a blockchain with a very simple and elegant user interface where user just uploads all the details of the evidence like its image, name, creation date, description and type and we handle all the things behind the scenes (uploading the image to ipfs, signing the details user filled using his / her public key, making the actual transaction to blockchain via organisation's account by verifying the hash so that user doesn't have to pay for the ether via making a submission and the organisation does the payment for user's transaction via taking care of security issues like mutating user's filled information).## Technology Stack
1. [Solidity](https://solidity.readthedocs.io/en/v0.4.24) for writing Smart Contract(s)
2. [React](https://reactjs.org) for frontend
3. [IPFS](https://ipfs.io/) for file storage
4. [Truffle Framework](https://truffleframework.com/ganache) for easy development of smart contracts and deploying to blockchain
5. [Ganache](https://truffleframework.com/ganache) to provide local blockchain
6. [Web3JS](https://web3js.readthedocs.io/en/1.0/) as layer to contact blockchain via normal browser## Flow of the application
- User enters it's public key and the Case ID given by officials to the system
- They now chose one of the court cases going on with them
- Now they are shown a evidence list of the case chosen and an option to upload a new evidence for approval to show in next hearing
- They upload an evidence filling all its detail and signed using user's private key on the frontend and sent to the organisation's service
- Organisation / Govt.'s service automatically makes a transaction to the blockchain on the behalf of user so that user doesn't have to pay for the gas
- Evidence gets added to the blockchain and now is forever there and hence no immutability is possible, here we also trigger an event from the Smart Contract to update the UI with the new evidence.## Accomplishments we are proud of
- Making the organisation pay the gas for user without risking the transaction owner's data immutability