Skip to main content

ContractDeployer.deployNFTCollection() method

Deploys an NFT Collection contract

Example

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

Signature:

deployNFTCollection(metadata: NFTContractDeployMetadata): Promise<string>;

Parameters

ParameterTypeDescription
metadataNFTContractDeployMetadatathe contract metadata

Returns:

Promise<string>

the address of the deployed contract

Remarks

Deploys an NFT Collection contract and returns the address of the deployed contract