UNPKG

@zombienet/cli

Version:

ZombieNet aim to be a testing framework for substrate based blockchains, providing a simple cli tool that allow users to spawn and test ephemeral Substrate based networks

14 lines (13 loc) 735 B
import { Network } from "@zombienet/orchestrator"; /** * Spawn - spawns ephemeral networks, providing a simple but powerful cli that allow you to declare * the desired network in toml or json format. * Read more here: https://paritytech.github.io/zombienet/cli/spawn.html * @param configFile: config file, supported both json and toml formats * @param credsFile: Credentials file name or path> to use (Only> with kubernetes provider), we look * in the current directory or in $HOME/.kube/ if a filename is passed. * @param _opts * * @returns Network */ export declare function spawn(configFile: string, credsFile: string | undefined, cmdOpts: any, program: any, setGlobalNetwork: (network: Network) => void): Promise<void>;