UNPKG

cosmic-interchain-cli

Version:

A command-line utility for Cosmic Wire's interchain messaging protocol

15 lines 943 B
import { ChainMap, ChainMetadata, ChainName } from '@hyperlane-xyz/sdk'; import { CommandContext, ContextSettings } from './types.js'; export declare function contextMiddleware(argv: Record<string, any>): Promise<void>; /** * Retrieves context for the user-selected command * @returns context for the current command */ export declare function getContext({ registryUri, registryOverrideUri, key, requiresKey, skipConfirmation, }: ContextSettings): Promise<CommandContext>; /** * Retrieves dry-run context for the user-selected command * @returns dry-run context for the current command */ export declare function getDryRunContext({ registryUri, registryOverrideUri, key, fromAddress, skipConfirmation, }: ContextSettings, chain?: ChainName): Promise<CommandContext>; export declare function getOrRequestApiKeys(chains: ChainName[], chainMetadata: ChainMap<ChainMetadata>): Promise<ChainMap<string>>; //# sourceMappingURL=context.d.ts.map