StreamPay
Payment Streaming Protocol
Created on 21st February 2026
•
StreamPay
Payment Streaming Protocol
The problem StreamPay solves
Electricity payments today are slow, opaque, and locked into legacy billing cycles - you pay weeks after you've already consumed the power. For energy providers, this means cash flow risk and reconciliation headaches. For consumers, there's no transparency into what they're paying or when.
StreamPay brings electricity payments on-chain with real-time, automated settlement using cross-chain infrastructure:
- Consumers fund a payment stream with ETH (via Uniswap on Base), which is automatically converted to HBAR and deposited into a self-executing Hedera payment stream
- Payments settle automatically on a recurring schedule using the Hedera Schedule Service - no manual intervention, no missed payments
- Energy providers receive tokenized receivables on the ADI chain the moment a consumer stops streaming funds, enabling on-chain factoring
This makes electricity payments faster, more transparent, and programmable, turning a monthly bill into a continuous, auditable, cross-chain money stream.
Challenges we ran into
Cross-chain token bridging
There's no direct path to swap EVM tokens (like USDC on Base) into native HBAR on Hedera. To work around this, we demonstrated the full Uniswap Trading API swap flow with ERC-20 tokens on Sepolia, then built a relay service that listens for successful swaps and bridges the equivalent value to Hedera, converting the USDC amount to HBAR and calling topUpDeposit() on our Hedera payment stream contract. This let us showcase both the Uniswap API integration and the Hedera payment stream end-to-end, connected by a lightweight off-chain relay.
Use of AI tools and agents
AI was used throughout the development process as a pair programmer and ops assistant:
- Code generation & debugging: Claude helped write and iterate on the Solidity smart contracts, the TypeScript relay services, and the React/Vite frontends
- Cross-chain architecture design: We used Claude to reason through the relay design - how to safely bridge a Base swap event to a Hedera contract call, and then propagate settlement events to ADI
Tracks Applied (4)
New France Village
On-Chain Automation with Hedera Schedule Service
Hedera
Open Project Submission
ADI Foundation
Integrate the Uniswap API in your platform
Uniswap Foundation
Technologies used