TypeScript Quickstart
Build a private payment flow in your web app with the TypeScript SDK.This quickstart gets you running in 5 minutes with minimal explanation. For detailed walkthroughs of each step, see the TypeScript Getting Started guide. For background on configuration and auth options, see Setup.
Installation
Quick Example
When does
credentialRequired fire?
credentialRequired only fires when persistence with pin or password unlock is configured. For the simple case (no persistence), authenticate() always returns authenticated directly.For
send() and unshield(), the returned txHash is a client-side placeholder until the canonical on-chain hash is available — poll by requestId (sdk.transactions.getTransferStatus / getUnshieldStatus). For shield(), txHash is the real on-chain hash because the wallet signs and submits it directly.Progress Tracking
Track operation progress with callbacks:Next Steps
TypeScript Getting Started
Detailed walkthrough of each integration step
Setup Guide
App ID, configuration, and auth method selection
Deposits Guide
Deposits, withdrawals, transfers, and balance queries
API Reference
Complete method signatures and type definitions