Skip to content

tonihendra/Verifiable_AI_andData_Provenance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Verifiable AI And Data Provenance

VeriFlow Logo

VeriFlow Network

The Trust Layer for the AI Era

Verifiable AIData ProvenanceDecentralized Marketplace

License Cosmos SDK Frontend Go PRs Welcome


Getting StartedArchitectureRoadmapContributing


🌟 The Mission

VeriFlow Network is a sovereign Layer 1 Blockchain dedicated to solving the "Black Box" problem in Artificial Intelligence.

In an era flooded with Deepfakes and unverified data scraping, VeriFlow acts as the immutable registry for data ownership and model verification.

The Problem ❌ VeriFlow Solution ✅
Unverified Data used in AI training. On-Chain Provenance: Every dataset gets a cryptographic hash & timestamp.
Creators Unpaid for their IP. Royalty Stream: Smart contracts pay creators automatically when data is used.
Black Box AI decision making. Audit Trails: Transparent history of what data trained which model.

🛠️ Tech Stack

We combine the power of Golang for the blockchain layer with the flexibility of TypeScript for the application layer.

Blockchain Layer (Layer 1)

Go Cosmos SDK Ignite CLI

Application Layer (Frontend & Middleware)

Next JS TypeScript NodeJS MongoDB


🏗️ Monorepo Architecture

This repository is a Monorepo designed for full-stack Web3 development.

veriflow-network/
├── 📂 chain/             # ⚙️ THE ENGINE (Layer 1)
│   ├── x/provenance/     # Custom module for registering Data Assets
│   └── x/marketplace/    # Custom module for buying/selling Data
│
├── 📂 web/               # 🖥️ THE FACE (Frontend)
│   ├── src/app           # Next.js 14 App Router
│   ├── hooks/            # React Hooks for Keplr Wallet
│   └── components/       # UI Components (Tailwind)
│
├── 📂 indexer/           # 🔍 THE BRIDGE (Middleware)
│   └── ...               # Node.js service to index chain events to MongoDB
│
└── 📂 ts-client/         # 🌉 THE CONNECTOR
                          # Auto-generated Typescript client to talk to the chain

🚀 Getting Started

Follow these steps to run the entire ecosystem on your local machine.

0. Prerequisites

1. Start the Blockchain

Navigate to the chain directory and ignite the chain.

curl https://get.ignite.com/cli! | bash
cd chain
ignite scaffold chain verichain
ignite scaffold list dataset dataHash:string owner:string price:uint description:string --module provenance
ignite chain serve

🟢 Status: The blockchain API is now running at localhost:1317 and RPC at localhost:26657.

2. Start the Frontend

Open a new terminal tab.

npx create-next-app@latest web
cd web
npm install @cosmjs/stargate @cosmjs/proto-signing @keplr-wallet/types
npm install
npm run dev

🟢 Status: Open http://localhost:3000 to see the User Interface.


🗺️ Roadmap

Our journey to decentralized AI.

  • Phase 1: Genesis
    • Initialize Chain with Ignite CLI.
    • Create basic x/provenance module (CRUD).
  • Phase 2: Integration
    • Connect Frontend with Keplr Wallet.
    • Implement IPFS / Arweave storage handler.
    • Mint "Data-NFT" logic.
  • Phase 3: Marketplace
    • Build x/marketplace module.
    • Enable token transfers for data access.
  • Phase 4: Mainnet
    • Incentivized Testnet.
    • IBC Connection to Osmosis/Cosmos Hub.

🤝 Contributing

We heavily rely on the community to build this future. Whether you are a Node.js Wizard 🧙‍♂️ or a Golang Gopher 🐹, we need you!

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/amazing-feature).
  3. Commit your changes (git commit -m 'Add some amazing feature').
  4. Push to the branch (git push origin feature/amazing-feature).
  5. Open a Pull Request.

See CONTRIBUTING.md for code standards.


📄 License

Distributed under the MIT License. See LICENSE for more information.


Built with ❤️ by the Dencuan Team.
```

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors