Zap Network
The Zap Network is a decentralized market for electricity trading. Users can leverage the Zap network to get the best electricity prices.
Screenshots



Problem Statement
This project attempts to create a decentralized market where electricity can be sold and bought in real-time. Each household electricity meter connects to the blockchain to reflect on-chain the current consumption and production of the meter. Conversely, each household client leverages the blockchain to trade in real-time for the best electricity prices using some strategy. The market is possible thanks to the Zap token and associated liquidity pools. The Zap token reflects on-chain each household energy credit. Electricity producers have an excess of Zap while consumers have a deficit of Zap.
Solution
As proof of concept, we have deployed an ERC20 token and associated liquidity pool on Polygon Mumbai Testnet. We have built an electricity meter simulator that burns or mints Zap tokens accordingly to the net consumption or production of electricity, respectively. We have also built a proof-of-concept bot that monitors the Zap balance of the household and buys Zap on the market when necessary. Both the meter and bot simulator where built-in go using go-ethereum. Both interact with the Polygon RPC node. To tie everything together we have built a dApp that presents all this data to the household client. The dApp interacts both with the Polygon RPC node (for balances) and The Graph sub-graph (for purchase/selling history of Zap). The dApp is accessed via Metamask integration.
Hackathon
ETHGlobal Lisbon
2024
Prizes
- 🏆
🏊 The Graph — Pool Prize
- 🏆
🏊 Scroll — Deploy a Smart Contract
Contributors
- goncalonsp
21 contributions
- git-ari
15 contributions
- Anarkythera
15 contributions
- joaoSantosJorge
3 contributions