Skip to content

Revocable CAT issuance support - #811

Open
Rigidity wants to merge 1 commit into
mainfrom
revocable-cat-minting
Open

Revocable CAT issuance support#811
Rigidity wants to merge 1 commit into
mainfrom
revocable-cat-minting

Conversation

@Rigidity

@Rigidity Rigidity commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Note

Medium Risk
Changes on-chain CAT issuance semantics and asset metadata when revocable is enabled; incorrect hidden puzzle hash handling could mint non-revocable or wrongly revocable tokens.

Overview
Adds optional revocable CAT issuance end-to-end: IssueCat gains a revocable flag, the wallet issues with an optional hidden puzzle hash (the wallet change address when revocable), persisted on the asset record, with a wallet test covering the flow.

The Issue Token UI adds a revocable switch, inline and confirmation warnings that Sage cannot revoke tokens, and shows revocable yes/no in the issuance confirmation.

Tooling: Specta TypeScript export is moved out of app startup into export_bindings() and a debug-only generate-bindings binary, wired as pnpm generate:bindings. New Cursor rules document generated-artifact and validation expectations.

Reviewed by Cursor Bugbot for commit d063c28. Bugbot is set up for automated code reviews on this repo. Configure here.

@AbandonedLand

Copy link
Copy Markdown

Would the wallet include tooling to revoke a coin? I assume that's a bit more complex than issuing. Would it be possible for the RPC to contain an endpoint to revoke if the GUI doesn't?

@Rigidity

Rigidity commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator Author

Would the wallet include tooling to revoke a coin? I assume that's a bit more complex than issuing. Would it be possible for the RPC to contain an endpoint to revoke if the GUI doesn't?

Yes, I can add that as well. It's not really hard to implement for individual known coin ids, it's more just that it gets into explorer territory if you need the wallet to also find these revocable coins.

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.

2 participants