Skip to main content
The SDK is published to npm as @outcome.xyz/hip4. It ships with full TypeScript types, supports both ESM and CommonJS, and has no runtime dependencies beyond your own project’s dependencies.

Install

Current version: 1.0.3-beta - see the changelog

Entry points

The package exposes two entry points:

TypeScript requirements

The SDK targets ES2020 and uses features such as optional chaining, nullish coalescing, and BigInt. Strict mode is recommended:
tsconfig.json
The SDK has zero runtime dependencies. Installing it will not add any third-party packages to your node_modules.

Module format support

The package ships both ESM (.js) and CommonJS (.cjs) builds. Your bundler or runtime will pick the right format automatically based on your project’s "type" field and import syntax. No additional configuration is required.