Skip to main content

ContractDeployer.deployEdition() method

Deploys a new Edition contract

Example

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

Signature:

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

Parameters

ParameterTypeDescription
metadataNFTContractDeployMetadatathe contract metadata

Returns:

Promise<string>

the address of the deployed contract

Remarks

Deploys an Edition contract and returns the address of the deployed contract