Skip to content

Add split bounty payout support#37

Open
jesusblls wants to merge 1 commit into
skndash96:mainfrom
jesusblls:codex/bountic-split-payouts
Open

Add split bounty payout support#37
jesusblls wants to merge 1 commit into
skndash96:mainfrom
jesusblls:codex/bountic-split-payouts

Conversation

@jesusblls
Copy link
Copy Markdown

Summary

  • Adds an opt-in bountic-split block in PR bodies so maintainers can distribute a bounty across multiple recipients.
  • Supports percentage splits and fixed USDC amounts, with validation that totals match the bounty.
  • Routes each recipient through the existing wallet/email/unclaimed payout path.
  • Records payout and activity events per recipient and updates approval UI/API output for split payouts.

Example:

<!-- bountic-split:
@alice 60% 0x1111111111111111111111111111111111111111
@bob 40%
-->

Fixed amounts are also supported:

<!-- bountic-split:
@alice 6.00
@bob 4.00
-->

Verification

  • ./node_modules/.bin/tsc --noEmit
  • ./node_modules/.bin/eslint lib/bounty/services/payout.ts lib/bounty/services/approve-payout.ts lib/api/client.ts "app/b/[owner]/[repo]/issues/[issueNumber]/approve-button.tsx"

Related to #12.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 2, 2026

@jesusblls is attempting to deploy a commit to the skndash96's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant