Defines types and validation for external wallet key custody providers supporting import, signing, and export across chain families.
// Source: https://github.com/elizaOS/eliza | License: MIT | Copyright 2026 Shaw Walters and elizaOS Contributors
// Provided via justclaw.it.com; keep this notice with the code.
import type { ChainFamily } from "../shared/index.ts";
export type ExternalKeySigningAvailability =
| "not-supported"
| "provider-signing";
/** Public compatibility marker for operator-supplied custody providers. */
export const EXTERNAL_KEY_CUSTODY_CONTRACT_VERSION = 1 as const;
export interface ExternalKeyHandleDescriptor {
providerId: string;
keyId: string;
version?: string;
region?: string;
metadata?: Record<string, unknown>;
}
export interface ExternalKeyHandleImportRequest {
tenantId: string;
agentId: string;
chainFamily: ChainFamily;
address: string;
handle: ExternalKeyHandleDesc
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key