Before you start
- Open your configured instance of TSN XP, the TSN reference app.
- Connect the wallet you want to keep using for owner access. The wallet must support signing messages.
Register in TSN XP
1
Open Create TIN
Choose Create TIN, enter your display name, and select Prepare owner creation.
2
Approve creation with your wallet
Review the prompts for local seed encryption, local TIN recovery encryption, and approval of the creation request.
3
Copy the confirmed TIN
Wait for XP to display your new TIN and the Solana signature. Copy the TIN as a ten-character string so any leading zero is preserved.
Add creation to your app
Follow the XP implementation to allocate the TIN in a trusted issuer and prepare the owner’s encrypted recovery data in their browser. The issuer builds the request withbuildTinV1Creation and generates the issuance proof for that exact request. Keep the lookup secret on the trusted backend and the recovery signature on the owner’s device. Issuer implementation · Wallet prompts
Create the exact message on the issuer’s backend and send it to the owner to sign. After the owner signs its UTF-8 bytes with their wallet, submit using the saved request and proof.
create-tin.ts
TIN_OPERATION_ID to the returned operationId and TSN_RECEIVER_URL to your Receiver base URL.
TIN_OPERATION work with status CONFIRMED and a result.signature. For staged creation, use the signature of the final registry transaction. Verify it on the Solana RPC for the same deployment, then show the TIN in the authenticated owner flow. TIN SDK reference