Deploying Your NFT Marketplace Storefront
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
- On the Developer dashboard, under the projects tab, create a Marketplace for your project by completing the prompts.
- 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
_1git clone [email protected]:mirrorworld-universe/marketplace-storefront.git
2. Install dependencies
_1yarn 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
_1yarn 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