Skip to main content

ContractDeployer.deployPack() method

Deploys a new Pack contract

Example

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

Signature:

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

Parameters

ParameterTypeDescription
metadataNFTContractDeployMetadatathe contract metadata

Returns:

Promise<string>

the address of the deployed contract

Remarks

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