https://github.com/humanbased-ai/submission-data-fingerprint
Contracts used to store fingerprints of user contribution information and credential information of Submission data
https://github.com/humanbased-ai/submission-data-fingerprint
Last synced: 1 day ago
JSON representation
Contracts used to store fingerprints of user contribution information and credential information of Submission data
- Host: GitHub
- URL: https://github.com/humanbased-ai/submission-data-fingerprint
- Owner: humanbased-ai
- Created: 2025-08-23T03:47:52.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-10-20T03:13:42.000Z (8 months ago)
- Last Synced: 2026-06-01T04:29:34.682Z (26 days ago)
- Language: Solidity
- Size: 1010 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# submission-data-fingerprint
The contract is used to store fingerprints of user contribution information and credential information of Submission data, in order to ensure data verifiability and immutability.
## Features
- **Store**: Store fingerprints of user contribution information and credential information of Submission data.
- **Retrieve**: Retrieve data of a user or of a specified submission id.
## Usage
### Dependencies
- **[Foundry](https://getfoundry.sh/introduction/installation/)**
### Build
```shell
$ forge build
```
### Test
```shell
$ forge test
```
### Format
```shell
$ forge fmt
```
### Contract Call
Enter the directory `script/`
```
cd script
```
#### Configuration
Copy `.env` from `.env.example`, edit `.env`
```
SUBMITTER_PRIVATE_KEY='' # the private key of the submitter
```
#### Execute
```
python fingerprint.py
```
### Help
```shell
$ forge --help
$ anvil --help
$ cast --help
```