Skip to main content

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

releaserWalletAddress

The wallet address of that released the contract.

Must be a string.

contractName

The name of the contract they released, that you want to deploy.

Must be a string.

constructorArguments

The arguments to pass to the constructor of the contract.

Must be an object[].

DeployFromContractUri

Deploy a smart contract using its URI.

string contractAddress = await sdk.deployer.DeployFromContractUri("{{uri}}", new object[]
{
// ... constructor arguments
});
Configuration

uri

The URI of the contract to deploy.

Must be a string.

constructorArguments

The arguments to pass to the constructor of the contract.

Must be an object[].

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

name

The name of your smart contract.

Must be a string.

description

The description of your smart contract.

Must be a string.

symbol

The symbol of your smart contract, used as the ticker symbol for the token.

Must be a string.

image

An IPFS URI or URL to an image representing your smart contract.

Must be a string.

Where users can view more information about your smart contract.

Must be a string.

primary_sale_recipient

The wallet address that will receive the primary sales on the smart contract.

Must be a string.

fee_recipient

The wallet address that will receive the funds from secondary sales on the smart contract.

Must be a string.

seller_fee_basis_points

The amount of fees that are taken on secondary sales.

Must be an int.

platform_fee_recipient

The wallet address that will receive the funds from platform fees on the smart contract.

Must be a string.

platform_fee_basis_points

The platform fee that is taken whenever funds are transferred on the smart contract.

Must be an int.

trusted_forwarders

An array of strings containing the addresses of trusted forwarders.

Used for gasless transactions.

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

name

The name of your smart contract.

Must be a string.

description

The description of your smart contract.

Must be a string.

symbol

The symbol of your smart contract, used as the ticker symbol for the token.

Must be a string.

image

An IPFS URI or URL to an image representing your smart contract.

Must be a string.

Where users can view more information about your smart contract.

Must be a string.

primary_sale_recipient

The wallet address that will receive the primary sales on the smart contract.

Must be a string.

fee_recipient

The wallet address that will receive the funds from secondary sales on the smart contract.

Must be a string.

seller_fee_basis_points

The amount of fees that are taken on secondary sales.

Must be an int.

platform_fee_recipient

The wallet address that will receive the funds from platform fees on the smart contract.

Must be a string.

platform_fee_basis_points

The platform fee that is taken whenever funds are transferred on the smart contract.

Must be an int.

trusted_forwarders

An array of strings containing the addresses of trusted forwarders.

Used for gasless transactions.

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

name

The name of your smart contract.

Must be a string.

description

The description of your smart contract.

Must be a string.

image

An IPFS URI or URL to an image representing your smart contract.

Must be a string.

Where users can view more information about your smart contract.

Must be a string.

primary_sale_recipient

The wallet address that will receive the primary sales on the smart contract.

Must be a string.

fee_recipient

The wallet address that will receive the funds from secondary sales on the smart contract.

Must be a string.

seller_fee_basis_points

The amount of fees that are taken on secondary sales.

Must be an int.

platform_fee_recipient

The wallet address that will receive the funds from platform fees on the smart contract.

Must be a string.

platform_fee_basis_points

The platform fee that is taken whenever funds are transferred on the smart contract.

Must be an int.

trusted_forwarders

An array of strings containing the addresses of trusted forwarders.

Used for gasless transactions.

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

name

The name of your smart contract.

Must be a string.

description

The description of your smart contract.

Must be a string.

symbol

The symbol of your smart contract, used as the ticker symbol for the token.

Must be a string.

image

An IPFS URI or URL to an image representing your smart contract.

Must be a string.

Where users can view more information about your smart contract.

Must be a string.

primary_sale_recipient

The wallet address that will receive the primary sales on the smart contract.

Must be a string.

fee_recipient

The wallet address that will receive the funds from secondary sales on the smart contract.

Must be a string.

seller_fee_basis_points

The amount of fees that are taken on secondary sales.

Must be an int.

platform_fee_recipient

The wallet address that will receive the funds from platform fees on the smart contract.

Must be a string.

platform_fee_basis_points

The platform fee that is taken whenever funds are transferred on the smart contract.

Must be an int.

trusted_forwarders

An array of strings containing the addresses of trusted forwarders.

Used for gasless transactions.

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

name

The name of your smart contract.

Must be a string.

description

The description of your smart contract.

Must be a string.

symbol

The symbol of your smart contract, used as the ticker symbol for the token.

Must be a string.

image

An IPFS URI or URL to an image representing your smart contract.

Must be a string.

Where users can view more information about your smart contract.

Must be a string.

primary_sale_recipient

The wallet address that will receive the primary sales on the smart contract.

Must be a string.

fee_recipient

The wallet address that will receive the funds from secondary sales on the smart contract.

Must be a string.

seller_fee_basis_points

The amount of fees that are taken on secondary sales.

Must be an int.

platform_fee_recipient

The wallet address that will receive the funds from platform fees on the smart contract.

Must be a string.

platform_fee_basis_points

The platform fee that is taken whenever funds are transferred on the smart contract.

Must be an int.

trusted_forwarders

An array of strings containing the addresses of trusted forwarders.

Used for gasless transactions.

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

name

The name of your smart contract.

Must be a string.

description

The description of your smart contract.

Must be a string.

symbol

The symbol of your smart contract, used as the ticker symbol for the token.

Must be a string.

image

An IPFS URI or URL to an image representing your smart contract.

Must be a string.

Where users can view more information about your smart contract.

Must be a string.

primary_sale_recipient

The wallet address that will receive the primary sales on the smart contract.

Must be a string.

fee_recipient

The wallet address that will receive the funds from secondary sales on the smart contract.

Must be a string.

seller_fee_basis_points

The amount of fees that are taken on secondary sales.

Must be an int.

platform_fee_recipient

The wallet address that will receive the funds from platform fees on the smart contract.

Must be a string.

platform_fee_basis_points

The platform fee that is taken whenever funds are transferred on the smart contract.

Must be an int.

trusted_forwarders

An array of strings containing the addresses of trusted forwarders.

Used for gasless transactions.

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

name

The name of your smart contract.

Must be a string.

description

The description of your smart contract.

Must be a string.

symbol

The symbol of your smart contract, used as the ticker symbol for the token.

Must be a string.

image

An IPFS URI or URL to an image representing your smart contract.

Must be a string.

Where users can view more information about your smart contract.

Must be a string.

primary_sale_recipient

The wallet address that will receive the primary sales on the smart contract.

Must be a string.

fee_recipient

The wallet address that will receive the funds from secondary sales on the smart contract.

Must be a string.

seller_fee_basis_points

The amount of fees that are taken on secondary sales.

Must be an int.

platform_fee_recipient

The wallet address that will receive the funds from platform fees on the smart contract.

Must be a string.

platform_fee_basis_points

The platform fee that is taken whenever funds are transferred on the smart contract.

Must be an int.

trusted_forwarders

An array of strings containing the addresses of trusted forwarders.

Used for gasless transactions.

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

name

The name of your smart contract.

Must be a string.

description

The description of your smart contract.

Must be a string.

symbol

The symbol of your smart contract, used as the ticker symbol for the token.

Must be a string.

image

An IPFS URI or URL to an image representing your smart contract.

Must be a string.

Where users can view more information about your smart contract.

Must be a string.

primary_sale_recipient

The wallet address that will receive the primary sales on the smart contract.

Must be a string.

fee_recipient

The wallet address that will receive the funds from secondary sales on the smart contract.

Must be a string.

seller_fee_basis_points

The amount of fees that are taken on secondary sales.

Must be an int.

platform_fee_recipient

The wallet address that will receive the funds from platform fees on the smart contract.

Must be a string.

platform_fee_basis_points

The platform fee that is taken whenever funds are transferred on the smart contract.

Must be an int.

trusted_forwarders

An array of strings containing the addresses of trusted forwarders.

Used for gasless transactions.

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

name

The name of your smart contract.

Must be a string.

description

The description of your smart contract.

Must be a string.

symbol

The symbol of your smart contract, used as the ticker symbol for the token.

Must be a string.

image

An IPFS URI or URL to an image representing your smart contract.

Must be a string.

Where users can view more information about your smart contract.

Must be a string.

primary_sale_recipient

The wallet address that will receive the primary sales on the smart contract.

Must be a string.

platform_fee_recipient

The wallet address that will receive the funds from platform fees on the smart contract.

Must be a string.

platform_fee_basis_points

The platform fee that is taken whenever funds are transferred on the smart contract.

Must be an int.

trusted_forwarders

An array of strings containing the addresses of trusted forwarders.

Used for gasless transactions.

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}}"
});
Configuration

name

The name of your smart contract.

Must be a string.

description

The description of your smart contract.

Must be a string.

symbol

The symbol of your smart contract, used as the ticker symbol for the token.

Must be a string.

image

An IPFS URI or URL to an image representing your smart contract.

Must be a string.

Where users can view more information about your smart contract.

Must be a string.

primary_sale_recipient

The wallet address that will receive the primary sales on the smart contract.

Must be a string.

platform_fee_recipient

The wallet address that will receive the funds from platform fees on the smart contract.

Must be a string.

platform_fee_basis_points

The platform fee that is taken whenever funds are transferred on the smart contract.

Must be an int.

trusted_forwarders

An array of strings containing the addresses of trusted forwarders.

Used for gasless transactions.