The @polkadot-agent-kit/common package provides shared TypeScript types, chain metadata, client helpers, and utility functions used across the Polkadot Agent Kit (core, sdk, and llm packages).
- Strongly-Typed Models: Accounts, transactions, chains, APIs
- Chain Metadata: Supported chains and helpers (relay/system/para detection)
- Formatting Utilities: Balance parsing/formatting helpers
- Crypto Utilities: Address/SS58 helpers and convenience methods
- Client Helpers: Smoldot provider utilities and client setup helpers
pnpm add @polkadot-agent-kit/commonpnpm install
pnpm build
pnpm testPublished under MIT License.
Made with 💛 by Elastic Labs