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
Parameter | Type | Description |
---|---|---|
metadata | MarketplaceContractDeployMetadata | the contract metadata |
Returns:
Promise<string>
the address of the deployed contract
Remarks
Deploys a Marketplace contract and returns the address of the deployed contract