zksync-cli
Version:
CLI tool that simplifies the process of developing applications and interacting with the ZKsync network
26 lines (25 loc) • 872 B
TypeScript
import { Option } from "commander";
export declare const chainOption: Option;
export declare const chainWithL1Option: Option;
export declare const l1RpcUrlOption: Option;
export declare const l2RpcUrlOption: Option;
export declare const tokenOption: Option;
export declare const accountOption: Option;
export declare const privateKeyOption: Option;
export declare const amountOptionCreate: (action: string) => Option;
export declare const recipientOptionCreate: (recipientLocation: string) => Option;
export declare const zeekOption: Option;
export type DefaultOptions = {
zeek?: boolean;
};
export type DefaultTransactionOptions = DefaultOptions & {
chain?: string;
l1Rpc?: string;
rpc?: string;
privateKey: string;
};
export type DefaultTransferOptions = DefaultTransactionOptions & {
amount: string;
recipient: string;
token: string;
};