zksync-cli
Version:
CLI tool that simplifies the process of developing applications and interacting with the ZKsync network
8 lines (7 loc) • 312 B
TypeScript
import type { L2Chain } from "../data/chains.js";
export declare const promptChain: <T extends Record<string, unknown> | undefined>(prompt: {
message: string;
name: string;
}, chains?: {
filter?: ((chain: L2Chain) => boolean) | undefined;
} | undefined, options?: T | undefined) => Promise<L2Chain>;