substrate_manager/ops/
substrate_deploy.rs

1use anyhow::Ok;
2
3use crate::util::SubstrateResult;
4
5// TODO:
6// - Ask the user for their desired chain to deploy to and include it in the URL as the `rpc` arg
7pub fn deploy() -> SubstrateResult<()> {
8    let url = "https://contracts-ui.substrate.io/";
9    println!("If your browser doesn't automatically open, please open the following URL in your browser:\n{}\n", url);
10    open::that(url)?;
11
12    Ok(())
13}