Skip to main content

ContractDeployer.deployMultiwrap() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Deploys a new Multiwrap contract

Example

const contractAddress = await sdk.deployer.deployMultiwrap({
name: "My Multiwrap",
});

Signature:

deployMultiwrap(metadata: MultiwrapContractDeployMetadata): Promise<string>;

Parameters

ParameterTypeDescription
metadataMultiwrapContractDeployMetadatathe contract metadata

Returns:

Promise<string>

the address of the deployed contract

Remarks

Deploys a Multiwrap contract and returns the address of the deployed contract