Skip to main content

ContractDeployer.deployMarketplace() method

Deploys a new Marketplace contract

Example

const contractAddress = await sdk.deployer.deployMarketplace({
name: "My Marketplace",
primary_sale_recipient: "your-address",
});

Signature:

deployMarketplace(metadata: MarketplaceContractDeployMetadata): Promise<string>;

Parameters

ParameterTypeDescription
metadataMarketplaceContractDeployMetadatathe contract metadata

Returns:

Promise<string>

the address of the deployed contract

Remarks

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