SyncPay

About SyncPay

Stream salaries on-chain every second — employees claim what they've earned, the moment they've earned it.


What is SyncPay?

SyncPay is a trustless Web3 payroll protocol on Solana. Employers fund an on-chain vault and set a pay rate. Employees earn continuously and withdraw anytime — no banks, no payroll processors, no waiting for the end of the month. Everything is enforced by the Anchor smart contract, not by trust.

The Problem

Traditional payroll batches payments once or twice a month through banks that charge fees, delay transfers, and exclude anyone without a local account. Contractors in emerging markets wait weeks to receive payment for work they delivered today.

Crypto fixes the settlement layer — but nobody has fixed the payroll layer. SyncPay fixes this.

How it works

For employers

  1. Connect your Solana wallet — no sign-up, no email, no password.
  2. Deposit PalmUSD into your program-controlled MasterVault. One vault per employer per token.
  3. Enter an employee wallet address and a pay rate in tokens per second. The program initialises a StreamAccount PDA and the clock starts.
  4. Pause or cancel streams at any time. Unallocated funds return to your vault on cancellation.

For employees

  1. Connect the wallet registered as a recipient.
  2. See your accrued balance tick up in real time.
  3. Withdraw anytime — the program calculates elapsed seconds × rate and transfers the exact amount owed.

Stream lifecycle

DraftActivePausedActiveCancelled

On-chain architecture

MasterVault

seeds: ["vault", employer, mint]

Holds deposited funds. Tracks total deposited and total allocated. Initialised on first top_up call via init_if_needed.

StreamAccount

seeds: ["stream", employer, recipient, mint]

Stores rate per second, start time, last withdrawal timestamp, and stream status. State transitions are enforced by the Anchor program — no admin, no override.

Tech stack

Smart contractAnchor (Rust)
FrontendNext.js 15 · TypeScript · App Router
StylingTailwind CSS · shadcn/ui
StateZustand
Wallet authPrivy (embedded wallets)
Token standardSPL Token-2022
NetworkSolana devnet → mainnet

Team

Built by two developers for the Solana Colosseum Frontier Hackathon.

Network

Network: Solana Devnet

Program ID: EMKZ3DPFrpEpnvRsY2S2vM3wcpLo9HtMVcATjCrcpWpK


Earn every second you work.Launch console