Skip to content

docs(client-sdk): migrate permit API docs to ACP for @cofhe/sdk 0.7 - #44

Closed
doresa0 wants to merge 1 commit into
FhenixProtocol:mainfrom
doresa0:docs/migrate-client-sdk-permits-to-acp
Closed

doresa0 wants to merge 1 commit into
FhenixProtocol:mainfrom
doresa0:docs/migrate-client-sdk-permits-to-acp

Conversation

@doresa0

@doresa0 doresa0 commented Aug 20, 2026

Copy link
Copy Markdown

Summary

Files

  • client-sdk/guides/permits.mdx (content → ACPs; path unchanged)
  • client-sdk/guides/decrypt-to-tx.mdx, decrypt-to-view.mdx
  • Foundry / Hardhat testing pages, overview, mental model, end-to-end, JS quick start, migrating-from-cofhejs, templates

Test plan

  • Snippets use only names present in @cofhe/sdk@0.7.0 types (getOrCreateSelfACP, @cofhe/sdk/acps, .withACP())
  • No remaining getOrCreateSelfPermit / @cofhe/sdk/permits / withPermit outside the intentionally untouched pages
  • scripts/lint-docs.py clean on touched guides

Permit helpers and @cofhe/sdk/permits were removed in 0.7.0. Update the
guides, Foundry/Hardhat pages, and examples to client.acp / ACPUtils /
withACP so copy-paste snippets resolve against the published package.

Co-authored-by: Cursor <cursoragent@cursor.com>
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