Skip to content

feat: split bounty payouts across PR contributors#30

Open
iice257 wants to merge 2 commits into
skndash96:mainfrom
iice257:codex/multi-contributor-payouts
Open

feat: split bounty payouts across PR contributors#30
iice257 wants to merge 2 commits into
skndash96:mainfrom
iice257:codex/multi-contributor-payouts

Conversation

@iice257
Copy link
Copy Markdown

@iice257 iice257 commented May 13, 2026

Summary

  • derive payout recipients from the merged PR author plus linked GitHub commit authors/committers
  • split the funded bounty amount evenly by cents across unique contributors
  • persist one payout/activity event per recipient while keeping the existing single-recipient response fields for compatibility
  • show a concise split-payout success message in the maintainer approval UI

Fixes #12.

Notes

This keeps the current single-recipient behavior when only one contributor is found. For multiple contributors, the primary PR author still gets PR-body wallet extraction; other contributors resolve through their connected GitHub account/email path or fall back to the existing unclaimed payout notification path.

Verification

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

@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

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

A member of the Team first needs to authorize it.

@bountic-bot
Copy link
Copy Markdown

bountic-bot Bot commented May 13, 2026

⚡️ Bounty Competition Started

@iice257 has submitted a PR that references an issue with a bounty. Learn more about this bounty: https://bountic.vercel.app/b/skndash96/bountic/issues/12

When this PR is merged, the bounty will be locked and ready for payout approval.


Bountic: Autonomous USDC bounties for open source

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.

Feature Request: Multiple PR contributors payout distribution

1 participant