An open API service indexing awesome lists of open source software.

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

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/).

![Transaction](public/Transaction.png)

## 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
```