Megawatt Finance
Demo Video
Project Information
At a Glance
Megawatt is an infrastructure finance protocol that deploys stablecoin capital into battery storage systems to generate real-world yield.
Description
We raise capital from liquidity providers through our platform and use it to construct real-world battery energy storage systems (BESS).
These assets generate revenue by filling inefficiencies in electricity markets through energy price arbitrage and grid balancing services. The yield produced is then returned to liquidity providers onchain in stablecoins.
How it works:
- Phase - Capital Liquidity providers deposit stablecoins into the platform, creating a pool of deployable capital.
- Phase - Infrastructure Deployment This capital is used to finance and construct battery energy storage systems in Southeastern Europe.
Phase3
A. Energy Arbitrage The batteries are charged during periods of low electricity demand (typically overnight when prices are low) and discharged during peak demand periods when prices are higher.
B . Phase Grid Balancing Services A portion of the battery capacity is allocated to grid stabilization. Due to grid overcapacity in parts of Southeastern Europe, electricity frequency imbalances are common. Our systems help stabilize the grid by providing balancing services, generating additional revenue while supporting local energy infrastructure. Onchain Yield Distribution
- Phase Revenue generated from these activities is converted into stablecoins and distributed back to liquidity providers onchain.
Our mission is simple: capture wasted energy, reduce emissions, and make energy grids more stable.
Technical Details
Megawatt is built on the XRPL EVM Sidechain using 7 Solidity contracts (0.8.24), a Circom 2.1 / Groth16 ZK proof system, and a Next.js 15 frontend.
A Python simulator models a real 3.2 MW BESS facility, posting live telemetry (revenue, SoC, health) on-chain every 10 seconds. Every 5 ticks, a zero-knowledge proof is generated proving that the yield distribution amount is mathematically derived from on-chain revenue. The proof is verified on-chain by a Groth16 verifier before minting and distributing RLUSD yield to depositors.
Deposits are gated at the contract level via a CredentialOracle that mirrors XRPL's native credential system (XLS-70), enforcing KYC/MiCA compliance at the protocol layer.
Stack: Solidity · Circom 2.1 · snarkjs · Foundry · OpenZeppelin · Next.js 15 · ethers.js v6 · Python 3
Team
3Jan Jagodnik
Alexander Petek
Mark Golob
Hackathon
HACK THE BLOCK 2026 Paris Blockchain Week XRPL Hackathon
Duration
Apr 11, 6:30 AM - Apr 12, 6:00 PM
Prizes Won
1Prizes Won
1 prize awarded