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