sdk

Configure Kaia SDKs and resolve tool compatibility for JavaScript and TypeScript dApps.

3|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/Pieverse-Eng/purrfect-skills --skill sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sdk
Source: https://github.com/Pieverse-Eng/purrfect-skills/tree/main/kaia-skills/vendor/sdk
Command: npx skills add https://github.com/Pieverse-Eng/purrfect-skills --skill sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Kaia SDK documentation eliminates confusion when configuring Kaia-specific SDKs and developer tooling by clarifying version mappings, import paths, Node requirements, and common deployment and verification pitfalls.

Core Features & Use Cases

  • SDK Selection & Version Guidance: Details @kaiachain/ethers-ext, @kaiachain/viem-ext, and web3.js integrations and the correct subpath usage for ethers v5 vs v6.
  • Tooling Compatibility & Troubleshooting: Documents compatibility and gotchas for Hardhat, Foundry, Remix, verification with Kaiascan, and Node version recommendations.
  • RPC Namespaces & Deployment Advice: Explains Kaia-specific RPC namespaces, recommended provider endpoints, and practical deployment/test configuration tips.

Quick Start

Use the sdk skill to set up the appropriate @kaiachain SDK for my project, verify Node and toolchain compatibility, and produce the minimal configuration required for local testing and on-chain verification.

Frequently Asked Questions about sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure ethers.js for Kaia blockchain development?

Configure the @kaiachain/ethers-ext SDK for Kaia development by mapping the correct subpath import for ethers v5 or v6. This ensures proper RPC namespace compatibility and provider setup for your JavaScript dApp.

Does Foundry work with Kaia for smart contract verification?

Yes, Foundry works with Kaia for deployment and verification. You must apply the correct Foundry verification configuration to verify contracts on Kaiascan, resolving common tool compatibility issues during local development and on-chain testing.

What Node version do I need to run Hardhat and Kaia SDKs?

Kaia SDKs require specific Node version recommendations to ensure Hardhat compatibility and stable toolchain performance. Matching the recommended Node version prevents runtime errors when executing local tests and deploying contracts.

Can I use viem with Kaia blockchain networks?

Yes, you can use viem with Kaia by integrating the @kaiachain/viem-ext package. This integration provides Kaia-specific RPC namespace guidance and ensures proper provider endpoints for TypeScript dApp projects.

Why does my Hardhat deployment fail when targeting Kaia?

Hardhat deployments fail due to incorrect SDK subpath mapping, incompatible Node versions, or misconfigured Kaiascan verification settings. Resolving these tool compatibility issues ensures successful local testing and on-chain deployment.

What is the best way to set up web3.js for a Kaia dApp?

The best way to set up web3.js is integrating the Kaia-specific web3.js extension and configuring the correct provider endpoints. This approach resolves tool compatibility issues and aligns with Kaia RPC namespaces.