interface LaunchTestNodeOptions<TContractConfigs> {
    contractsConfigs: TContractConfigs;
    launchNodeServerPort?: string;
    nodeOptions?: Partial<Omit<LaunchNodeOptions, "snapshotConfig"> & {
        snapshotConfig: PartialObjectDeep<SnapshotConfigs, {}>;
    }>;
    providerOptions?: Partial<ProviderOptions>;
    walletsConfig?: Partial<WalletsConfigOptions>;
}

Type Parameters

Hierarchy

  • LaunchCustomProviderAndGetWalletsOptions
    • LaunchTestNodeOptions

Properties

contractsConfigs: TContractConfigs

Pass in either the path to the contract's root directory to deploy the contract or use DeployContractConfig for more control.

launchNodeServerPort?: string
nodeOptions?: Partial<Omit<LaunchNodeOptions, "snapshotConfig"> & {
    snapshotConfig: PartialObjectDeep<SnapshotConfigs, {}>;
}>

Options for configuring the test node.

providerOptions?: Partial<ProviderOptions>

Options for configuring the provider.

walletsConfig?: Partial<WalletsConfigOptions>

Configures the wallets that should exist in the genesis block of the fuel-core node.