Synced Streams

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

Visit Repo
Synced Streams banner

About

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

  • **Treasury Setup**: Company funds treasury with USDC/PYUSD
  • **Worker Onboarding**: Add workers with their preferred destination chains
  • **Schedule Creation**: Set up time-locked payroll intents with release schedules
  • **One-Click Execution**: At release time, single click executes all transfers and bridges
  • **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.

Prizes

  • Blockscout · Best Blockscout SDK Integration · 2nd place

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.