TypeScript SDK
The TypeScript SDK mirrors the Python SDK exactly. Same hash chain algorithm, same canonical JSON, same test vectors. The only differences are language conventions.Installation
crypto, fs, path).
Import
TypeScript
API Naming Convention
TypeScript usescamelCase where Python uses snake_case:
Full Example
TypeScript
Options Object Pattern
TypeScript uses options objects instead of keyword arguments:TypeScript
Error Handling
TypeScript
Cross-SDK Parity
Both SDKs produce identical hashes for the same input data. This is enforced by shared test vectors infixtures/test-vectors.json.
Next Steps
API Reference
Full API documentation for both SDKs.
Configuration
All constructor options.