/** * 1Sat Wallet Toolbox API Layer * * This module provides skills (self-describing actions) for interacting with the 1Sat ecosystem. * All skills work with any BRC-100 compatible wallet interface via OneSatContext. * * Usage: * ```typescript * import { createContext, transferOrdinals, skillRegistry } from '@1sat/wallet-toolbox/api'; * * // Create context with a BRC-100 compatible wallet * const ctx = createContext(wallet, { services, chain: 'main' }); * * // Execute skills directly * const result = await transferOrdinals.execute(ctx, { transfers: [...], inputBEEF: [...] }); * * // Or via registry (useful for AI agents) * const skill = skillRegistry.get('transferOrdinals'); * const result = await skill.execute(ctx, { transfers: [...], inputBEEF: [...] }); * * // Get MCP-compatible tool list * const tools = skillRegistry.toMcpTools(); * ``` */ export { type OneSatContext, type Skill, type SkillMetadata, type SkillCategory, type JsonSchemaProperty, createContext, } from "./skills/types"; export { SkillRegistry, skillRegistry, type McpTool } from "./skills/registry"; export * from "./constants"; export * from "./balance"; export * from "./payments"; export * from "./ordinals"; export * from "./tokens"; export * from "./inscriptions"; export * from "./locks"; export * from "./signing"; export * from "./broadcast"; export * from "./sweep"; export type { WalletInterface, WalletOutput, CreateActionArgs, CreateActionResult, CreateActionOutput, CreateActionInput, ListOutputsResult, ListOutputsArgs, } from "@bsv/sdk";