run_contracts_node

Function run_contracts_node 

Source
pub async fn run_contracts_node(
    binary_path: PathBuf,
    output: Option<&File>,
    port: u16,
) -> Result<Child, Error>
Expand description

Runs the latest version of the substrate-contracts-node in the background.

ยงArguments

  • binary_path - The path where the binary is stored. Can be the binary name itself if in PATH.
  • output - The optional log file for node output.
  • port - The WebSocket port on which the node will listen for connections.