Skip to content

docs(sdk): add integration guides, examples, and release policy - #289

Merged
Sendi0011 merged 1 commit into
mainfrom
docs/sdk-docs-examples
Nov 5, 2026
Merged

Sendi0011 merged 1 commit into
mainfrom
docs/sdk-docs-examples

Conversation

@Sendi0011

Copy link
Copy Markdown
Contributor

Summary

Closes #279.

Adds the SDK's documentation and examples layer so third parties can integrate without reverse-engineering the contracts or app.

  • Runnable examples in sdk/examples/ importing only from the package root:
    • public API surface/utilities
    • read pool state
    • deposit (rotational + flexible)
    • action gating decisions
    • diagnostics/recovery flow
    • HTTP DataClient pagination and errors
  • Examples compile in CI against the built dist/ declarations via pnpm typecheck:examples.
  • SDK README rewritten: badges, install, quick start, client groups, domain types, utilities, gating, diagnostics/recovery, data client, error model, versioning/deprecation, development.
  • docs/sdk.md integration guide: architecture, signer contract, networks/config, error taxonomy, recovery, testing/mocking, security, frontend parity.
  • docs/README.md documentation index.
  • sdk/CHANGELOG.md with 0.1.0 release notes and semver/deprecation policy.
  • Root README adds an SDK section and documentation links; CONTRIBUTING.md documents SDK gates and public-API rules.
  • Removed broken pre-existing relative links found while validating docs.

Verification

From sdk/:

pnpm typecheck          pass
pnpm build              pass
pnpm typecheck:examples pass
pnpm test               187/187 tests, 15 files
pnpm check:api          pass (177 symbols)

All relative links in the touched docs resolve. Examples contain no secrets; signer stubs return the unsigned envelope and are clearly marked as replacements.

Notes

Stacked on #288 (feat/sdk-data-client); retarget to develop as the stack merges.

@Sendi0011 Sendi0011 added documentation Improvements or additions to documentation Maybe Rewarded Issue may be eligible for a GrantFox reward GrantFox OSS Issue tracked in GrantFox OSS Third Campaign Campaign: Third Campaign labels Nov 5, 2026
@vercel

vercel Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
joint-save Ready Ready Preview Nov 5, 2026 12:49pm UTC
joint-save-y4yx Ready Ready Preview Nov 5, 2026 12:49pm UTC

@Sendi0011
Sendi0011 changed the base branch from feat/sdk-data-client to main November 5, 2026 12:58
@Sendi0011
Sendi0011 merged commit 5de6565 into main Nov 5, 2026
17 checks passed

This branch was successfully deployed

2 active deployments
Preview – joint-save — be92c4c9 Deployed Nov 5, 2026 by vercel[bot]
Preview – joint-save-y4yx — be92c4c9 Deployed Nov 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation GrantFox OSS Issue tracked in GrantFox OSS Maybe Rewarded Issue may be eligible for a GrantFox reward Third Campaign Campaign: Third Campaign

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SDK] Add SDK docs, runnable examples, and update root README/docs index

1 participant