Deployed on: π webss-ashy.vercel.app
This project leverages blockchain technology integrated with real-time data processors like IoT devices to create a platform for carbon credit and electricity trading. By utilizing privacy-preserving technologies like zk-SNARKs, the platform ensures transparent transactions while maintaining user privacy. The system facilitates secure, traceable, and privacy-preserving trading to promote sustainability and efficient energy markets.
The project addresses three key challenges in the energy sector:
- π Energy Security
- β Energy Equity
- π± Environmental Sustainability
- Enable transparent smart grid systems with direct prosumer participation.
- Automate carbon credit trading with real-time verification.
- Implement privacy-preserving mechanisms using zk-SNARKs.
- Integrate IoT devices and smart meters to track energy consumption.
- Ensure scalability for both small-scale and large energy producers.
- System Architecture showcasing blockchain-based trading.
- Smart Contracts and IoT integration modules.
- ZK-SNARK circuits for privacy protection.
- Peer-to-Peer Energy Trading Demonstration.
- Complete Source Code for deployment.
- Blockchain ensures secure and transparent transactions.
- Smart contracts automate peer-to-peer trading.
- zk-SNARKs protect sensitive user data.
- IoT integration tracks and validates trades in real-time.
- Decentralized storage ensures secure and immutable records.
- Focus on energy equity and market efficiency by reducing intermediaries.
- TypeScript
- React
- Tailwind CSS
- Vite
- Solidity
- Remix
- zk-SNARKs
- IPFS
- Pinata
- Alchemy
- Node.js
- npm
- Git
- ESLint
- TypeScript Config (tsconfig)
- PostCSS
Follow these steps to deploy the project on your local machine:
git clone https://github.com/musk1n/webss
Navigate to the project directory and install required modules:
cd webss
npm install
Start the development server:
npm run dev
You can view the Demo video on Google Drive by clicking the link below:
This application is currently running with mock data and real-time updates to simulate the full integration process. The actual IoT integration will follow the structured workflow detailed below.
- IoT devices and smart meters continuously monitor and collect data.
- This data is formatted and saved into a JSON file.
- The JSON file is uploaded to the InterPlanetary File System (IPFS).
- A unique Content Identifier (CID) or hash is generated after successful storage.
- The generated CID is stored on the blockchain.
- We utilize Alchemy to handle blockchain transactions and storage operations.
To retrieve and access the data:
- Fetch the CID: Retrieve the hash stored on the blockchain.
- Retrieve Data: Use the CID to fetch the actual JSON data file from **IPFS.
Component | Description |
---|---|
π IoT Devices & Smart Meters | Real-time data sources that collect and monitor system metrics. |
π¦ IPFS (InterPlanetary File System) | Decentralized, peer-to-peer storage system for large-scale data. |
π Blockchain | Immutable ledger for securely storing IPFS CIDs (hashes). |
β‘ Alchemy | Blockchain infrastructure provider for managing transactions. |