Greencart is a blockchain-powered platform that facilitates the trading of surplus green energy between sellers and buyers. It enables energy producers to sell excess clean energy, while buyers can securely purchase verified green energy through a transparent and decentralized system. A government agency handles storage and delivery logistics for efficient energy distribution. ๐โก
- ๐ Overview
- โจ Features
- ๐ ๏ธ Technology Stack
- ๐ฆ Installation
- ๐ Usage
- ๐ Site Preview
- ๐ฝ๏ธ PPT for Hackathon
- ๐ค Contributing
- ๐ License
- ๐ฌ Contact
Greencart empowers green energy producers to monetize their surplus energy and supports buyers in directly accessing renewable energy. Every transaction is secured using blockchain technology, ensuring transparency and tamper-proof records. Delivery and physical energy management are overseen by a government agency, maintaining regulatory compliance and trust.
- ๐งพ Seller Platform: Register as an energy producer and list surplus energy for sale.
- ๐ Buyer Platform: Browse listings and purchase available green energy.
- ๐ Blockchain Integration: Secure and immutable transaction records.
- ๐ข Government Agency Integration: Manages logistics for energy storage and delivery.
- ๐๏ธ Data Storage: All data is stored in an SQL database.
- ๐ป User Interface: Built with HTML, CSS, and JavaScript for a clean and intuitive experience.
- ๐ Backend: Python (handles logic, routing, and database ops)
- ๐งฎ Database: MySQL / SQL (for user and transaction data)
- ๐ Blockchain: Ensures secure, traceable transactions
- ๐จ Frontend: HTML, CSS, JavaScript
- ๐ข Government Role: Oversees physical energy logistics and compliance
git clone https://github.com/XaXtric7/GreeenCart.gitcd greencartpython -m ensurepip --upgrade
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
pip --versionUSE project;
SELECT * FROM contributions;
SELECT * FROM purchases;pip install Flask Flask-MySQLdb
pip install mysql-connector-python
pip install flask-cors- Create a new database (e.g.,
project) and configure your credentials inapp.py.
python app.py- ๐งโ๐พ Sellers: Register, list energy, set price.
- ๐งโ๐ผ Buyers: Browse listings, purchase energy.
- ๐ Blockchain: Handles secure transactions.
- ๐๏ธ Delivery: Managed by the government agency post-transaction.
๐ Download Presentation - Tech4Tomorrow_hackathon.pptx
๐ซ Includes morph transitions for smooth visuals.
We welcome all contributions! ๐ ๏ธ
Follow these steps:
- ๐ด Fork this repository
- ๐ฟ Create a new branch (
feature/your-feature-name) - โ Commit your changes
- ๐ Push to your branch
- ๐ Open a Pull Request
Licensed under the MIT License ๐
Feel free to use and modify with attribution.
Got questions or ideas? Reach out to us!
- ๐จโ๐ป Amish Mathur (amishmathur1)
- ๐จโ๐ป Ansh (PikachuGX)
- ๐จโ๐ป Sarthak Dharmik (XaXtric7)
