Skip to main content
@trustlink/tsn-cranker-sdk provides operator-side setup helpers and the tsn-cranker CLI. A Cranker submits only the authorized transaction; it does not decide route policy or create payment authorization.

Public setup helpers

The CLI delegates to these exported functions from @trustlink/tsn-sdk/blockchain/solana-tsn: TODO: confirm each helper’s generated return type from blockchain/solana-tsn.ts before documenting field-level response entries.

Direct TypeScript use

The command requires a local Solana keypair and uses TSN_RPC_GATEWAY_URL when configured by resolveSolanaRpcUrl. Source: cli.ts:1-188, index.ts, solana-tsn.ts