Sera.cx PayrollOpen-source demo
Settlement by Sera.cx
DEMO SITESample data on the Sepolia testnet. Nothing is sent, emailed or paid for real. Open source: fork it and add your own database, emails and ramp partners. github.com/sera-cx/sera-payroll
Open source · MIT · Demo on the Sepolia testnet

Stablecoin payroll where each person chooses what they receive

Employers fund a pay run in USDT, USDC, MYRT, XSGD or fiat. Each employee or contractor receives any supported stablecoin to their wallet, or fiat to their bank. Open source, MIT licensed, settlement by Sera.cx.

This demo is static: the whole product runs in your browser on sample data, so you can click every button and nothing is real. Developers deploy their own copy with the server build.

What happens in a pay run

  1. PrepareSalaries, fees and one-off payments, each in the currency the person chose. Rates and routes are shown before anyone signs.
  2. FundThe employer funds in one stablecoin from the treasury wallet, or in fiat through an on-ramp partner.
  3. ScreenEvery payout address is screened before funds move. Flagged payouts are held, never silently dropped.
  4. SignThe approver signs the run with the treasury wallet (EIP-712). Rates and addresses freeze at that moment. Multisig treasuries collect each signer.
  5. SettlePayouts in a different stablecoin swap on Sera.cx against actual liquidity. Bank payouts go to the off-ramp partner. Nothing is custodial.
  6. ProveEach payslip is sealed into a salted Merkle root and anchored on chain, so a person can prove their pay without showing the payslip.

Every screen in the demo

Open any screen and the demo signs you in as the right sample user. Switch users at any time from the top bar.

Why non-USD stablecoins

Most stablecoin payroll pays out in USDT or USDC and leaves the person to find an exchange. Here an employee in Malaysia receives MYRT, or ringgit by DuitNow, while the employer funds in USDT. A contractor in Indonesia receives USDT or rupiah by BI-FAST. The two choices, how the employer funds and what each person receives, are independent. Sera.cx is where those pairs settle with real liquidity.

  • Funding: USDT, USDC, MYRT, XSGD, or fiat through an on-ramp partner.
  • Wallet payouts: MYRT, XSGD, USDT, USDC, IDRT and JPYC on Ethereum.
  • Bank payouts: MYR by DuitNow, SGD by PayNow, IDR by BI-FAST, wires elsewhere, each through an off-ramp partner that holds the identity check and bank details.

Payslips you can prove without showing

Salary data never goes on chain in the clear. Each field of a payslip is salted and hashed into a Merkle tree. The employer signs the root; the operator anchors only the root, the document hash and the pay date in the PayslipRegistry contract, next to the payout transactions. A person can hand a landlord or lender a proof of one field, such as net pay, and anyone can check it on the verifier page or straight against the contract. Corrections bump a version and leave an event.

Read the on-chain payslip design

Contracts on Sepolia

The settlement and payslip contracts are deployed on the Sepolia testnet. They are permissionless and hold no funds. A payroll operator running the server build points the API at them; the browser demo on this site plays settlement back instead.

ContractPurposeAddress
PayrollDisburserBatched payouts from the treasury wallet, never the same payout twice0x874DE1F483Dd5C053E51cf9e9dAc161452050b85
PayslipRegistryAnchors each payslip's salted Merkle root, signed by the employer0x1E187E50cE8F4F8ec7124DCE7FD1Abf37938449D
tUSDTDemo stablecoin with a faucet, 6 decimals0x608007F91A38D43E964939C2F29c4397349F71AC
tMYRTDemo stablecoin with a faucet, 6 decimals0xCc0054146fBE0105655633ce4ebb2930acc3FFC1

A sample run, paid for real

The October 2026 payroll of Sample Studio Sdn Bhd, the first sample company in the demo, was paid on Sepolia with the demo stablecoins: 2 payouts in one PayrollDisburser transaction, then one payslip anchored in the PayslipRegistry, signed by the employer. The employee's proof of net pay from that payslip is on the verifier page, where the root is checked against the contract. The script that did it is packages/chain/scripts/sepolia-sample-run.ts, the same core and chain code the server build uses.

Contract sources and tests · Record of the sample run · How to deploy your own

What is real here and what is simulated

Real
  • The pay run engine, rounding rules, rates lock and totals
  • Address hold, lock and screening state machines
  • EIP-712 approval and payslip signatures and their verifying contracts
  • The Sera.cx swap interface: intents signed exactly as the Sera.cx API returns them
  • The API contract, webhooks, API keys and PDF payslips in the server build
Simulated on this site
  • The API runs inside your browser on sample data; a refresh keeps it, a reset clears it
  • Swaps, screening, emails, bank transfers and identity checks are played back, not performed
  • Transaction hashes and anchors are sample values; the server build writes real ones through the Sepolia contracts below
  • No salary, stablecoin or fiat moves anywhere

Run it yourself

Payroll and EOR companies fork the repository and run it under their own brand, licence and ramp partners, in the same way as the Sera.cx open-source payment gateway. No database or wallet is needed to try it locally.

git clone https://github.com/sera-cx/sera-payroll.git
cd sera-payroll
pnpm install
pnpm demo        # API in demo mode with sample data
pnpm --filter @sera-payroll/web dev

Run your own has the short version of the notes: local demo, Docker image, one-click Render deploy, the Sepolia contracts and what a fork must add before paying anyone for real.

Questions

Is this a real payroll service?

No. This is the open-source reference build and a public demo. Everything on it runs on sample data and a testnet. Payroll operators fork the repository and run it under their own brand, licence and partners.

What does Sera.cx do here?

Sera.cx is the stablecoin-to-stablecoin swap in the middle of a pay run, settled against actual liquidity with EIP-712 intents. It never holds funds or keys and does not run payroll for anyone. The mark on every screen is "Settlement by Sera.cx".

Which stablecoins and currencies are supported?

Funding in USDT, USDC, MYRT or XSGD, or in fiat through an on-ramp partner. Payouts in MYRT, XSGD, USDT, USDC, IDRT or JPYC on Ethereum, or in MYR, SGD and IDR to a bank through an off-ramp partner.

Do bank details or identity documents touch the app?

No. Off-ramp partners hold identity checks and bank details. The app only learns whether a person is verified and which currency they can receive.

What is an on-chain payslip?

Each payslip is sealed into a salted Merkle root signed by the employer and anchored in the PayslipRegistry contract next to the payout transactions. Salary data never goes on chain in the clear. An employee can prove one field, such as net pay, to a landlord or lender, who verifies it on this site or against the contract.

Are the contracts deployed?

Yes, on the Sepolia testnet: PayrollDisburser for batched payouts and PayslipRegistry for payslip anchors, plus two demo stablecoins with faucets. The addresses are on this page and in the repository, and a sample payroll run has been paid and its payslip anchored through them. Mainnet deployment is for operators, with only the two settlement contracts.

Can I run it myself?

Yes. Clone the repository, run pnpm install and pnpm demo, and open the web app. No database or wallet is needed for the demo. The README lists what a fork must add before paying anyone for real.