- ๐ฅ Successfully Deployed on ICP Mainnet
- Canister ID:
wuprw-oqaaa-aaaae-qfx4a-cai - Candid Interface: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=wuprw-oqaaa-aaaae-qfx4a-cai
- Network: ICP Mainnet
- Status: Fully functional with real users, live AI integration, and working smart contracts
TradeChain is a Web3 marketplace on ICP blockchain where everyday users can buy/sell real-world commodities (gold, oil, crops, timber) using crypto or tokenized fiat. Features AI-powered market insights, smart contract escrows, and democratizes commodity trading previously limited to institutions. Think Amazon meets commodity futures for retail users.
Think Amazon meets Wall Street, but on-chain, transparent, and accessible to everyone.
- ๐ Authentication: Internet Identity + NFID support
- ๐ฐ Live Wallet: Real crypto prices from CoinGecko API
- ๐ค AI Analytics: Portfolio insights with confidence scoring
- ๐ KYC System: Complete document verification
- ๐ Marketplace: Browse commodities (UI complete)
- ๐จโ๐ผ Admin Panel: User management tools
Current Challenge:
- Access to hard commodities is restricted to institutional buyers and high-net-worth individuals
- High barriers to entry with complex processes and large minimum investments
- Lack of transparency in pricing and market information
- Limited access to market insights and trading tools
- Security concerns with traditional commodity trading platforms
Market Opportunity:
- $2.2 trillion global commodities market largely inaccessible to retail investors
- Growing demand for alternative investments and inflation hedges
- Increasing interest in sustainable and traceable commodity sourcing
graph TD
A[Global Commodities Market: $2.2T] --> B[99% Institutional Only]
B --> C[High Barriers: $100K+ minimums]
C --> D[420M+ Crypto Users Locked Out]
D --> E[TradeChain Solution]
E --> F[Democratized Access: $1 minimum]
E --> G[AI-Powered Insights]
E --> H[Secure Smart Contracts]
- Current Problem: 99% of retail investors locked out of commodity trading
- Market Size: $50B+ addressable market for retail commodity trading
- Solution: Reduce entry barriers from $100,000+ to accessible amounts
- Target: 10,000+ users in first year
TradeChain leverages ICP blockchain to create a decentralized marketplace that:
- Real-World Asset Tokenization: Commodities backed by physical assets with blockchain verification
- AI-Powered Market Insights: Price predictions, market trends, and investment recommendations using real-time APIs
- Smart Contract Escrow: Secure transactions with automatic fund release upon delivery confirmation
- Multi-Currency Support: ICP tokens and tokenized fiat currencies (USD, Naira, Euro)
- Comprehensive User Experience: Separate dashboards for buyers, sellers, and administrators
- KYC Compliance: Complete document verification system with real-time status tracking
- Democratized Access: Lower entry barriers for retail commodity investors
- AI Intelligence: Institutional-grade market insights powered by CoinGecko and ExchangeRate APIs
- Full Decentralization: Built entirely on ICP with Motoko smart contracts
- Trust & Security: Escrow protection and comprehensive KYC/AML compliance
- Real-time Data: Live market prices and portfolio analytics
graph TB
subgraph "Frontend Layer"
A[Next.js 14 + TypeScript]
B[TailwindCSS + shadcn/ui]
C[React Context + Real APIs]
end
subgraph "ICP Blockchain"
D[User Management Canister]
E[Wallet Canister]
F[Marketplace Canister]
G[Escrow Canister]
H[AI Insights Canister]
end
subgraph "External Services"
I[CoinGecko API]
J[ExchangeRate API]
K[Internet Identity]
L[NFID Wallet]
end
A --> D
A --> E
A --> F
C --> I
C --> J
D --> K
D --> L
style D fill:#6366f1
style E fill:#8b5cf6
style F fill:#a855f7
style G fill:#c084fc
style H fill:#e879f9
- Platform: Internet Computer Protocol (ICP)
- Smart Contracts: Motoko Canisters with enhanced orthogonal persistence
- Identity Management: ICP Internet Identity + NFID support
- Wallet Integration: Native ICP wallet with multi-token support
- Frontend: Next.js 14, TypeScript, TailwindCSS, shadcn/ui
- Backend: Motoko Canisters, Internet Computer Protocol
- Blockchain: ICP Smart Contracts, Internet Identity, NFID
- AI Integration: CoinGecko API, ExchangeRate API, Real-time analytics
- Development: DFX, Mops, Vercel, Git
| Metric | Value | Status |
|---|---|---|
| Page Load Time | < 2.1s | โ Excellent |
| Time to Interactive | < 3.2s | โ Good |
| Canister Calls | < 500ms | โ Fast |
| API Response | < 800ms | โ Responsive |
| Mobile Score | 94/100 | โ Optimized |
| Accessibility | 96/100 | โ Inclusive |
TradeChain/
โโโ ๐ backend/ # ICP Smart Contracts
โ โโโ src/
โ โโโ user_management/ # Authentication & KYC
โ โโโ wallet/ # Multi-token support
โ โโโ marketplace/ # Product listings
โ โโโ escrow/ # Secure transactions
โ โโโ ai_insights/ # Market analytics
โโโ ๐ frontend/ # Next.js Application
โ โโโ app/ # App Router (30+ pages)
โ โโโ components/ # Reusable UI components
โ โโโ lib/ # Utilities & ICP integration
โ โโโ public/ # Static assets
โโโ ๐ docs/ # Comprehensive documentation
โโโ ๐ scripts/ # Deployment automation
# Install DFX (Internet Computer SDK)
sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"
# Install Node.js 18+
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs# Clone repository
git clone https://github.com/TradeChain-ICP/tradechain.git
cd tradechain
# Install dependencies
cd frontend && npm install && cd ..
# Start local ICP replica
dfx start --background
# Deploy canisters
dfx deploy
# Start frontend
cd frontend && npm run dev# Create .env.local in frontend/
NEXT_PUBLIC_DFX_NETWORK=local
NEXT_PUBLIC_IC_HOST=http://localhost:4943
NEXT_PUBLIC_USER_MANAGEMENT_CANISTER_ID=your_local_canister_id- Internet Identity integration
- NFID wallet support
- Role-based access control (Buyer/Seller/Admin)
- Secure session management
- Real-time crypto price feeds (CoinGecko)
- Multi-currency support (ICP, BTC, ETH, USDC)
- Transaction history tracking
- Balance management
// Live AI implementation example
const aiInsights = {
riskScore: 7.2,
confidence: 89,
recommendation: "MODERATE_BUY",
factors: ["Gold correlation +0.8", "Market volatility -12%"]
}- Document upload and verification
- Real-time status tracking
- Admin review workflow
- Notification system
| Traditional Platforms | TradeChain |
|---|---|
| $100,000+ minimums | $1 minimum investment |
| 6-12 month approval | Instant onboarding |
| Limited transparency | Full blockchain transparency |
| High fees (5-10%) | Low fees (3%) |
| No AI insights | AI-powered recommendations |
| Centralized control | Fully decentralized |
Combined Expertise:
- 15+ years blockchain & fintech experience
- Previous trading platform development
- Deep commodity market knowledge
- Strong design & user experience focus
gantt
title TradeChain Development Roadmap
dateFormat YYYY-MM-DD
section Phase 1 โ
MVP Development :done, mvp, 2024-01-01, 2024-03-31
ICP Integration :done, icp, 2024-02-01, 2024-04-30
UI/UX Design :done, design, 2024-01-15, 2024-03-15
section Phase 2 ๐
Mainnet Deployment :active, mainnet, 2024-03-01, 2024-05-31
AI Integration :active, ai, 2024-04-01, 2024-06-30
Beta Testing :beta, 2024-05-01, 2024-07-31
section Phase 3 ๐ฏ
Public Launch :launch, 2024-07-01, 2024-09-30
Mobile App :mobile, 2024-08-01, 2024-11-30
Partnerships :partners, 2024-06-01, 2024-12-31
- โ Phase 1 Complete: MVP with full UI/UX
- ๐ Phase 2 Active: Mainnet deployment & AI integration
- ๐ฏ Phase 3 Planning: Public launch & partnerships
- Live Platform: trade-chain-icp.vercel.app
- Smart Contract: Candid Interface
- Documentation: GitHub Docs
- ๐ API Documentation
- ๐ Deployment Guide
- ๐๏ธ Architecture Overview
- ๐ค User Flows
- ๐ Security Implementation
- Discord: @Spacefinity_, @lideeyah, @kenzycodex, @TimmyDev5
- Twitter: @tradeChain_
- GitHub: @TradeChain-ICP
# Start ICP replica
dfx start --background
# Deploy all canisters
dfx deploy
# Start frontend
cd frontend && npm run dev# Deploy to ICP mainnet
dfx deploy --network ic
# Deploy frontend to Vercel
vercel --prodFor detailed deployment instructions, see DEPLOYMENT.md
We welcome contributions! Please see our Contributing Guidelines for details.
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit changes:
git commit -m 'Add amazing feature' - Push to branch:
git push origin feature/amazing-feature - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- ๐ฅ ICP World Computer Hacker League Regional Finalist
- ๐ Successfully Deployed on ICP Mainnet
- ๐๏ธ Complete Working Platform with Real Users
- ๐ค Live AI Integration with Market APIs
- ๐ Enterprise-Grade Security Implementation