Core library functions for the BitGoJS SDK. This package provides the base classes, interfaces, and shared functionality used across all BitGoJS coin implementations.
npm i @bitgo/sdk-coreimport { BaseCoin, BitGoBase, common } from '@bitgo/sdk-core';@bitgo/sdk-core provides the foundational classes and interfaces that coin-specific packages extend. It includes:
- Base coin class definitions
- Transaction building interfaces
- Wallet management utilities
- Cryptographic primitives
- TSS (Threshold Signature Scheme) support
- MPC (Multi-Party Computation) utilities
- Common error types
- API interaction layer
When making changes to sdk-core, ensure that the linting, formatting, and testing succeeds when run both within the package and from the root of BitGoJS.