Skip to main content
BETA
HomeIntegration BuilderAPI ReferenceGuides
View Mirror World on Github
Join the Discord server

Deploying Your NFT Marketplace Storefront

By Jonathan Bakebwa

This guide will enable you to create an NFT Marketplace using the Mirror World Smart SDK.

The Marketplace on Mirror World is currently available on Solana Mainnet and Devnet.

Creating your Marketplace

  1. On the Developer dashboard, under the projects tab, create a Marketplace for your project by completing the prompts.
  2. Include the collections you would like to list on your marketplace.

Creating the Storefront

After creating the Marketplace on the Developer Dashboard, you're ready to create a storefront. A storefront is a user interface that your users will use to buy and sell NFTs on your Marketplace. The storefront serves as the UI for your marketplace core.

Storefront creation guide

1. Clone Storefront UI Template Repository


_1
git clone [email protected]:mirrorworld-universe/marketplace-storefront.git

2. Install dependencies


_1
yarn install

3. Setup storefront userConfig.json variables.

Download your userConfig.json from your project's Marketplace on the developer dashboard. It should look something like the example below:


_16
{
_16
// Array of collection addresses
_16
"collections": ["DUuMbpmH3oiREntViXfGZhrLMbVcYBwGeBa4Wn9X8QfM"],
_16
// API Key
_16
"xApiKey": "mw_testAmRKdRbBsBbIAw3CeMqS9GORmcG5BRUCU4D",
_16
// Marketplace commission fee in percentage
_16
"serviceFee": 4.25,
_16
// Marketplace storefront currency
_16
"currencyOption": "SOL",
_16
// Storefront name
_16
"name": "Mirrors Jump",
_16
// Storefront Logo URL
_16
"logo": "",
_16
// Storefront Network
_16
"network": "mainnet"
_16
}

4. Run dev server


_1
yarn dev

Open the browser on http://localhost:3000 to preview your storefront.

5. That's it! Deploy your static site!

You can now deploy your Next.js site using Vercel, Netlify or Cloudflare Pages.

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

Home

Tutorials

Guides

API Reference