Skip to main content
TrustLink Labs welcomes protocol engineers, cryptographers, security researchers, distributed-systems developers, technical writers, and open-source contributors.

Start here

The TSN SDK is currently a private workspace package. Application-facing documentation here shows its intended use; access to source and package builds is managed through the repository. For implementation issues, integration discussions, deployment, or service operations, use the repository’s root documentation. This Mintlify site focuses on protocol responsibilities and application SDK behavior.

Local development and checks

For documentation changes, follow the documentation maintenance manual and applicable repository instructions. Inspect current source/tests, map internal/public impact, preserve research history and report actual validation; a generated catalog or old discussion does not establish implemented behavior. The workspace contains a root application/tooling checkout and an independent tsn-protocol checkout, plus separate research and pitch-deck repositories. Some source paths appear in overlapping parent checkouts; inspect git rev-parse --show-toplevel in the directory you intend to change. Do not assume the public docs directory is another standalone repository or use a pull/reset script to refresh a populated tree. Use the owning package’s manifest and lockfile to install its dependency tree. The SDK requires its TCAP SDK workspace dependency, ESM support and the runtime facilities used by each selected module. Receiver, Node and Cranker have different manifests, environments and test prerequisites. There is no single manifest-declared tested runtime matrix for all components; use the technology reference for declared versus observed versions. Source npm packages now disable automatic dependency lifecycle execution and require the official HTTPS registry. Named project scripts still execute code; review them and lockfile changes first. Native dependency rebuilds and automatic pre/post build preparation need individual review rather than globally enabling install scripts. The repository security record records controls and verification boundaries. These existing root commands build or test relevant packages:
Run checks appropriate to the changed contract. The first command builds TCAP SDK and TSN SDK; the browser command builds the application bundle separately. Node tests use Python unittest with package-specific prerequisites. Program integration, deployment and some security/demo scripts can submit transactions; inspect their behavior before running them. The testing guide distinguishes successful local checks from live settlement evidence and records the observed TypeScript-launcher workaround.

Protocol changes and pull requests

Read the repository’s active AGENTS.md, architecture terminology, architecture-change policy and documentation-sync policy. These references apply to agents in any environment and must be opened explicitly. Establish account/instruction layout and affected SDK/Receiver/Node/Cranker contracts before changing protocol behavior. Preserve unrelated work, configured IDs and user-managed services. A replacement should remove superseded normal runtime paths after verification; keep required one-time migrations separate and explain them. A useful pull request describes the concrete trigger, resulting behavior, affected contract boundaries and exact tests run. Report unexecuted chain results and current limitations. Update canonical architecture, ABI, lifecycle, invariants and SDK examples where their contract changed. Regenerate references from source and label proposed or experimental features explicitly. Do not publish secret configuration, private witnesses or raw authorization/session payloads as reproduction evidence. For a bug report, retain the checkout revision, selected network, affected function/route, sanitized error, expected versus observed behavior and transaction signature where applicable. A timeout needs signature/state reconciliation before being classified as failed settlement. Report security-sensitive details through the repository’s actual security policy rather than assuming a contact channel exists. Research proposals belong in the decision/experiment record with a hypothesis, evidence and adoption status.