Skip to main content

Deploy Contracts

Deploy smart contracts directly from the SDK using the connected wallet with the Deployer class.

Prebuilt Contracts

Deploy any prebuilt contract such as the NFT Collection or Token by providing the required metadata of the contract.

Prebuilt ContractMethod NameRequired Metadata
NFTCollectionDeployNFTCollectionNFTContractDeployMetadata
NFTDropDeployNFTDropNFTContractDeployMetadata
SignatureDropDeploySignatureDropNFTContractDeployMetadata
MultiwrapDeployMultiwrapNFTContractDeployMetadata
EditionDeployEditionNFTContractDeployMetadata
PackDeployPackNFTContractDeployMetadata
TokenDeployTokenTokenContractDeployMetadata
TokenDropDeployTokenDropTokenContractDeployMetadata
MarketplaceDeployMarketplaceMarketplaceContractDeployMetadata

Released Contracts

Deploy a contract that has been released by passing the author and name of the contract.

await sdk.deployer.DeployFromContractUri(
// Wallet address of the author of the contract
"<releaser-wallet-address>",
// Name of the released contract
"<contract-name>",
// Each value in the list represents a constructor argument
new object[] { }
);

From Contract URI

await sdk.deployer.DeployFromContractUri(
// URI of your smart contract
"<your-contract-URI>",
// Each value in the list represents a constructor argument
new object[] { }
);