Marketplaces
Marketplaces are custom decentralized frontends for NFT communities.
Get the code
From https://github.com/airswap/airswap-marketplace...
Option 1: Clone the repository
Option 2: Download a zip file
Set up environment
Environment variables are required to be set.
REACT_APP_CHAIN_ID
β the chain ID the app will run onREACT_APP_COLLECTION_NAME
β a collection name to include on the appREACT_APP_COLLECTION_IMAGE
β a collection cover image to include on the appREACT_APP_COLLECTION_TOKEN
β the ERC721 token address for the collectionREACT_APP_CURRENCY_TOKEN
β the ERC20 token address to use as currencyREACT_APP_STORAGE_SERVER_URL
β [optional] a server URL to use for listing storageREACT_APP_RPC_URL_X
β [optional] a server URL to fetch on-chain data where X is chain IDREACT_APP_WALLET_CONNECT_PROJECT_ID
β [optional] project ID to support wallet connect
Deploy your app
GitHub Pages β Free static site hosting on GitHub. If you fork or otherwise copy the Marketplace codebase into your own repository you can set up deploys to Pages with the following guide.
Other β The build generates static assets that can be easily published to any hosting service.
Contributions
AirSwap is an open-source development community. If you would like to bugfix, improve, or otherwise contribute to the Marketplace codebase, please see the repository on GitHub.
Last updated