Skip to content
bitfaltPublic

About

Sigilo lets remote workers get paid in stablecoins privately, prove their income without revealing it, and borrow against their next paycheck, with no collateral.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Sigilo

The original proof of work. Get paid in digital dollars without your salary on display. Prove what you earn without handing over your payslips. Send money home in under a second. Borrow against your next paycheck.

Live at sigilo.work · Monad testnet · Monad Metropolis, Track 02 (Consumer Products & Payments)

For Open What you can do
Employers sigilo.work/employer Create a company with a passkey, add test funds, invite people, run payroll in one click
Workers sigilo.work/app One balance, private payslips, Income Passport, send money home, take a salary advance
Lenders sigilo.work/lender Ask for an income check, verify it for $0.10, offer an advance repaid straight from payroll

Try it (judges and testers)

No test credentials needed: every account is a passkey you create on the spot, the lender is built in, and test money comes from a button. It runs on Monad testnet.

You need a passkey manager that supports the WebAuthn PRF extension: Apple Passwords / iCloud Keychain (Safari or Chrome on iPhone and Mac), Google Password Manager (Chrome on Android, or desktop Chrome signed in), or 1Password. Bitwarden doesn't support PRF yet. Best setup: a laptop for the employer and lender, a phone for the worker.

  1. Employer (laptop): open sigilo.work/employer → Create company account. On testnet every company is verified automatically (KYB is simulated). Tap Add test funds, then add a person with a monthly salary (e.g. $2,400) and copy the invite link.
  2. Worker (phone): open the invite → Create my account → Activate Income Passport. That's two passkey taps; the app shows how many seconds it took.
  3. Payroll (laptop): run payroll for the three previous months (pick each month chip, then Run payroll). Each run is one payout of shuffled, fixed-size pieces; What the internet sees next to each run shows the public view. On the phone, the balance and payslips appear.
  4. Income check (laptop): open sigilo.work/lender → New income check with a minimum at or below the salary (e.g. $1,500). Scan the QR with the phone → Share my Income Passport (sealed on the phone in a few seconds). Back on the lender: Verify for $0.10 pays the Sigilo Verify API through MPP and shows Income verified.
  5. Advance: on the lender, Offer a salary advance. The offer appears on the phone's income-check page → Take. Run payroll for the current month: the installment is deducted on the payslip and repaid to the lender, who sees the progress.
  6. Send home: create a second account in another browser or device (that's Mom) → Get money from family → share the link. Open it on the worker's phone → Send. It's delivered in about a second and shows up on Mom's account as Money from María.
  7. New device: clear the site's data (or use another device with the same synced passkey) → Sign in with a passkey. Balance, payslips and the Income Passport come back; nothing secret was stored.
  8. Settings → Advanced (behind a second passkey check): move everything to an external account, or export the keys.

The problem

Paying a remote team in stablecoins is fast and cheap, but it is public payroll: anyone who learns a worker's account can read her salary, her employer and her pay dates. In Latin America that is a safety problem, not just a privacy one. Meanwhile, proving income to rent an apartment or get a loan still means handing over contracts, payslips and bank statements, and foreign income in digital dollars is invisible to local credit.

What Sigilo does

  1. Private payroll. The employer's browser decrypts the roster, splits each net salary into fixed pieces ($1,000, $500, $200, … $0.01) and pays every piece to a fresh one-time account derived from the worker's passkey. All pieces of all workers are shuffled into one payout. On-chain you see that a company paid N identical-looking pieces; you can't tell which belong to whom. The worker sees one balance and makes one payment.
  2. Income Passport. Every payroll run commits each payslip to a Merkle tree, and Sigilo publishes the run roots on-chain. María proves "at least $1,500 a month for the last 3 months, from a verified employer" with a Noir circuit, in her browser in about 6 seconds, without revealing her employer, salary or payslips. Each lender sees a different pseudonym, so lenders can't compare notes.
  3. Paid verification (MPP). Lenders pay $0.10 per check to the Sigilo Verify API through the Machine Payments Protocol (AUSD, ERC-3009 pull mode, so the lender needs no gas). The API checks the proof against the on-chain verifier and returns a signed attestation.
  4. Send home (Agora). María sends money to her mom: her pieces sign authorizations bound to that exact payment, a relayer submits them, and Agora converts AUSD to local money at a fixed price on the way. Delivered in 0.7 s in our end-to-end test. Mom joins with a link and her own passkey.
  5. Salary advances repaid from payroll. After a verified check, the lender offers an advance (up to 30% of the verified monthly income). María proves her income to the lender's vault, gets the money in a fresh account, and signs a deduction mandate; her employer's next payroll repays the vault automatically, like crédito consignado or deducción de planilla.

No seed phrases, no extensions, no passwords: a passkey is the account (Mera), and it works on a new phone. One passkey works with any number of employers. For people who manage their own accounts, Settings → Advanced (behind a second passkey check) moves everything to an external account or exports the keys.

Privacy model ("if we get hacked")

  • Names, salaries and payslips are encrypted on the employer's and worker's devices. Sigilo's servers store ciphertext and public keys only.
  • Which payment piece belongs to whom is never stored anywhere: the one-time account keys travel inside the worker's encrypted payslip.
  • Send home is relayed without a session: the server can't tell who sent it.
  • Keys are derived from the passkey (WebAuthn PRF) on every unlock and never persisted. Separate PRF namespaces for the account, the Income Passport and the employer treasury.
  • What is public: a company funded its treasury and paid N fixed-size pieces; registry roots; verification and advance events.

Details: SPEC.md §5.

Built with

Sponsor / tech Used for
Monad (testnet, chain 10143) All contracts; sub-second payouts and transfers
Mera (@category-labs/mera) The entire account layer: passkey onboarding, signing sessions, and PRF namespaces for non-account keys (passport secret, treasury, payslip encryption)
Agora (AUSD + Instant Settlement) Payroll in AUSD; Send home swaps AUSD → CTK on the Agora pair via SigiloPay.sendHome
MPP (mppx + @monad-crypto/mpp) /api/v1/verify, paid per call in AUSD (pull mode / ERC-3009)
Noir + Barretenberg (UltraHonk, EVM target) income_passport circuit, proved in the browser with noir_js + bb.js, verified on-chain by a generated HonkVerifier
Envio (HyperIndex over HyperSync) packages/indexer: network numbers, lender portfolios, and what the public record reveals; drives /network, the lender console and /record/[tx]
Chainlink CRE packages/cre: the monthly "payday" workflow rebuilds every payroll record from the public data and flags late advance installments, reporting to SigiloOracle on Monad
Convex, Next.js 16, Vercel Blind backend (ciphertext, public keys, live status), app and API routes

Contracts (Monad testnet, verified on MonadVision)

Contract Address
SigiloRegistry 0xba306ac85e31D43b92bc1915fF84354A08140A8B
HonkVerifier 0xB2C7D31fd760e085D13c4D3FC40fAE3b40c56177
IncomePassportVerifier 0x0e40B46A82a79C0a4b0A9957bBD32AE6B5a4B290
SigiloPay 0xBeDbFae158ed456E546bC0eE2c2b1405F8AbB701
AdvanceVault (Fondo Quincena) 0xdB38A7F37f45934A42f4ddD740d8F69414de7734
SigiloOracle (Chainlink CRE consumer) 0xA2750a6aa2cCaD241e2c8d21d06C8C19e789890D

Source of truth: packages/core/src/deployments.ts.

Payday, checked by Chainlink (CRE)

Every Income Passport is proven against payroll records that Sigilo publishes on-chain, so today Sigilo vouches for them alone. packages/cre is a Chainlink CRE workflow that takes that trust away and runs payroll-deducted credit's collections, as the orchestration layer between Sigilo's backend, Monad and the lender:

  1. Triggers: a monthly payday schedule, and every RootPublished event on SigiloRegistry.
  2. Sigilo's backend (HTTP, with consensus): the public payroll records and the advances due, as amounts only. No employer, name or salary ever leaves the backend.
  3. Independent check: each node rebuilds the Poseidon2 payroll tree from the public records and checks it against the on-chain root; it reads every advance from AdvanceVault and marks installments that payroll didn't repay on time.
  4. Report to Monad: one signed report to SigiloOracle. The lender console shows "Payroll records checked independently by Chainlink" on verified income checks, and flags late installments.

Simulated with the CRE CLI, including --broadcast through Chainlink's Monad testnet forwarder (for example this report). Commands in packages/cre/README.md.

What the internet can learn (Envio)

Private payroll only works if the public record really doesn't give people away, so Sigilo measures it. packages/indexer is an Envio HyperIndex indexer over HyperSync that indexes every Sigilo contract on Monad testnet, decodes each payout's pieces from its calldata, and joins every payment with the AUSD pulls of the pieces it spent. On top of the usual aggregates (network totals, daily activity, one portfolio per lender vault) it plays the adversary:

  • On payday: how well each payroll hides: its sizes, the largest group of identical pieces, the pieces that stand out, the average anonymity set. A payroll of one piece hides nothing about the amount, and the indexer counts those too.
  • After payday: every payment's pieces sign the same intent, so they share an owner. The indexer clusters accounts spent together (union-find: a partially spent piece spent again later merges two clusters), and reports the share of pieces nobody can tie to anything, clusters that reach across several payrolls or employers, the most of one payroll tied to a single person, reused destinations, and advances tied to the company that repays them.

It drives three screens: sigilo.work/network (Sigilo in numbers, and what the internet can learn), the lender console's live portfolio (lent, still owed, repaid, available to lend), and each payroll's public record (which of its pieces were later spent together, and what that revealed). A replay of the full testnet history through the handlers is checked against on-chain state: vault balance, every advance, and every piece's balance. Details: packages/indexer/README.md.

Repository

apps/web             Next.js 16 PWA (landing, /app, /employer, /lender, /v/[id], API routes) + Convex backend
packages/core        Shared TypeScript: key schedule, Poseidon2 + Merkle trees, one-time accounts, pieces,
                     spend intents, encrypted receipts, passport witness builder, attestations
packages/circuits    Noir income_passport circuit, generated artifacts, Node prover
packages/contracts   Foundry: SigiloRegistry, IncomePassportVerifier, HonkVerifier (generated), SigiloPay, AdvanceVault
packages/indexer     Envio HyperIndex: config.yaml, schema.graphql, handlers, and the privacy analytics

Run it locally

Requirements: Node ≥ 22, pnpm 11, Foundry 1.8.5, nargo 1.0.0-rc.2 + bb 5.2.1 (circuits only).

git submodule update --init --recursive && pnpm install
cp .env.example .env    # then fill in Convex and testnet keys
pnpm dev                # http://localhost:3000

Tests

pnpm --filter @sigilo/core test        # pinned vectors for keys, hashes, trees, one-time accounts, intents
cd packages/circuits && pnpm test      # nargo test + a real proof in Node
cd packages/contracts && forge test    # unit, fuzz, and a real-proof verification
pnpm --filter @sigilo/indexer test     # Envio handlers: payroll, linkage, advances, registry
cd packages/indexer && pnpm snapshot:testnet && pnpm test:testnet   # replay testnet history vs. chain state

End-to-end on Monad testnet (needs pnpm dev and the testnet keys in .env):

Script What it proves
pnpm smoke:payroll Encrypted roster → payout in shuffled pieces → registry root on-chain → worker decrypts payslip, balance matches
pnpm smoke:passport 3 paid months → Income Passport proof → free on-chain check → lender pays $0.10 via MPP → signed attestation
pnpm smoke:sendhome Pieces sign → unauthenticated relay → AUSD→CTK on Agora → Mom's receipt and balance
pnpm smoke:advance Verified check → offer → proof for the vault → advance on-chain → mandate → two payroll runs repay and close it
pnpm smoke:collect Advanced settings: move every piece to an external account
pnpm smoke:two-employers One account joins two employers; the Income Passport carries over
pnpm e2e:passport The passport flow through the real UI in headless Chromium with a virtual passkey (PRF)
pnpm e2e:sendhome Send home through the real UI
pnpm e2e:advance Salary advance through the real UI: lender offer, worker takes it on her phone, payroll repays
pnpm e2e:settings Advanced settings through the real UI
pnpm e2e:passkey <url> Passkey create / sign-in against any deployment

(Run them from apps/web.)

License

MIT

About

Sigilo lets remote workers get paid in stablecoins privately, prove their income without revealing it, and borrow against their next paycheck, with no collateral.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages