Skip to content

feat: replace integration section with SDK reference pages#40

Merged
scarmuega merged 1 commit into
mainfrom
docs/update-integration-sdks
May 14, 2026
Merged

feat: replace integration section with SDK reference pages#40
scarmuega merged 1 commit into
mainfrom
docs/update-integration-sdks

Conversation

@scarmuega
Copy link
Copy Markdown
Contributor

Summary

  • Replace the four stale per-language integration guides (which described the legacy trix bindgen codegen workflow) with one runtime-SDK reference page per language, each sourced from the corresponding repo's README:
  • Add integration/index.mdx as a landing page with LinkCards for all four SDKs.
  • Drop the dead [Bindgen Guide] link in tooling/trix.mdx that pointed at the removed integration/codegen page.
  • Rename nodejs.mdtypescript.md (the web SDK is published as tx3-sdk and runs in Node, browsers, Bun, and Deno — "NodeJS Backend" was misleading).

Why

The previous pages described an older codegen-based workflow where users ran trix bindgen and called generated per-protocol functions. The official SDKs are now runtime libraries that load a compiled .tii protocol, bind parties and signers, and drive the resolve → sign → submit → wait lifecycle through TRP. The docs needed to reflect that shift.

Each page preserves the README's Installation, Quick start, Concepts table, Advanced usage subsections (low-level TRP, Custom Signer, Manual witness, and any language-specific extras like CIP-30 / Framework integrations / Error handling), and protocol-compatibility info, while trimming repo-only bits (badges, monorepo notes, Testing, License).

Conflict note

Open PR #33 (feat: enhance Rust integration documentation) also edits integration/rust.md. This PR completely replaces that file from the rust-sdk README, so #33 will need to be rebased or its incremental edits folded into the new page after this lands.

Test plan

  • Once docs.txpipe.io rebuilds against the merged branch, verify /tx3/integration/ renders the LinkCard grid
  • Verify each SDK page (/tx3/integration/{typescript,go,rust,python}) renders with proper code highlighting and the concepts table
  • Verify the sidebar order under Integration is: Introduction, TypeScript, Go, Rust, Python
  • Verify /tx3/tooling/trix no longer contains a broken ../integration/codegen link
  • Spot-check the TypeScript page's Quick Start matches the current web-sdk README

🤖 Generated with Claude Code

The previous integration pages documented an older codegen-based
workflow where users ran `trix bindgen` and called generated per-protocol
functions from a `protocol.ts` / `protocol.go` / etc. file. That model no
longer matches reality: each of the four official SDK repos
(web/Go/Rust/Python) now ships a runtime library that loads a compiled
`.tii` protocol, binds parties and signers, and drives the full
resolve → sign → submit → wait lifecycle through TRP.

Replace the section with one page per SDK, authored from the
corresponding repo's README:

  - typescript.md  (tx3-lang/web-sdk)
  - go.md          (tx3-lang/go-sdk)
  - rust.md        (tx3-lang/rust-sdk)
  - python.md      (tx3-lang/python-sdk)

Also add an Integration index page introducing the four SDKs, and drop
a dead link in tooling/trix.mdx that pointed at the removed
integration/codegen page.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@scarmuega scarmuega merged commit 7fad537 into main May 14, 2026
@scarmuega scarmuega deleted the docs/update-integration-sdks branch May 14, 2026 00:49
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.

1 participant