https://github.com/kostayne/file-proof
A dApp for proof file ownership, written on solidity
https://github.com/kostayne/file-proof
dapp dapp-example docker hardhat solidity web3
Last synced: 7 months ago
JSON representation
A dApp for proof file ownership, written on solidity
- Host: GitHub
- URL: https://github.com/kostayne/file-proof
- Owner: Kostayne
- Created: 2023-12-31T10:21:00.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-08T08:31:21.000Z (about 2 years ago)
- Last Synced: 2025-06-03T17:32:33.879Z (9 months ago)
- Topics: dapp, dapp-example, docker, hardhat, solidity, web3
- Language: TypeScript
- Homepage:
- Size: 1.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# File proof dApp
A simple dApp that can proof file ownership by its hash.
Provide a file with owner's name to submit an ownership request.
If the file is already registered the owner name will not be updated.
To get owner name with timestamp just send a file.
Built with [Hardhat](https://hardhat.org),
[Qwik](https://qwik.builder.io/), [Express](https://expressjs.com/) & [Socket.io](https://socket.io/).

## Docker
Use docker compose to run client, server & hardhat node.
```
docker compose up
```
## Local development
### Setup environment
Install [Nodejs](https://nodejs.org/en)
### Install dependencies
client sh
```
cd client
npm i
```
server
```sh
cd server
npm i
```
### Scripts
Compile the contract
```
npm run compile
```
Deploy the contract
```
npm run deploy
```
Start server
```
npm run server
```
Start client
```
npm run client
```
Run tests
```
npm run tests
```