Skip to content

Latest commit

 

History

History

README.md

@polkadot-agent-kit/common

Shared types, chain metadata, and utilities for Polkadot Agent Kit

version downloads

Overview

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).

Features

  • 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

Installation

pnpm add @polkadot-agent-kit/common

Development

pnpm install
pnpm build
pnpm test

License

Published under MIT License.


Made with 💛 by Elastic Labs