🏆 WCHL 2025 Hackathon Project
Revolutionizing Battery Ownership Through Decentralized Technology
Imagine never worrying about your electric scooter, e-bike, or device running out of power again. ChargeX is the world's first fully decentralized Battery-as-a-Service (BaaS) platform that transforms how we think about battery ownership and energy sharing.
Built entirely on the Internet Computer Protocol (ICP), ChargeX combines IoT hardware, on-chain AI, and blockchain technology to create a transparent, secure, and efficient peer-to-peer battery ecosystem.
- Limited Battery Access: No easy way to rent charged batteries when needed
- Centralized Control: Big tech controls your battery data and services
- Energy Waste: Unused battery power can't be easily shared or monetized
- Maintenance Guesswork: Difficult to predict battery health and lifespan
- 🔋 Flexible Battery Leasing: Rent charged batteries anywhere, anytime
- ⚡ P2P Energy Trading: Sell your excess battery power directly to others
- 🤖 AI-Powered Insights: Smart predictions for battery health and maintenance
- 🔐 True Decentralization: You own your data, not big corporations
|
Complete decentralization with frontend, backend, and data storage all on ICP |
On-chain AI models for predictive maintenance and battery optimization |
Seamless ckBTC integration for P2P energy trading and payments |
Physical batteries tokenized as ICRC-7 NFTs with real-world utility |
ICP-ChargeX/
├── main-website/ # Marketing & Landing Page
├── application/ # Core BaaS Platform
├── hardware/ # IoT Hardware Components
├── shared/ # Shared Libraries & Utils
├── docs/ # Documentation & Diagrams
├── deployment/ # Deployment Configurations
└── scripts/ # Build & Utility Scripts
| 🔋 Battery Leasing | 🔄 Energy Trading | 🤖 AI Analytics | 📍 Real-time Tracking |
|---|---|---|---|
| Tokenized rentals via ICRC-7 NFTs | P2P energy marketplace | Predictive maintenance | GPS location monitoring |
| 🔐 Identity | 💰 Multi-token | 📱 Mobile Ready ( PWA ) | 🌐 Fully Decentralized |
| Internet Identity integration | ckBTC & ICRC tokens | Cross-platform support | No single point of failure |
- ESP32: Battery monitoring & telemetry
- Raspberry Pi: Kiosk interface & battery disbursement
- BMS: Battery Management System
- Frontend: React.js (served from ICP)
- Backend: Multiple ICP Canisters
- Blockchain: Internet Computer Protocol (ICP)
- Tokens: ICRC-7 (NFTs), ckBTC, ICRC-1/ICRC-2
# Install Node.js 18+
node --version # Should be 18+
# Install DFX SDK
sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"
# Install Rust for canister development
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Arduino IDE for hardware (optional)
# Download from: https://www.arduino.cc/en/software# Clone the repository
git clone https://github.com/Tomeku-Development/ICP-ChargeX.git
cd ICP-ChargeX
# Install all dependencies
npm run setup
# Start local ICP replica
dfx start --background
# Deploy all canisters
dfx deploy
# Start the frontend
npm run dev- Open http://localhost:3000
- Login with Internet Identity
- Explore the battery leasing interface
- Test P2P energy trading features
graph TB
subgraph "🖥️ Frontend Layer"
UI[React.js App]
Kiosk[Pi Kiosk]
end
subgraph "🌐 ICP Blockchain"
LTC[Leasing & Trading]
TDC[Telemetry Data]
AIC[AI Inference]
UPC[User Profiles]
NAC[Notifications]
end
subgraph "🔧 Hardware Layer"
ESP32[ESP32 Monitor]
BMS[Battery System]
end
UI --> LTC
ESP32 --> TDC
TDC --> AIC
AIC --> NAC
classDef frontend fill:#61dafb,stroke:#21759b,color:#000
classDef icp fill:#29abe2,stroke:#1d7fa5,color:#fff
classDef hardware fill:#ff6b35,stroke:#cc5529,color:#fff
class UI,Kiosk frontend
class LTC,TDC,AIC,UPC,NAC icp
class ESP32,BMS hardware
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For support, email support@chargex.io or join our Discord.
Built with ❤️ on Internet Computer Protocol