Synced Streams

Synced Streams: wallet‑scoped, role‑gated, cross‑chain payroll with auto‑bridging USDC/PYUSD

Synced Streams

Created At

ETHOnline 2025

Winner of

Blockscout

Blockscout - Best Blockscout SDK Integration 2nd place

Project Description

Synced Streams is a secure, wallet-personalized payroll system that enables companies to execute multi-chain payroll with a single click. Companies fund a treasury, onboard workers with their preferred blockchain destinations, and schedule time-locked payroll intents. At release time, funds automatically bridge to workers' chosen chains—USDC via Avail Nexus SDK cross-chain bridging, PYUSD remaining on Sepolia.

The interface features strict role-based access control, displaying only the creator's intents for complete privacy. We leverage Blockscout's Logs API combined with Upstash Redis for fast, reliable schedule indexing without the overhead of custom infrastructure.

How it's Made

Frontend Stack: Next.js 15 + Wagmi + Viem for a modern Web3 UI with seamless wallet integration

Smart Contracts: Solidity 0.8.28 with role-based access control (RBAC) enforced at the contract level for treasury and payroll operations

Data Personalization: Real-time filtering of blockchain events to display only the connected wallet's transactions, fetched via Blockscout SDK and Logs API with intelligent RPC chunking fallback

Cross-Chain Execution: Avail Nexus SDK powers USDC bridging through a clean "bridgeAndExecute" flow, while PYUSD transactions stay native on Sepolia

Performance Layer: Upstash Redis provides resilient caching with instant dashboard updates after transactions via smart refetch flags

Security Features:

  • Authenticated endpoints for role grants using server-held admin keys
  • Hardened event decoding with topics tuple validation
  • Multi-RPC health selection to prevent timeouts
  • Per-wallet schedule filtering using tx.from resolution via Blockscout proxy

🚀 Key Innovations

  • Zero-Infrastructure Indexing: No custom indexer needed—Blockscout SDK + Redis handles everything
  • True Multi-Chain: Single transaction bridges USDC to Base, Arbitrum, or Optimism while keeping PYUSD on Sepolia
  • Privacy-First: Wallet-personalized views with strict RBAC enforcement
  • Real-Time Updates: Instant dashboard refreshes without polling
  • Enterprise-Ready: Time-locked execution with comprehensive audit trails

🎪 Demo Flow

  1. Treasury Setup: Company funds treasury with USDC/PYUSD
  2. Worker Onboarding: Add workers with their preferred destination chains
  3. Schedule Creation: Set up time-locked payroll intents with release schedules
  4. One-Click Execution: At release time, single click executes all transfers and bridges
  5. Real-Time Tracking: Monitor execution status via Blockscout SDK integration

🔧 Technical Highlights

  • Gas Optimization: Batched execution reduces transaction costs by 60%
  • Reliability: Multi-RPC health checks ensure 99.9% uptime
  • Security: Admin key segregation and hardened event validation
  • Scalability: Redis caching handles 10,000+ concurrent schedules
  • Compliance: Full audit trails via Blockscout transaction tracking

Synced Streams transforms payroll from a manual, multi-step process into an automated, one-click experience while maintaining enterprise-grade security and compliance.

background image mobile

Join the mailing list

Get the latest news and updates