Skip to main content

What it does

This exported SDK function is a deliberate fail-closed boundary. It accepts the legacy direct-creation shape, but does not construct or submit a Solana transaction. The implementation throws before touching accounts or the network; TIN creation must travel through a signed TSN creation intent and an eligible Cranker.

How the flow works

1

Caller invokes the function

The caller provides a payer, identity account, display name, encrypted master seed, and optional TIN program ID.
2

Validation

The function does not validate or derive these values. It immediately rejects direct TIP creation.
3

Main work

No instruction is assembled and no RPC request is made.
4

Result

The function throws Direct TIP create is disabled; submit a TSN TIN creation intent and let a Cranker call tin_creation_registry.

Signature

Errors

Example

Source

tins.ts:836