Cryptographic provenance, decentralized storage, and semantic version control for machine learning datasets.
Live Demo • API Reference • Documentation • GitHub Repository
Modern machine learning models depend on high-quality datasets, yet data management practices remain severely outdated compared to code versioning:
- Scattered Cloud Storage: Datasets are scattered across various S3 buckets, Google Drives, or local drives with no unified registry.
- No Provenance: It is difficult to trace dataset origins, author signatures, or historical derivations.
- Poor Reproducibility: Training scripts reference static local folders or unversioned links, making model training impossible to reproduce exactly.
- Difficult Versioning: Git-based systems do not handle multi-gigabyte dataset files gracefully.
- Lack of Cryptographic Verification: There is no cryptographically-backed proof linking the storage layer to on-chain registry transactions.
DataForge AI solves these problems by creating a decentralized, cryptographically-proven dataset hub that acts as the "GitHub for AI Datasets."
- Dataset Registry: Public and private repository hosting for ML-ready datasets.
- Semantic Versioning: Freeze and publish datasets under explicit semver tags (e.g.
1.0.0). - Cryptographic Provenance: File registrations are recorded on the Shelbynet ledger.
- Decentralized Storage: Integrates with the Shelby Storage network to host raw dataset blocks.
- Wallet-Based Authentication: Nonce-challenge cryptographic login utilizing Aptos wallet extensions (Petra Wallet).
- Merkle Root Commitments: Uses on-chain Merkle Root commitments to guarantee block-level data integrity.
- Dataset Lineage Tree: Visual and logical lineage tracking to show historical derivations when repositories are forked.
- Automatic Manifest Generation: Compiles files, sizes, hashes, and lineage details into a versioned
manifest.json. - REST API & SDK Ready: Programmatic interface for automated dataset upload and download pipelines.
DataForge AI is split into a Next.js web application, a NestJS orchestration API, background ingestion workers, PostgreSQL metadata storage, and Shelby decentralized storage verified on Shelbynet.
graph TD
User([User / Developer]) -->|Interact / Sign| Frontend[Next.js Frontend]
User -->|Sign register_blob| Aptos[Shelbynet]
Frontend -->|REST / JWT| API[NestJS API Server]
subgraph "Backend Infrastructure"
API -->|Metadata Queries| PG[(PostgreSQL + pgvector)]
API -->|Queue Ingestion| Redis[(Redis / BullMQ)]
API -->|Verify Tx Hash| Aptos
Worker[BullMQ Worker] -->|Listen Jobs| Redis
Worker -->|Update Status| PG
Worker -->|Ingest Manifests| Shelby[Shelby Storage Network]
API -->|Write Temp Blobs| Shelby
end
For more details, see the Architecture Guide.
DataForge is organized as a monorepo workspace:
├── apps/
│ ├── web/ # Next.js Frontend (React, TailwindCSS, Wallet Adapter)
│ └── api/ # NestJS API Backend (Orchestration, Controllers, Ingestion Queue)
├── packages/
│ ├── db/ # Database Layer (Prisma ORM, PostgreSQL schema & migrations)
│ ├── shelby/ # Shelby Storage Provider Client (Mock/Live drivers)
│ ├── ai/ # AI Utilities (Metadata parsing & vector embeddings helpers)
│ └── shared/ # Shared DTOs, types, and validation schemas
└── docs/ # Product and technical documentation
For package setup metadata, see the individual packages.
DataForge AI landing page introducing cryptographic provenance, repository statistics, and decentralized dataset registry.
Cryptographic login challenge prompt supporting Petra Wallet, Sandbox mock wallet, and standard Aptos authentication.
Browse and manage verified dataset repositories (e.g. test-vps-1b7oz1, crypto-x-research-dataset) once connected to Shelbynet.
Alternative light mode repository style showcasing category tags, dataset sizes, quality scores, and fork counts.
Copy the example environment file and configure variables:
cp .env.example .envDefine the database connection, Redis URLs, JWT secrets, and Shelby network credentials:
DATABASE_URL: PostgreSQL connection string.REDIS_URL: Redis server URL.SHELBY_MODE:mock(local filesystem) orlive(on-chain Shelby network gateway).SHELBY_NETWORK:'shelbynet'(Chain ID 114).SHELBY_PRIVATE_KEY: Your Aptos wallet private key.SHELBY_ACCOUNT: Your Aptos wallet account address.
To run both the frontend and backend concurrently in development mode:
# Install dependencies
npm install
# Run database migrations
npm run db:migrate:deploy
npm run db:generate
# Start Next.js and NestJS servers
npm run devThe frontend will start at http://localhost:3000 and the API server at http://localhost:4000/api.
To spin up the entire production-ready ecosystem locally (PostgreSQL, Redis, API Server, Worker):
docker compose --env-file /opt/dataforge/env/.env up -d --buildComprehensive documentation of the DataForge AI architecture and flows is available:
- System Architecture
- Storage & Provenance
- Publishing & Ingestion Flow
- API Reference
- Platform Roadmap
- Implemented: Nonce-challenge wallet handshake, Shelbynet verification, Shelby Storage mock/live engines, semantic versions, and lineage tracking.
- In Progress: Vector similarity dataset searches, wallet connection persistence, and CLI integration tools.
- Future: Multi-chain registry verification (Sui, Ethereum), direct Jupyter Notebook Python SDK loaders.
We welcome contributions to DataForge AI! Please read our Contributing Guidelines to get started.
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.