Skip to main content

ContractDeployer.deployNFTDrop() method

Deploys a new NFTDrop contract

Example

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

Signature:

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

Parameters

ParameterTypeDescription
metadataNFTContractDeployMetadatathe contract metadata

Returns:

Promise<string>

the address of the deployed contract

Remarks

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