Skip to Content
API ReferenceOverview

API Reference

Complete API documentation for all embarkAI SDK packages.

The embarkAI SDK is split into three packages, each serving a distinct purpose.

Packages Overview

PackageVersionPurposeEnvironment
@embarkai/core0.4.15Auth, bundler, contract encoding, vault backup, MPC wallet managementNode.js / Browser
@embarkai/ui-kit0.4.95React components, hooks, and providers for wallet UIBrowser (React 18+)
@embarkai/mcp0.2.4Model Context Protocol server for AI-agent wallet accessNode.js

This reference documents the versions above. See the Changelog for release notes.

Installation

# Core SDK — authentication, transactions, and wallet management npm install @embarkai/core # UI Kit — React components and hooks npm install @embarkai/ui-kit # MCP Server — AI-agent integration npm install @embarkai/mcp

Package Details

@embarkai/core

The foundation layer. Provides authentication flows (email, Telegram, userId), ERC-4337 bundler integration, ERC-20/721/1155 contract encoding helpers, encrypted keyshare vault backup, and the ServerWalletManager for server-side wallet operations.

@embarkai/ui-kit

A React-based UI layer built on top of @embarkai/core. Ships a Provider component, wallet connection buttons, transaction hooks (useSendTransaction, useUserOpStatus), asset hooks, theme/language toggles, and full i18n support.

@embarkai/mcp

An MCP-compatible server that exposes wallet operations as AI-agent tools. Includes seven built-in tools for balance queries, token transfers, contract reads, chain switching, and transaction status checks.

Last updated on