Skip to main content

Creating Collections

What you'll need:
  • Some Enjin Coin on Enjin Matrixchain to pay for Transaction Fees and 6.25 ENJ for Storage Deposits.
    You can obtain cENJ (Canary ENJ) for testing from the Canary faucet.
  • An Enjin Platform Account.

On Enjin Blockchain, every token must be placed inside a Collection

.

There are two ways to use the Create Collection functionalities:

  1. Using the Enjin Dashboard
  2. Using the Enjin API & SDKs

Option A. Using the Enjin Dashboard

In the Platform menu, navigate to "Collections". Then, click the "Create Collection" button.

Creating a collection

From here, you can customize your collection's Mint Policy, Market Policy, Explicit Currencies (on option to delegate a token for Royalties

), and Attributes.

  • Mint Policy - The rules pertaining to token supply and number of tokens available to be minted in the future.
  • Market Policy - Determines the rules which tokens in this collection must follow when interacting with the on-chain marketplace.
  • Explicit Royalty Currencies - Choose which currencies are required to pay marketplace royalties for the tokens in this collection.
  • Attributes - Set the collection details which are details stored in pairs, like a title and its content. Certain attributes, such as name and description, have special roles that are understood by many platforms, wallets and marketplaces.

Once you're satisfied with the options, click on the "Create" button at the bottom right corner to create the request.

The Transaction Request will then appear in the "Transactions" menu.

Collection created banner that appears after creating a transaction request

Pending create collection transaction

Since this request requires a Transaction

, it'll need to be signed with your Wallet.

  • If a Wallet Daemon is running and configured, the transaction request will be signed automatically.
  • If a wallet is connected such as the Enjin Wallet or Polkadot.js, the transaction must be signed manually by clicking the "Sign" button and approving the signature request in your wallet.

Once you've created a collection you're ready to start creating tokens.

Option B. Using the Enjin API & SDKs

The CreateCollection mutation is used to create a new on-chain collection.

mutation CreateCollection {
CreateCollection(mintPolicy: { forceCollapsingSupply: false }) #Set to true to enforce collapsing supply mint policy
{
id
method
state
}
}
Explore More Arguments

For a comprehensive view of all available arguments for queries and mutations, please refer to our API Reference. This resource will guide you on how to use the GraphiQL Playground to explore the full structure and functionality of our API.
For instance, you'll find settings such as different supply types with the MintPolicy argument, enforcing royalties with the MarketPolicy argument, or adding metadata with the AttributeInput argument.

A WebSocket event will also be fired so you can pick up the collection in real time by listening to the app channel on the WebSocket.

What's next?

You've created a collection, now Fill it with Tokens