@trustlink/tsn-sdk in the app where you collect wallet payments or read a TIN balance. Use the private workspace package from your source checkout or a built copy supplied to your team.
Build from the workspace
Install the workspace dependencies, then build from the TrustLink workspace root.tsn-protocol/sdks/tsn-sdk/dist. The build also compiles its local TCAP SDK dependency.
Add the SDK to your app
Use the workspace dependency if your app is part of the checkout. For a separate app, run this command from the app directory and replace/absolute/path/to/trust-link with your checkout path.
@trustlink/tsn-sdk/client or @trustlink/tsn-sdk/tin-owner-balance. Some root exports require a server runtime. Configure your app.
Check the setup
From the app directory, check that Node.js can load the SDK’s ESM client.TsnHttpClient. Next, check your app’s TSN endpoints. Check TSN network status