Skip to content

feat(core): coordinate recoverable mint swaps - #418

Draft
igbopharaoh wants to merge 15 commits into
cashubtc:masterfrom
igbopharaoh:feat/mint-swap-coordinator-recovery
Draft

feat(core): coordinate recoverable mint swaps#418
igbopharaoh wants to merge 15 commits into
cashubtc:masterfrom
igbopharaoh:feat/mint-swap-coordinator-recovery

Conversation

@igbopharaoh

Copy link
Copy Markdown
Contributor

Summary

  • adds the dormant exact-receive Mint Swap coordinator and parent state machine
  • enforces authorization-before-network barriers, parent-owned child operations, exact accounting, and fenced preparation leases
  • recovers source and destination outcomes from durable protocol evidence and moves contradictions to needs_attention

Dependency

This pull request is stacked on Slice 2 (#402) and Slice 3 (#417). It is intentionally opened against master; merge the earlier slices first, then rebase this branch before merge.

This pull request resolves #369.

Verification

  • bun run build
  • bun run typecheck
  • bun run --filter='@cashu/coco-core' test:unit
  • SQLite, Expo SQLite, SQLite Bun, and IndexedDB repository contracts

@github-project-automation github-project-automation Bot moved this to Backlog in coco Aug 9, 2026
@changeset-bot

changeset-bot Bot commented Aug 9, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: b02604e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

feat(core): implement the mint-swap coordinator and recovery

1 participant