Skip to content

A blockchain-based framework that focuses on enhancing the authenticity and credibility of content shared on social networks

Notifications You must be signed in to change notification settings

mohroba/nft_content_verification

Repository files navigation

سیستم اعتبارسنجی و احراز هویت محتوا مبتنی بر توکن‌های غیرقابل معامله (NFT)

این پروژه یک چارچوب مبتنی بر زنجیره‌باز است که بر تقویت اصالت و قابلیت اعتماد محتواهای به اشتراک گذاشته شده در شبکه‌های اجتماعی تمرکز دارد. با بهره‌گیری از توکن‌های غیرقابل معامله (NFT)، این پروژه یک راه‌حل برای ارزیابی اصالت محتوای شبکه‌های اجتماعی فراهم می‌کند.

ویژگی‌ها

  • پیاده‌سازی توکن‌های IToken، CToken و VToken برای مدیریت هویت، محتوا و راستی آزمایی محتوا.
  • یکپارچگی با فناوری بلاکچین برای عملیات غیرمتمرکز و شفاف.
  • قابل توسعه و تطبیق برای انواع پلتفرم‌های شبکه‌های اجتماعی.

شروع به کار

این دستورالعمل‌ها یک نسخه از پروژه را برای توسعه و آزمون در دستگاه محلی شما آماده می‌کند.

پیش‌نیازها

  • Node.js
  • NPM (مدیر بسته Node)
  • Hardhat

نصب

مراحل زیر به شما می‌گویند چگونه یک محیط توسعه را راه‌اندازی کنید :

  1. ریپازیتوری را کلون کنید:

    git clone https://github.com/mohroba/nft_content_verification.git
  2. به دایرکتوری پروژه بروید:

    cd nft_content_verification
  3. وابستگی‌ها را نصب کنید:

    npm install
  4. قراردادهای هوشمند را کامپایل کنید:

    npx hardhat compile

اجرای آزمون‌ها

چگونگی اجرای آزمون‌های خودکار برای این سیستم:

npx hardhat test

اثبات آخرین آزمون‌های انجام‌شده

تصویری از اثبات موفقیت 86 آزمون اخیر

ساختار پروژه

  • artifacts/: آرتیفکت‌های قراردادهای هوشمند کامپایل‌شده.
  • cache/: فایل‌های کش Hardhat.
  • contracts/: فایل‌های منبع قراردادهای هوشمند.
  • docs/: فایل‌های مستندات.
  • node_modules/: بسته‌های NPM.
  • scripts/: اسکریپت‌های نصب و تعامل.
  • test/: فایل‌های آزمون قرارداد.

قدردانی

از افراد، سازمان‌ها و پروژه‌های زیر صمیمانه سپاسگزاری می کنیم که به توسعه این پروژه کمک کرده‌اند:

  • دانشگاه بین‌المللی امام خمینی (ره): دانشکده مهندسی کامپیوتر.
  • دکتر حمیدرضا حمیدی: استاد دانشگاه @IKIU و راهنمای پروژه.

سپاس ویژه از پروژه‌های متن‌باز زیر:

  • OpenZeppelin: برای ارائه کتابخانه‌ها و ابزارهای ارزشمند قراردادهای هوشمند.
  • Hardhat: یک محیط توسعه قدرتمند برای قراردادهای هوشمند اتریوم.

همچنین از جامعه گسترده بلاکچین و متن‌باز برای ایجاد امکانات توسعه سپاسگزاریم.

NFT Based Content Authenticity Verification System

This project is a blockchain-based framework that focuses on enhancing the authenticity and credibility of content shared on social networks. Leveraging non-fungible tokens (NFTs), this project provides a solution for evaluating the authenticity of social media content.

Features

  • Implementing ITokens, CTokens, and VTokens for identity, content, and verification management.
  • Integration with blockchain technology for decentralized and transparent operations.
  • Adaptable for various social media platforms.

Getting Started

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

Prerequisites

  • Node.js
  • NPM (Node Package Manager)
  • Hardhat

Installing

A step-by-step series of examples that tell you how to get a development environment running.

  1. Clone the repository:

    git clone https://github.com/mohroba/nft_content_verification.git
  2. Navigate to the project directory:

    cd nft_content_verification
  3. Install dependencies:

    npm install
  4. Compile the smart contracts:

    npx hardhat compile

Running Tests

How to run the automated tests for this system :

npx hardhat test

Proof of last committed tests

Image proving all 86 tests pass successfully

Project Structure

  • artifacts/: Compiled contract artifacts.
  • cache/: Hardhat cache files.
  • contracts/: Smart contract source files.
  • docs/: Documentation files.
  • node_modules/: NPM packages.
  • scripts/: Deployment and interaction scripts.
  • test/: Contract test files.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

I would like to express our sincere appreciation to the following individuals, organizations, and projects that have contributed to the development this project:

  • IKIU: Imam Khomeini International University (Faculty of Computer Engineering).
  • Dr.HamidReza Hamidi: Assitant Professor @IKIU & Supervisor of the project.

Special thanks to the following open-source projects:

  • OpenZeppelin: For providing valuable smart contract libraries and tools.
  • Hardhat: A powerful development environment for Ethereum smart contracts.

We are also grateful to the broader blockchain and open-source community for their continuous support and inspiration.

About

A blockchain-based framework that focuses on enhancing the authenticity and credibility of content shared on social networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published