Framework-agnostic core SDK for EmbarkAI smart accounts — Account Abstraction (ERC-4337) with MPC wallet infrastructure.
npm install @embarkai/core viem dkls23-wasmimport { createServerWalletManager, MemoryKeyshareStorage } from '@embarkai/core';
const manager = createServerWalletManager({
apiKey: process.env.EMBARK_API_KEY!,
storage: new MemoryKeyshareStorage(),
});
// Create a wallet
const wallet = await manager.createWallet('my-wallet');
console.log('Smart Account:', wallet.smartAccountAddress);
// Send transaction via Account Abstraction
const userOpHash = await wallet.sendUserOperation(
'0xRecipient...', '1000000000000000000', '0x', 'standard'
);- Zero React dependencies — Works in Node.js, browser, and edge functions
- Account Abstraction — Full ERC-4337 support
- MPC/TSS — Secure threshold key management
- Server-side wallets — Backend wallet management with API keys
- Multi-chain — Lumia, Ethereum Sepolia, BSC Testnet, Arbitrum Sepolia, Base Sepolia
- Blockchain read layer — Cached RPC calls with fallback
- Contract encoding helpers — ERC20, ERC721, ERC1155, arbitrary ABI
| Package | Description |
|---|---|
| @embarkai/ui-kit | React components and hooks |
| @embarkai/mcp | MCP server for AI agents |
- Changelog
- Issues — Bug reports and feature requests
- Discussions — Questions, ideas, and RFCs
MIT