Contract Deployer
Deploy smart contracts from the connected wallet.
DeployReleasedContract
Deploy a smart contract that is available through release.
string contractAddress = await sdk.deployer.DeployReleasedContract(
"{{releaser_wallet_address}}",
"contractName",
new object[]
{
// Constructor arguments
}
);
Configuration
DeployFromContractUri
Deploy a smart contract using its URI.
string contractAddress = await sdk.deployer.DeployFromContractUri("{{uri}}", new object[]
{
// ... constructor arguments
});
Configuration
DeployEdition
Deploy a new Edition smart contract.
string contractAddress = await sdk.deployer.DeployEdition(new NFTContractDeployMetadata()
{
name = "My Edition",
description = "A description for my smart contract",
symbol = "{{symbol}}",
image = "ipfs://some-image-uri",
primary_sale_recipient = "{{wallet_address}}"
});
Configuration
DeployEditionDrop
Deploy a new Edition Drop smart contract.
string contractAddress = await sdk.deployer.DeployEditionDrop(new NFTContractDeployMetadata()
{
name = "My Edition Drop",
description = "A description for my smart contract",
symbol = "{{symbol}}",
image = "ipfs://some-image-uri",
primary_sale_recipient = "{{wallet_address}}"
});
Configuration
DeployMarketplace
Deploy a new Marketplace smart contract.
string contractAddress = await sdk.deployer.DeployMarketplace(new MarketplaceContractDeployMetadata()
{
name = "My Marketplace",
description = "A description for my smart contract",
image = "ipfs://some-image-uri"
});
Configuration
DeployMultiwrap
Deploy a new Multiwrap smart contract.
string contractAddress = await sdk.deployer.DeployMultiwrap(new NFTContractDeployMetadata()
{
name = "My NFT Collection",
description = "A description for my smart contract",
symbol = "{{symbol}}",
image = "ipfs://some-image-uri",
primary_sale_recipient = "{{wallet_address}}"
});
Configuration
DeployNFTCollection
Deploy a new NFT Collection smart contract.
string contractAddress = await sdk.deployer.DeployNFTCollection(new NFTContractDeployMetadata()
{
name = "My NFT Collection",
description = "A description for my smart contract",
symbol = "{{symbol}}",
image = "ipfs://some-image-uri",
primary_sale_recipient = "{{wallet_address}}"
});
Configuration
DeployNFTDrop
Deploy a new NFT Drop smart contract.
string contractAddress = await sdk.deployer.DeployNFTDrop(new NFTContractDeployMetadata()
{
name = "My NFT Collection",
description = "A description for my smart contract",
symbol = "{{symbol}}",
image = "ipfs://some-image-uri",
primary_sale_recipient = "{{wallet_address}}"
});
Configuration
DeployPack
Deploy a new Pack smart contract.
string contractAddress = await sdk.deployer.DeployPack(new NFTContractDeployMetadata()
{
name = "My Pack",
description = "A description for my smart contract",
symbol = "{{symbol}}",
image = "ipfs://some-image-uri",
primary_sale_recipient = "{{wallet_address}}"
});
Configuration
DeploySignatureDrop
Deploy a new Signature Drop smart contract.
string contractAddress = await sdk.deployer.DeploySignatureDrop(new NFTContractDeployMetadata()
{
name = "My Signature Drop",
description = "A description for my smart contract",
symbol = "{{symbol}}",
image = "ipfs://some-image-uri",
primary_sale_recipient = "{{wallet_address}}"
});
Configuration
DeployToken
Deploy a new Token smart contract.
string contractAddress = await sdk.deployer.DeployToken(new TokenContractDeployMetadata()
{
name = "My Token",
description = "A description for my smart contract",
symbol = "MYCOIN",
image = "ipfs://some-image-uri",
primary_sale_recipient = "{{wallet_address}}"
});
Configuration
DeployTokenDrop
Deploy a new Token Drop smart contract.
string contractAddress = await sdk.deployer.DeployTokenDrop(new TokenContractDeployMetadata()
{
name = "My Token",
description = "A description for my smart contract",
symbol = "MYCOIN",
image = "ipfs://some-image-uri",
primary_sale_recipient = "{{wallet_address}}"
});