Batch payout contracts for Stacks testnet. The core contract (batch-payout.clar) performs multiple SIP-010 transfers in a single transaction and emits event logs for receipt parsing.
Execute batch SIP-010 token transfers and emit transfer events that the relayer can parse for payroll receipts.
| Function | Purpose |
|---|---|
batch-transfer |
Transfer tokens to up to 50 recipients in one tx |
set-admin |
Update admin principal |
get-admin |
Read current admin |
- Uses a SIP-010 token trait contract for
transfer - Transfers are signed by the caller (
tx-sender), no custody - Emits
printlogs for each transfer with recipient, amount, memo, ok
Deployment plans live in deployments/:
default.devnet-plan.yamldefault.simnet-plan.yamldefault.testnet-plan.yaml
# From repo root
pnpm devnet
# Or directly
cd contracts/usdcx-payout-engine
clarinet devnet startcd contracts/usdcx-payout-engine
pnpm i
pnpm testmock-token.claris for local testing only.- Batch size is limited to 50 entries per transaction.