Skip to main content
Pay a seller, platform, and referrer in one transaction. Express every share in basis points, require the shares to total 10,000, and assign integer-division remainder to one designated recipient.

Demo

The demo above is mock only. If you want to see onchain demos on Vibenet, head to Base chain demos.

Calculate and Send Exact Shares

Payout.sol
TypeScript backend
The contract emits PayoutSent for every leg with the shared splitId. That reference fills the role of a payout memo for both USDC and B20 without depending on token-specific memo methods.
All shares sum to the input amount exactly, including the rounding remainder, and the split routes each leg directly from the payer to its recipient.
Define who receives rounding remainder in your commercial terms. Also approve only the amount needed for the split and verify recipient addresses before submitting the transaction.

See Also

Send a Payout

Send arbitrary amounts to a bounded recipient batch.

Reconcile Payments

Export split legs under their shared reference.