File Notary is a simple blockchain-based notarization service letting you verify the authenticity of your files.
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.
- Clone the repo
https://github.com/kdembler/file-notary
cd file-notary/
-
Copy
.env.example
file as.env
and provide needed env variables -
Install contract deployment dependencies
cd contract/
yarn # or npm install
- Deploy the contract
yarn migrate:kovan # or npm run migrate:kovan
- Build Docker containers
cd ..
docker build -t file-notary-frontend front
docker build -t file-notary-backend notary
- Start the
docker-compose
docker-compose up
- After the compose starts, the frontend will be available at
localhost:80
MIT © Klaudiusz Dembler