Function forc_client::ops::deploy::op::deploy

source ·
pub async fn deploy(command: DeployCommand) -> Result<Vec<DeployedContract>>
Expand description

Builds and deploys contract(s). If the given path corresponds to a workspace, all deployable members will be built and deployed.

Upon success, returns the ID of each deployed contract in order of deployment.

When deploying a single contract, only that contract’s ID is returned.