Function forc_client::op::deploy
source · pub async fn deploy(command: Deploy) -> 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.