Skip to content

DogukanGun/CarbonMapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

CarbonMapper 🌍

Decentralized Environmental Data Collection & Blockchain Integration

CarbonMapper is an innovative mobile application that revolutionizes environmental monitoring by combining smartphone sensor technology with blockchain infrastructure. Our platform enables users to collect real-world environmental data and securely store it on the Hedera blockchain network.

🎯 Project Vision

In an era where environmental data is crucial for climate action and scientific research, CarbonMapper democratizes data collection by turning every smartphone into an environmental monitoring station. We believe that by empowering individuals to contribute to environmental datasets, we can build a more comprehensive understanding of our planet's health.

✨ Key Features

📱 Mobile Data Collection

  • Location Tracking: Precise GPS coordinates for data geo-tagging
  • Environmental Sensors: Temperature, humidity, pressure, light, and magnetic field measurements
  • Real-time Monitoring: Live sensor data visualization and collection
  • User-friendly Interface: Intuitive step-by-step measurement process

🔗 Blockchain Integration

  • Hedera Network: Built on Hedera Hashgraph for fast, secure transactions
  • MetaMask Integration: Seamless wallet connectivity for blockchain interactions
  • Data Integrity: Cryptographic signatures ensure data authenticity
  • Smart Contracts: Automated data processing and storage on-chain

🔐 Security & Privacy

  • Digital Signatures: All data is cryptographically signed before submission
  • Wallet Authentication: Secure user identity through blockchain wallets
  • Decentralized Storage: No single point of failure for data storage
  • User Consent: Full control over data sharing and privacy settings

🏗️ Architecture

Mobile Application (Android)

  • Language: Kotlin with Jetpack Compose
  • Architecture: MVVM with Clean Architecture principles
  • DI: Dagger Hilt for dependency injection
  • Navigation: Compose Navigation with type-safe routing
  • Sensors: Android Sensor API for environmental data collection

Blockchain Infrastructure

  • Network: Hedera Testnet (preparing for mainnet)
  • Smart Contracts: Solidity-based contracts for data management
  • Wallet Integration: MetaMask Android SDK
  • Development: Hardhat framework for contract development and testing

Smart Contract System

DataOracle (Main Contract)
├── CoordinateStorage (Location Data)
├── UserContract (Individual User Data)
└── Sensor Data Management

📊 How It Works

Data Collection Flow

  1. Location Capture: App requests GPS coordinates with user permission
  2. Sensor Reading: Collects environmental data from device sensors
  3. Data Signing: User signs data with their blockchain wallet
  4. Blockchain Submission: Data is submitted to smart contracts
  5. Verification: Transaction confirmed and data stored permanently

User Journey

Launch App → Connect Wallet → Start Measurement → 
Collect Location → Read Sensors → Sign Data → 
Submit to Blockchain → View Completion Summary → Return Home

🌐 Blockchain Deployment

Smart Contract Addresses (Hedera Testnet)

  • CoordinateStorage: 0x0000000000000000000000000000000000633958
  • DataOracle: 0x00000000000000000000000000000000006339a9

Network Configuration

  • Chain ID: 296 (0x128)
  • Network Name: Hedera Testnet
  • Currency: HBAR
  • RPC URL: Hedera Testnet RPC

🛠️ Technology Stack

Frontend

  • Kotlin: Modern Android development
  • Jetpack Compose: Declarative UI framework
  • Coroutines: Asynchronous programming
  • Hilt: Dependency injection
  • Navigation Compose: Type-safe navigation

Blockchain

  • Hedera Hashgraph: Fast, secure, and sustainable DLT
  • Solidity: Smart contract development
  • Hardhat: Development environment

🎯 Use Cases

Environmental Research

  • Climate change monitoring
  • Air quality assessment
  • Urban heat island studies
  • Citizen science projects

🚧 Development Roadmap

Phase 1: Core Functionality

  • Basic sensor data collection
  • Blockchain integration
  • Wallet connectivity
  • User interface design

Phase 2: Enhanced Features 🔄

  • Historical data visualization
  • Data sharing mechanisms

Phase 3: Scaling 📋

  • Mainnet deployment
  • iOS application
  • API for third-party integrations
  • Enterprise features

Made with ❤️ for a sustainable future

CarbonMapper - Mapping our environmental future, one data point at a time.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published