- Approvals, Metadata, Enumeration extensions
- Transfers
- Resolvers & Receivers
- Unit & Integration Tests
- Burn Functionality
This project was developed as part of DevsHouse'24 Hackathon, where it secured 4th place. The hackathon challenged participants to build solutions that enhance transparency and trust in decentralized ecosystems. GreenLedger addresses this challenge by providing a Cryptography-based Energy Attribute Certificate (EAC) marketplace, ensuring secure, verifiable, and automated renewable energy tracking and trading.
With increasing global emphasis on sustainable energy, businesses need a trustworthy and transparent system for tracking, selling, and redeeming Energy Attribute Certificates (EACs). Traditional systems suffer from inefficiencies, lack of automation, and reliance on centralized authorities. This project leverages Cryptography and IoT to create a secure, decentralized EAC marketplace, ensuring data integrity and seamless energy trading.
- Registers renewable energy companies and allows them to issue I-REC certificates (NFT NEP-171) based on energy generation.
- Integrates IoT-based tracking with Fiware Context Broker & Spark Service for real-time, automated energy verification.
- Enables decentralized trading of I-REC certificates through an order book-style exchange using NEAR Protocol smart contracts.
- Lays groundwork for future expansion, including multi-token standards (ERC-1155, ERC-1888) and decentralized identities (DIDs) for automated certification.
- Node.js v16.14.0
- PostgreSQL 12+
Create a database with the name near_eac and set the user/password as postgres/postgres.
npm installCopy the example environment file and configure the necessary fields:
cp .env.example .env npm run build
npm run start:prodnpm run start:debugThe API will be available on port 3030.

