ZAMA × WEB3BRIDGE WORKSHOP

Payroll.
With discretion.

Manage salaries and pay employees onchain. Keep the amounts private.

Checking Sepolia deployment…
01MANAGE & PAY

Employer

Set an employee’s salary, then pay from payroll funds.

Connect the employer wallet to use these controls.

Use YYYYMM, e.g. 202611. Fund payroll in Assets before paying.

About salary and payments

Setting a salary does not move tokens. Pay employee sends the amount due for the selected period. Retrying a payment sends only its unpaid remainder.

02AUTHORIZED VIEW

Employee

View the salary set for your connected wallet.

YOUR WALLET

Wallet not connected

••••••wUSD

Includes bonuses. Payments appear in Assets.

Private viewing asks for a wallet signature.

03PUBLIC & PRIVATE TOKENS

Assets

YOUR PUBLIC BALANCE

— wUSD

YOUR SHIELDED BALANCE

Hidden cwUSD

How these balances work

Your shielded balance belongs to your connected wallet. Payroll holds a separate balance for employee payments; only the employer can view it.

Viewing payroll's balance may first ask for an authorization transaction after a deposit or payment. This does not move tokens.

Move public tokens into a shielded balance.

Funds employee payments.

Salaries and shielded balances are private. Shield and unshield amounts, wallet addresses, and transaction times are public.