Skip to content
StreamPay

StreamPay

Realtime Payments Stream

Created on 2nd November 2025

•

StreamPay

StreamPay

Realtime Payments Stream

The problem StreamPay solves

Problems StreamPay Solves

Current payment systems, both traditional and on-chain, are fundamentally inefficient. Most operate on batch schedules weekly, bi-weekly, or monthly, leaving workers, freelancers, and creators with a cash-flow gap between effort and reward. StreamPay eliminates this delay by enabling true per-second money flows, perfectly suited for use cases like work payments, subscriptions, and gaming rewards.

In traditional systems, recipients often lack liquidity and instant access to their earned funds. With StreamPay, this limitation disappears, the recipient’s “Available to Withdraw” balance increases continuously every second. Using the withdrawFromStream function, users can withdraw any portion of their earned amount instantly, ensuring continuous access to real-time earnings.

Many existing streaming protocols also require manual updates or transactions to maintain accuracy. StreamPay introduces StreamKeeper.sol, an automated contract that updates stream balances every second without user intervention, guaranteeing reliable and self-sustaining on-chain automation.

Traditional payment systems and even some Web3 solutions depend on high-trust, rigid agreements. StreamPay replaces this with trustless flexibility through the cancelStream function, allowing either party to end a stream at any time. The contract automatically computes the sender refund and recipient payout, ensuring an instant, transparent, and fair settlement.

Finally, complex on-chain payment setups typically suffer from poor user experience. StreamPay simplifies this with StreamFactory.sol, which offers standardized stream templates for common use cases like work, subscription, and gaming. This one-click deployment approach makes advanced payment logic accessible to everyone, from individuals to organizations.

Together, these solutions transform payments from delayed, trust-heavy transactions into real-time, automated, and programmable financial streams, redefining how money moves in the Ethereum ecosystem.

Challenges we ran into

One major challenge was achieving automated, real-time balance updates on-chain. Since EVM contracts can’t self-execute, creating per-second payments without manual triggers was difficult. We solved this by developing StreamKeeper.sol, an automation contract that periodically updates stream balances. Gas efficiency became an issue, so we optimized state writes and batched updates to keep it cost-effective.

Another hurdle was ensuring the frontend reflected live stream data. We integrated event listeners and off-chain indexing so the user dashboard shows continuously updating balances.

Finally, debugging the cancelStream logic to calculate exact sender refunds and recipient payouts required extensive testing with Hardhat. Overcoming these challenges made StreamPay more reliable, automated, and seamless.

Tracks Applied (1)

Ethereum Track

StreamPay is a decentralized real-time payment streaming platform built on Somnia, an EVM-compatible Layer 1 network. It...Read More
ETHIndia

ETHIndia

Discussion

Builders also viewed

See more projects on Devfolio