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 Contract | Method Name | Required Metadata |
---|---|---|
NFTCollection | DeployNFTCollection | NFTContractDeployMetadata |
NFTDrop | DeployNFTDrop | NFTContractDeployMetadata |
SignatureDrop | DeploySignatureDrop | NFTContractDeployMetadata |
Multiwrap | DeployMultiwrap | NFTContractDeployMetadata |
Edition | DeployEdition | NFTContractDeployMetadata |
Pack | DeployPack | NFTContractDeployMetadata |
Token | DeployToken | TokenContractDeployMetadata |
TokenDrop | DeployTokenDrop | TokenContractDeployMetadata |
Marketplace | DeployMarketplace | MarketplaceContractDeployMetadata |
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[] { }
);