kdembler / file-notary

File Notary is a blockchain-based upload service letting you verify the authenticity of your files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FileNotary

File Notary is a simple blockchain-based notarization service letting you verify the authenticity of your files.

Overview

File Notary consists of a frontend app for managing your files and a backend that processes these files. Each file is uploaded to Amazon S3 for storage. At the same time, the hash of the file is calculated with SHA-3 and saved in a Smart Contract on Ethereum Blockchain. Upon downloading, the hash is calculated once again and compared with the one saved in the Ethereum. After that verification, you can tell with a certainty that the file wasn't modified after the upload.

Usage

  1. Clone the repo
https://github.com/kdembler/file-notary
cd file-notary/
  1. Copy .env.example file as .env and provide needed env variables

  2. Install contract deployment dependencies

cd contract/
yarn # or npm install
  1. Deploy the contract
yarn migrate:kovan # or npm run migrate:kovan
  1. Build Docker containers
cd ..
docker build -t file-notary-frontend front
docker build -t file-notary-backend notary
  1. Start the docker-compose
docker-compose up
  1. After the compose starts, the frontend will be available at localhost:80

License

MIT © Klaudiusz Dembler

About

File Notary is a blockchain-based upload service letting you verify the authenticity of your files

License:MIT License


Languages

Language:Python 31.1%Language:TypeScript 27.9%Language:Vue 27.4%Language:JavaScript 5.4%Language:Solidity 3.5%Language:HTML 2.4%Language:Dockerfile 1.6%Language:Shell 0.7%