Skip to main content

ContractDeployer.deployTokenDrop() method

Deploys a new Token Drop contract

Example

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

Signature:

deployTokenDrop(metadata: TokenContractDeployMetadata): Promise<string>;

Parameters

ParameterTypeDescription
metadataTokenContractDeployMetadatathe contract metadata

Returns:

Promise<string>

the address of the deployed contract

Remarks

Deploys a Token Drop contract and returns the address of the deployed contract