@polkadot-agent-kit/core
v2.1.5
Published
Core Package for Polkadot Agent Kit
Readme
Overview
The @polkadot-agent-kit/core package provides core functionality for building AI agents that interact with the Polkadot ecosystem. It includes utilities for blockchain operations, DeFi interactions, staking, and cross-chain transfers.
Features
- Cross-Chain Transfers (XCM) - Native asset transfers between parachains
- DeFi Operations - Token swaps and liquidity operations
- Staking & Nomination Pools - Join pools, bond/unbond, claim rewards
- Bifrost Integration - Mint vDOT tokens and liquid staking
- Utility Functions - Address validation, balance checking, transaction handling
Installation
pnpm add @polkadot-agent-kit/coreDevelopment
Prerequisites
- Node.js >= 22
- pnpm (recommended)
Setup & Run
# Install dependencies
pnpm install
# Build the package
pnpm build
# Run tests
pnpm test
Available Scripts
pnpm build- Build the packagepnpm test- Run unit testspnpm lint- Run ESLintpnpm compile- TypeScript compilation checkpnpm format:write- Format code with Prettier
License
Published under MIT License.
Made with 💛 by Elastic Labs
