Installation
Umbrella package
Install the unified entry point:
pnpm add @parity/product-sdkThis re-exports every module and provides createApp(). For most applications, this is all you need.
Individual packages
Install only what you use:
pnpm add @parity/product-sdk-chain-client @parity/product-sdk-tx| Package | Role |
|---|---|
@parity/product-sdk-chain-client | Multi-chain PAPI client |
@parity/product-sdk-tx | Transaction submission and batching |
@parity/product-sdk-signer | Multi-provider signer manager |
@parity/product-sdk-contracts | Typed Asset Hub contract calls |
@parity/product-sdk-cloud-storage | Cloud Storage upload and retrieval |
@parity/product-sdk-statement-store | Statement Store publish/subscribe |
@parity/product-sdk-keys | Hierarchical key derivation |
@parity/product-sdk-local-storage | Key-value storage abstraction |
@parity/product-sdk-host | Container detection and host APIs |
@parity/product-sdk-address | SS58/H160 encoding and conversion |
@parity/product-sdk-crypto | Cryptographic primitives |
@parity/product-sdk-descriptors | PAPI chain descriptors |
@parity/product-sdk-logger | Structured logging |
@parity/product-sdk-utils | Encoding and balance formatting |
Requirements
- Node.js ≥ 20
- Module format: ESM only. The SDK does not ship CommonJS builds.
- TypeScript ≥ 5.0 if consuming types (strict mode supported)
- Runtime host: the umbrella
@parity/product-sdkrequires a compatible host (Polkadot Desktop, Polkadot Mobile, or a web host like dot.li ). For local development,@parity/host-api-test-sdkembeds a test host in your dev server.
Next step
Continue to the Quickstart.
Last updated on