pub trait DeployScript {
// Required method
fn deploy(
&self,
env: &HostEnv,
container: &mut DeployedContractsContainer,
) -> Result<(), DeployError>;
}Expand description
Script that deploys contracts to the blockchain and stores contract data for further use.
In a deploy script, you can define the contracts that you want to deploy to the blockchain and write metadata to the container.