Skip to content

feat: re-add the Crowdfund standard (SDK) - #266

Merged
trevormil merged 2 commits into
mainfrom
feat/readd-crowdfund-standard
Jun 22, 2026
Merged

feat: re-add the Crowdfund standard (SDK)#266
trevormil merged 2 commits into
mainfrom
feat/readd-crowdfund-standard

Conversation

@trevormil

Copy link
Copy Markdown
Collaborator

Revert of eb87fe7 (#248) — re-adds the Crowdfund standard to the SDK.

Why now

Crowdfund was removed because the chain's inclusive 0.1% protocol fee taxed the mint-escrow deposit leg, so a fully-funded crowdfund could never withdraw/refund (funds stuck). The chain is moving to an additive protocol-fee model in v33 (recipient/escrow receives the full quoted amount; fee charged on top), which unblocks crowdfund withdraw/refund. The original builders were written for the additive model, so restoring them is correct.

What's restored

core/crowdfunds.ts + core/builders/crowdfund.ts, the builder preset, CLI crowdfunds command surface, agent skill, verifier, standards-info, design-decision + review-ux registry entries, and all crowdfund specs.

Verification

  • Clean revert against current main (no conflicts).
  • tsc typecheck clean.
  • Full unit suite 3097/3097 green.
  • Crowdfund CLI integration specs 13/13 green.

Cross-repo (merge order)

This is the first of three coordinated PRs. Merge + publish this SDK first, then bump bitbadges in the indexer and frontend PRs:

🤖 Generated with Claude Code

Revert of eb87fe7 (#248). The standard was removed because the chain's
inclusive 0.1% protocol fee taxed the mint-escrow deposit leg, so a
fully-funded crowdfund could never withdraw/refund (funds stuck). The chain
is moving to an additive protocol-fee model in v33 (recipient/escrow receives
the full quoted amount, fee charged on top), which unblocks crowdfund
withdraw/refund — so the standard is restored.

Restores core/crowdfunds.ts + builders/crowdfund.ts, builder preset, CLI
`crowdfunds` command surface, agent skill, verifier, standards-info,
design-decision + review-ux registry entries, and all crowdfund specs.

Clean revert against current main (no conflicts). Typecheck clean; full unit
suite 3097/3097 green; crowdfund CLI integration specs 13/13 green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@trevormil
trevormil merged commit 8eb9587 into main Jun 22, 2026
4 checks passed
@trevormil
trevormil deleted the feat/readd-crowdfund-standard branch June 22, 2026 15:23
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