Skip to content

DataHarbor is a Web3-powered platform where AI datasets and model weights can be freely exchanged, shared, and monetized, with transparent tracking of usage on-chain.

Notifications You must be signed in to change notification settings

AnkushGitRepo/DataHarbor

Repository files navigation

DataHarbor

A decentralized marketplace for AI datasets and model weights.

Project Overview

DataHarbor is a Web3-powered platform where AI datasets and model weights can be freely exchanged, shared, and monetized, with transparent tracking of usage on-chain. The platform provides a fair revenue-sharing mechanism, reputation tracking for dataset/model creators, and privacy-preserving capabilities.

Features

  • Marketplace: Users can list and purchase datasets or trained model weights
  • Secure Storage: Decentralized hosting via IPFS for immutable data and model artifacts
  • On-chain Tracking: Smart contracts to track ownership, usage, and micropayments
  • Reputation System: On-chain mechanism that updates scores based on data/model quality
  • Fair Revenue Sharing: Automatic royalty distribution to creators and contributors

Tech Stack

  • Frontend: React.js
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Blockchain: Ethereum/Polygon
  • Smart Contracts: Solidity
  • Decentralized Storage: IPFS

Project Structure

project-root/
├── client/                // React front-end
├── server/                // Node/Express back-end
├── contracts/             // Smart contracts

Getting Started

Prerequisites

  • Node.js (v16+)
  • npm or yarn
  • MongoDB
  • MetaMask or another Web3 wallet

Installation

  1. Clone the repository:

    git clone https://github.com/AnkushGitRepo/data-harbor.git
    cd data-harbor
    
  2. Install dependencies:

    npm install
    
  3. Create environment files:

    cp .env.example .env
    cp client/.env.example client/.env
    
  4. Update the environment variables in the .env files with your configuration.

Running the Development Environment

  1. Start the MongoDB server:

    mongod
    
  2. In a separate terminal, start the development server:

    npm run dev
    

This will start both the backend server and the frontend client in development mode.

Smart Contract Deployment

  1. Compile the contracts:

    npm run compile --workspace=contracts
    
  2. Run tests:

    npm run test --workspace=contracts
    
  3. Deploy to local network:

    npm run deploy:local --workspace=contracts
    
  4. Deploy to testnet:

    npm run deploy:testnet --workspace=contracts
    

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

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

About

DataHarbor is a Web3-powered platform where AI datasets and model weights can be freely exchanged, shared, and monetized, with transparent tracking of usage on-chain.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published