Core Package for Polkadot Agent Kit
npm install @polkadot-agent-kit/coreThe @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.
- 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
``bash`
pnpm add @polkadot-agent-kit/core
`bashInstall dependencies
pnpm install
`
- pnpm build - Build the packagepnpm test
- - Run unit testspnpm lint
- - Run ESLintpnpm compile
- - TypeScript compilation checkpnpm format:write` - Format code with Prettier
-
Published under MIT License.
---
Made with 💛 by Elastic Labs