Skip to content

โšก ChargeX: World's first fully decentralized Battery-as-a-Service platform on ICP | Rent batteries, trade energy P2P, AI-powered maintenance | WCHL 2025 ๐Ÿ†

License

Notifications You must be signed in to change notification settings

Tomeku-Development/ICP-ChargeX2

Repository files navigation

โšก ChargeX: Decentralized Battery-as-a-Service Platform

ICP Rust React License: MIT

๐Ÿ† WCHL 2025 Hackathon Project

Revolutionizing Battery Ownership Through Decentralized Technology

๐Ÿš€ Live Demo โ€ข ๐Ÿ“– Documentation โ€ข ๐ŸŽฏ Roadmap โ€ข ๐Ÿ’ฌ Community


๐ŸŒŸ What is ChargeX?

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.

๐ŸŽฏ The Problem We Solve

  • 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

โœจ Our Solution

  • ๐Ÿ”‹ 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

๐Ÿ† WCHL 2025 Track Alignment

๐ŸŒ Fully On-Chain

Complete decentralization with frontend, backend, and data storage all on ICP

๐Ÿค– DeAI

On-chain AI models for predictive maintenance and battery optimization

โ‚ฟ Bitcoin DeFi

Seamless ckBTC integration for P2P energy trading and payments

๐Ÿญ RWA

Physical batteries tokenized as ICRC-7 NFTs with real-world utility

๐Ÿ—๏ธ Project Structure

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

โšก Key Features

๐Ÿ”‹ 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

๐Ÿ› ๏ธ Technology Stack

Hardware

  • ESP32: Battery monitoring & telemetry
  • Raspberry Pi: Kiosk interface & battery disbursement
  • BMS: Battery Management System

Software

  • Frontend: React.js (served from ICP)
  • Backend: Multiple ICP Canisters
  • Blockchain: Internet Computer Protocol (ICP)
  • Tokens: ICRC-7 (NFTs), ckBTC, ICRC-1/ICRC-2

๐Ÿš€ Quick Start

๐Ÿ“‹ Prerequisites

# 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

โšก Installation

# 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

๐ŸŽฎ Try the Demo

  1. Open http://localhost:3000
  2. Login with Internet Identity
  3. Explore the battery leasing interface
  4. Test P2P energy trading features

๐Ÿ“Š Architecture Overview

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
Loading

๐Ÿ“– View Detailed Architecture โ€ข ๐Ÿ”„ User Flow Diagrams

๐Ÿ‘ฅ Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ”— Links

๐Ÿ“ž Support

For support, email [email protected] or join our Discord.


Built with โค๏ธ on Internet Computer Protocol

About

โšก ChargeX: World's first fully decentralized Battery-as-a-Service platform on ICP | Rent batteries, trade energy P2P, AI-powered maintenance | WCHL 2025 ๐Ÿ†

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published