ChitX is a modern, AI-governed decentralized chit fund platform that enables transparent, peer-to-peer saving and borrowing. By leveraging AI for trust scoring and payout prioritization, ChitX eliminates the need for middleman commissions while ensuring fair and efficient fund allocation.
ChitX consists of four main components:
- Frontend: A premium React dashboard built with Vite and TailwindCSS for user interaction.
- Backend: An Express.js server managing users, pools, transactions, and on-chain interactions.
- AI Oracle: A FastAPI service powered by Groq and ML models that calculates trust scores and provides financial insights.
- AI Models Server: A specialized Flask server for handling deep-dive simulations and risk assessments.
Before running the project, ensure you have the following installed:
git clone https://github.com/JayThakare05/ChitX-.git
cd ChitX-You will need to create .env files in three directories. Refer to the .env.sample files in each folder.
- Backend: Update
backend/.envwith your Mongo URI and Polygon RPC details. - AI Service: Update
ai_service/.envwith your Groq API Key. - Frontend: Optional, but recommended for custom API endpoints.
To run the complete ChitX ecosystem, you will need four separate terminals:
cd backend
npm install
npm startRuns on: http://localhost:5000
cd frontend
npm install
npm run devRuns on: http://localhost:5173
cd ai_service
pip install -r req.txt
python app.pyRuns on: http://localhost:8000
cd ai_service/models/all_models
python server.pyRuns on: http://localhost:5050
- AI Trust Score: Automated bank statement parsing and trust scoring for on-chain collateral allocation.
- Dynamic Pool Bifurcation: AI-driven grouping of users based on priority and risk profiles.
- Emergency Fund: Fast-track AI verification of medical/emergency documents for immediate payouts.
- Global Chatbot: Context-aware financial Oracle to help you manage your chit fund strategy.
- On-Chain Settlements: Transparent payouts and contributions via the Polygon Amoy Testnet.
/frontend: React/Vite/Tailwind source code./backend: Node.js/Express server and MongoDB models./ai_service: FastAPI AI Oracle and document verification logic./contracts: Solidity smart contracts for the CTX token and Treasury./ai_service/models: Trained ML models and simulation logic.
© 2026 ChitX Protocol. Built for a more equitable financial future.