Skip to content

Authenticity is an online blockchain-based photo validation tool designed to combat the rise of deep fakes. The free-to-use tool uses a unique hash code to verify the authenticity of images, making it easier to identify and combat fake news and other malicious activities.

License

Notifications You must be signed in to change notification settings

skarard/authenticity-smart-contracts

Repository files navigation

Authenticity Smart Contract

Authenticity is an online blockchain-based photo validation tool designed to combat the rise of deep fakes. The free-to-use tool uses a unique hash code to verify the authenticity of images, making it easier to identify and combat fake news and other malicious activities.

This repository contains the smart contracts associated with the Authenticity platform, built using the Hardhat framework.

This is very early stages and parts maybe broken, check back regularly for updates.

Project Links

Getting Started

These instructions will get you a copy of the Authenticity smart contracts up and running on your local machine for development and testing purposes.

Prerequisites

To get started with Authenticity, you'll need to install the following dependencies:

  • Node.js
  • Hardhat
  • NPM

Installation

  1. Clone the Authenticity repository:
git clone https://github.com/skarard/authenticity-smart-contracts.git
  1. Install the dependencies:
npm install
  1. Compile the contracts:
npx hardhat compile

Usage

Once the contracts are compiled, you can deploy them to any Ethereum network.

To deploy the contracts, run the following command:

npx hardhat deploy

100% coverage on unit tests

Deploying, writing and reading data to and from a blockchain is a critical process that requires absolute accuracy. To ensure this accuracy, 100% coverage is essential as it guarantees that all code is tested before deployment. However, 100% coverage is not enough. Smart coverage, which entails writing unit tests to specifically target areas of the codebase with a higher risk of errors or bugs, is necessary to ensure that the code is bug-free when deployed. Smart coverage also helps to identify potential areas of improvement, as it allows for more focused testing. Additionally, it can help to reduce the amount of time spent writing and debugging unit tests, as it allows for more targeted tests. In conclusion, having 100% coverage is important, but having smart coverage is even more important as it ensures that all areas of the codebase are thoroughly tested and any potential errors or bugs are identified.

License

Authenticity is released under the MIT License. See LICENSE for more details.

About

Authenticity is an online blockchain-based photo validation tool designed to combat the rise of deep fakes. The free-to-use tool uses a unique hash code to verify the authenticity of images, making it easier to identify and combat fake news and other malicious activities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published