๐ WCHL 2025 Hackathon Project
Revolutionizing Battery Ownership Through Decentralized Technology
๐ Live Demo โข ๐ Documentation โข ๐ฏ Roadmap โข ๐ฌ Community
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 [email protected] or join our Discord.
Built with โค๏ธ on Internet Computer Protocol