Relays

A relay identifies the blockchain network and allows users to make transactions through a regular HTTP API. The admin must follow the below steps to create relays:

  1. From the design console, navigate to Editor > Publish > Decentralized Collections.
  2. Click Modify from the Decentralized Collections.
  3. Click Create New available in the Relays. The user must provide the below information to create a relay.
    • Name: The user must provide a suitable name to the relay.
    • API Key: The user must provide the API key generated during the creation of Relayer in Openzeppelin Defender service. For more information, refer to OpenZepplin.
    • API Secret: The user must provide the API Secret generated during the creation of Relayer in Openzeppelin Defender service. For more information, refer to OpenZepplin.
  4. Click Create to create a relay.
  5. Click Modify of the applicable relay to edit/update the information of the relay.

     

    When the API and secret keys are regenerated, the information of the keys must be considered from the same OpenZepplin wallet account.

  1. Click Ellipse symbol to delete the relay.

     

    A relay can be deleted only if there are no NFTs minted with that relay.

    Relay

NFT Metadata Templates

Metadata is a set of data that describes other data. The NFT metadata describes its essential properties, such as its name, total supply, and transaction history etc. The admin must follow the below steps to create an NFT metadata template.

  1. From the design console, navigate to Editor > Publish > Decentralized Collections.
  2. Click Modify from the Decentralized Collections.
  3. Click Create New available in the NFT Metadata Templates. The user must provide the below information to create an NFT metadata template.
    • Template Name
    • Name
    • Description
    • Image URL
    • Animation URL
    • Attributes: The user can add/modify/delete the attributes based on the metadata requirement for an NFT. By default, the following attributes are available in the creation of metadata template.
      • Token Id
      • Serial Number
      • Total Supply
  4. Click Create to create a NFT metadata template.
  5. Click Modify of the applicable NFT metadata template to edit/update the information in the template.
  6. Click Ellipse symbol to delete the NFT metadata template.

    NFT Metadata Template

Global Collections

Global Collections allows the user to mint an NFT in the open marketplace. The blockchain created for global collection is used at an enterprise level. Initially, the user mints an NFT in a hyper ledger fabric blockchain. If the user wants to mint an NFT in the open marketplace, the user must select the applicable contract address from the Decentralized Collection dropdown list of the application during Mint Collectibles. After the first purchase of the minted NFT in the closed marketplace, the collection is created and available in the open marketplace.
The admin must follow the below steps to create global collections:

  1. From the design console, navigate to Editor > Publish > Decentralized Collections.
  2. Click Modify from the Decentralized Collections.
  3. Click Deploy Collection available in the Global Collections. The admin must provide the below information to deploy the global collections.
    • Collection Name: Provide a suitable name for the collection.
    • Symbol: Provide a unique symbol applicable to the collection.
    • Description: Provide a suitable description to the collection.
    • Collection logo: Upload a suitable logo to the collection.
    • NFT Data Mapping Template: Select the NFT Data Mapping Template from the dropdown list. For more information, refer to NFT Metadata Templates.
    • Relay: Select the Relay from the dropdown list. For more information, refer to Relays.
    • Royalties: Click Ellipse symbol to add Recipient (Account ID) and Secondary sale percent to the royalties.
  4. Click Deploy to add the global collection.
  5. Click View of the applicable Global Collection to view the information of the collection.
  6. If required, click Ellipse symbol and click Toggle toggle button to disable collection for minting.

    Global Collections

Blockchain for user created collections

The admin creates a blockchain for collections. The user can select this blockchain to create a specific collection of NFTs in the Create Collection page of the application.
Initially, the user mints an NFT in a hyper ledger fabric blockchain. If the user wants to sell an NFT from My Collections in the open marketplace, the user must select the applicable collection from the Decentralized Collection dropdown list of the application during Mint Collectibles. After the first purchase of the minted NFT in the closed marketplace, the collection is created and available in the open marketplace.
The admin must follow the below steps to map the relay and NFT data mapping template to create blockchain for user created collections:

  1. From the design console, navigate to Editor > Publish > Decentralized Collections.
  2. Click Modify from the Decentralized Collections.
  3. Click Create New available in the Blockchain for user created collections. The user must provide the below information:
    • Name: Provide a suitable name to the blockchain.
    • NFT Data Mapping template: Select the NFT Data Mapping Template from the dropdown list. For more information, refer to NFT Metadata Templates.
    • Relay: Select the Relay from the dropdown list. For more information, refer to Relays.
  4. Click Create to create the blockchain for user created collections.
  5. Click Modify on the applicable blockchain to edit/update the information of the blockchain.
  6. Click Ellipse symbol to delete the collection.

    Blockchain for user created collections