WIP: feat: NUT-CTF conditional tokens for prediction markets #1666

Draft
joemphilips wants to merge 4 commits from joemphilips/ctf into main
joemphilips commented 2026-02-22 10:03:07 +00:00 (Migrated from github.com)

Summary

Reference implementation of NUT-CTF: Conditional Tokens for Prediction Markets.

This is a work-in-progress draft. More details to follow as the spec stabilizes.

## Summary Reference implementation of [NUT-CTF: Conditional Tokens for Prediction Markets](https://github.com/cashubtc/nuts/pull/337). This is a work-in-progress draft. More details to follow as the spec stabilizes.
This pull request has changes conflicting with the target branch.
  • Cargo.lock
  • crates/cashu/src/nuts/mod.rs
  • crates/cdk-ffi/src/types/mint.rs
  • crates/cdk-integration-tests/src/init_pure_tests.rs
  • crates/cdk/src/mint/swap/mod.rs
  • crates/cdk/src/wallet/mint_connector/http_client.rs
  • crates/cdk/src/wallet/mint_connector/mod.rs
  • crates/cdk/src/wallet/test_utils.rs
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin joemphilips/ctf:joemphilips/ctf
git switch joemphilips/ctf

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff joemphilips/ctf
git switch joemphilips/ctf
git rebase main
git switch main
git merge --ff-only joemphilips/ctf
git switch joemphilips/ctf
git rebase main
git switch main
git merge --no-ff joemphilips/ctf
git switch main
git merge --squash joemphilips/ctf
git switch main
git merge --ff-only joemphilips/ctf
git switch main
git merge joemphilips/ctf
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cashubtc/cdk!1666
No description provided.