Concepts
Private payroll
A payroll run is a list of private payments, nothing more. There is no second pool and no payroll contract. The phone proves each payment with the same join-split it uses for any other transfer, then the testnet sponsor submits it.
The list
One row per person. A header is optional.
name,address,amount
Ada,batin1…,1500
Bo,,800
- Address is a batin1 address. That person sees the payment next time their app syncs.
- A blank address becomes a payment link. The link is cash until someone claims it, and the sender can take it back from Activity while it is unclaimed.
- One asset per run, SEI or USDC, and at most 40 people. Each payment is proved on the phone, one after another. Stopping waits for the proof already running. People already paid stay paid.
- The list and the results file stay on the phone, encrypted with the same key as the activity log. The results file is the sender's record. It is not a proof an accountant can check without being shown the names.
What the chain shows
Each person is one private transfer: two nullifiers and two commitments, no name and no amount. A claim link is the same kind of transfer, into a note the link can spend.
What stays public is unchanged. The deposit that filled the balance shows the depositor, the asset and the amount. A later withdrawal shows whoever cashes out, the asset and the amount. Paying from a balance that was already in the pool hides the payroll total. Depositing the exact sum on payday does not.
One payment can spend two notes. A list walks in order and can use the change from earlier rows. If a row is still too big for two notes, combine first, or put the smaller payments above it.
What this is not
It is not a salary system. There is no employee directory, no tax form, and no on-chain schedule. An on-chain schedule would publish the wages. Run the same list again when you want to pay them again. Paying the list a second time pays everyone on it again, including people the last run already paid. Use "Pay the rest" only for the rows that stopped.
Source: apps/web/content/docs/payroll.md