buildTinOwnerIntentMessage
Build the wallet-displayable message for a TIN owner intent. Solana wallets such as Phantom intentionally reject arbitrary binary messages that look like a transaction payload. The owner commitment stays the exact 32-byteintentHash; the wallet signs this deterministic UTF-8
wrapper, and verifiers bind it to the recomputed commitment.
Import from @trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 547.
buildTinV1Creation
Prepare a private TIN V1 creation. The raw TIN and lookup secret are used only to create the encrypted envelope and keyed commitment; callers submit the returned payload without either plaintext value. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 952.
buildTinV1OwnerRecoveryMessage
Canonical wallet-signature message used locally to derive the key for the encrypted TIN recovery record. This signature does not authorize a transaction. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 345.
createOwnerIntentSignatureInstruction
Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 573.
createTinV1IdentityEnvelope
Build the encrypted identity fields required by CreateTinV1. The TIN is the private lookup material; only its commitment is returned. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 799.
createTinV1OwnerIntentHash
Build the canonical owner intent for a private TIN V1 registry record. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 896.
createTinV1OwnerRecoveryEnvelope
Encrypt a new owner’s TIN locally for the owner-indexed recovery PDA. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 407.
decryptTinV1OwnerRecoveryEnvelope
Decrypt the owner-recovery record locally after wallet signing. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 431.
DEFAULT_TIP_PROGRAM_ID
Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 15.
getTinsGlobalStatePda
Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 257.
getTinsProgramPublicKey
Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 72.
getTinV1CreationStagingPda
PDA that holds one in-progress, owner-authorized staged TIN creation. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 277.
getTinV1OwnerRecoveryEnvelope
Read the encrypted owner recovery envelope from its owner-indexed TIP PDA. The TIN remains encrypted; the wallet signature used to decrypt it stays on the owner’s device. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 302.
getTinV1OwnerRecoveryMessageForEnvelope
Return the same stable message that was signed when the recovery envelope was created. The envelope is checked for a supported TIN V1 format first. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 365.
getTinV1OwnerRecoveryPda
Owner-indexed locator used only for wallet-authorized TIN recovery. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 289.
getTinV1RegistryPda
Derive the private V1 registry PDA from a TIN and the configured lookup key. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 79.
getTipRouteMerkleRootV1Pda
One TIP-wide append-only route-membership root shared by all TINs. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 267.
resolveTinV1Identity
Resolve the owner-provided identity directly from the TIP V1 registry RPC account. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 144.
serializeTinV1CreationChunkParams
Serialize instruction 20: append one bounded encrypted-data chunk. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 745.
serializeTinV1CreationCloseParams
Serialize instruction 22: recover expired staged-creation rent. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 768.
serializeTinV1CreationFinalizeParams
Serialize instruction 21: finalize by the creation intent hash. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 761.
serializeTinV1CreationParams
Serialize a Node-verified CreateTinV1 payload without receiving the lookup secret. Plaintext lookup material remains on the owner side. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 590.
serializeTinV1CreationStageParams
Serialize instruction 19: initialize a bounded, intent-bound TIN V1 stage. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 679.
submitTinV1Creation
Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 839.
TINS_PROGRAM_SALT
Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 17.
validateTinTipRoute
Validate the public TIP route associated with a TIN. The privacy-receiving root, snapshot key, and any spend authority remain on the owner device; only these commitments are safe to pass through coordination services. Import from@trustlink/tsn-sdk or @trustlink/tsn-sdk/tins. Implementation, line 36.