RAAS ( Research as a service ) AI research as tradable NFTs on blockchain. Research, mint & sell !
Anusandhan is a revolutionary decentralised AI research marketplace that transforms AI research into tradeable NFTs. Built for researchers, developers, and AI enthusiasts, it enables users to create, mint, and monetize their AI-powered research conversations on the blockchain. šÆ Core Innovation: Conversation-as-NFT: Convert AI research chats into unique, tradeable digital assets Node-based Visual Editor: Interactive React Flow canvas for building complex AI conversation trees Multi-Model AI Integration: Support for Groq's cutting-edge models (Llama 3.3 70B, Mixtral 8x7B, Gemma 7B) Decentralized Storage: IPFS + Lighthouse.storage for permanent, tamper-proof data hosting PYUSD Marketplace: Trade research NFTs using PayPal's stablecoin on Ethereum Sepolia š§ Key Features: Visual Conversation Builder: Drag-and-drop interface for creating branching AI conversations Real-time Collaboration: See who's online and collaborate on research projects Smart Contract Integration: ERC-721 NFTs with EIP-2981 royalty support Analytics Dashboard: Track sales, trends, and trading partners with interactive charts Profile System: Customizable user profiles with transaction history and social links Fork & Remix: Select any text in conversations to create new research branches šØ User Experience: Users start by connecting their Web3 wallet, then create conversation nodes using Groq's AI models. They can build complex research trees, save projects to IPFS, mint them as NFTs, and list them for sale. Buyers can browse the marketplace, purchase research NFTs with PYUSD, and access the full conversation data and metadata. š” Problem Solved: Current AI research is siloed and not monetizable. Researchers can't easily share, trade, or build upon each other's AI conversations. GroqFlow Canvas creates a decentralized marketplace where AI research becomes a tradeable asset, enabling knowledge sharing and monetization in the AI space.
šļø Architecture Overview: Anusandhan is a full-stack decentralized application combining modern web technologies with blockchain infrastructure. The architecture follows a microservices pattern with clear separation between frontend, backend, blockchain, and storage layers. š„ļø Frontend Stack: React 18 + TypeScript: Modern component-based architecture with type safety React Flow: Custom node-based conversation editor with drag-and-drop functionality TailwindCSS + Shadcn UI: Beautiful, responsive design system with 40+ pre-built components Ethers.js v6: Web3 integration for wallet connection and smart contract interaction React Router: Client-side routing with protected routes Recharts: Interactive data visualizations for analytics dashboard React Hook Form + Zod: Form validation and state management ā” Backend Infrastructure: Supabase: PostgreSQL database with Row Level Security (RLS) policies Edge Functions: Serverless TypeScript functions for API endpoints Real-time Subscriptions: Live updates for collaboration and analytics Database Schema: 6 optimized tables (projects, nft_listings, transactions, user_profiles, project_snapshots) āļø Blockchain Integration: Smart Contracts: Two Solidity contracts deployed on Ethereum Sepolia ResearchNFT.sol: ERC-721 with EIP-2981 royalty support, anti-duplicate minting ResearchMarketplace.sol: PYUSD-based trading with reentrancy protection OpenZeppelin: Battle-tested security standards and libraries Hardhat: Development environment with deployment scripts and verification PYUSD Integration: PayPal's stablecoin for seamless payments šļø Decentralized Storage: IPFS: Content-addressed storage for conversation data and metadata Lighthouse.storage: Reliable IPFS pinning service with API integration Metadata Standards: ERC-721 compliant JSON metadata with project details š¤ AI Integration: Groq API: Multiple model support (Llama 3.3 70B, Llama 3.1 8B, Mixtral 8x7B, Gemma 7B) Model Configuration: Dynamic model switching with performance optimization Conversation Serialization: Full graph export to IPFS for NFT minting š§ Technical Highlights: Hacky Solutions: Conversation Forking: Implemented text selection detection with precise positioning for the fork button, using getBoundingClientRect() and custom CSS transforms Real-time Analytics: Built custom Supabase RLS policies to filter analytics by wallet address, enabling user-specific data without exposing other users' information NFT Approval Optimization: Used setApprovalForAll() instead of individual approvals to reduce gas costs and improve UX Canvas Zoom Handling: Solved React Flow zoom/pan issues by using viewport-relative positioning for UI overlays Partner Technology Benefits: Groq: Ultra-fast inference (100+ tokens/sec) enables real-time conversation building Supabase: Real-time subscriptions provide instant collaboration features Lighthouse: Reliable IPFS pinning ensures data permanence for NFT metadata OpenZeppelin: Security-first approach with battle-tested smart contract patterns š Deployment & DevOps: Environment Management: Comprehensive .env setup for multi-network deployment Contract Verification: Automated Etherscan verification for transparency Database Migrations: Version-controlled schema changes with Supabase CLI Error Handling: Comprehensive error boundaries and user feedback systems š Performance Optimizations: Lazy Loading: Code splitting for analytics and marketplace components Memoization: React.memo and useMemo for expensive calculations Database Indexing: Optimized queries with proper indexing strategies Caching: Supabase query caching and React Query for API responses The entire system is designed for scalability, security, and user experience, creating a seamless bridge between AI research and blockchain technology.

