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