BlocX is a decentralized blockchain-powered social media platform that combines Web3 technologies, AI moderation, smart contracts, decentralized storage, and governance voting into a modern social networking ecosystem.
The project aims to address common issues in traditional social media platforms such as:
- Centralized control
- Privacy concerns
- Data manipulation
- Fake accounts
- Lack of transparency
- Content ownership problems
BlocX integrates blockchain technology with AI-powered moderation and decentralized governance to create a secure and transparent platform for users.
- MetaMask wallet-based authentication
- Secure cryptographic signature verification
- Wallet connect/disconnect support
- User profile management
- Create, edit, and delete posts
- View personalized feed
- Like, comment, and share posts
- Multimedia content support
- Media files stored using IPFS
- Blockchain stores immutable IPFS hashes
- Decentralized ownership tracking
- Smart contract-based transaction recording
- Immutable blockchain records
- Transparent activity tracking
- Ownership verification
- AI-based content moderation
- Spam and harmful content detection
- Fake account detection
- Personalized recommendation system
- DAO-style governance voting
- Community proposal management
- Transparent vote tracking
- Blockchain-inspired voting logic
- Token reward distribution
- Engagement-based incentives
- Blockchain reward transactions
- React.js
- Next.js
- Tailwind CSS
- Node.js
- Express.js
- Solidity
- Ethereum / Polygon
- Ethers.js
- IPFS
- TensorFlow
- PyTorch
- MetaMask
User
↓
Frontend (React / Next.js)
↓
Backend APIs (Node.js / Express)
↓
Blockchain Smart Contracts
↓
IPFS Storage + AI Moderation System
Users authenticate securely using MetaMask instead of traditional username/password systems.
Users can:
- Create posts
- Upload media
- Interact with content
- Manage posts
AI models analyze content to:
- Detect spam
- Filter harmful posts
- Identify fake accounts
- Improve platform quality
Smart contracts handle:
- Transaction recording
- Token rewards
- Governance voting
- Ownership tracking
Users participate in decentralized governance through proposal voting mechanisms inspired by DAO systems.
blocX/
│
├── frontend/ # React / Next.js frontend
├── backend/ # Node.js backend
├── smart-contracts/ # Solidity smart contracts
├── ai-module/ # AI moderation & recommendation
├── ipfs/ # IPFS integration
├── docs/ # SRS, DDS, UML diagrams
└── README.md
git clone https://github.com/hashirR786/blocX.gitcd blocXcd frontend
npm installcd backend
npm installnpm run devnpm start- Install MetaMask Extension
- Create Wallet
- Connect to Sepolia/Polygon Testnet
- Get Test ETH from Faucet
- Connect wallet to application
The project includes:
- Use Case Diagram
- Activity Diagram
- Level-0 DFD
- Level-1 DFD
- Level-2 DFD
- Class Diagram
- SRS Document
- DDS Document
- Functional Testing
- Monkey Testing
- UI Testing
- Blockchain Transaction Testing
- AI Moderation Testing
Random and harmful inputs were provided during post creation to test the robustness of the AI moderation system and ensure application stability.
- Cross-Chain Support
- Advanced Recommendation Engine
- Token Marketplace
- Muhammad Rashid R
- Muhammad Hashir R
- Nirranjan Naarayan M R
- Ethereum Documentation
- Polygon Documentation
- MetaMask Documentation
- Solidity Documentation
- IPFS Documentation
- React.js Documentation
- TensorFlow Documentation
This project is developed for academic and educational purposes.