Marketplaces

Marketplaces are custom decentralized frontends for NFT communities.

Get the code

From https://github.com/airswap/airswap-marketplace...

Set up environment

Environment variables are required to be set.

  • REACT_APP_CHAIN_ID β€” the chain ID the app will run on

  • REACT_APP_COLLECTION_NAME β€” a collection name to include on the app

  • REACT_APP_COLLECTION_IMAGE β€” a collection cover image to include on the app

  • REACT_APP_COLLECTION_TOKEN β€” the ERC721 token address for the collection

  • REACT_APP_CURRENCY_TOKEN β€” the ERC20 token address to use as currency

  • REACT_APP_STORAGE_SERVER_URL β€” [optional] a server URL to use for listing storage

  • REACT_APP_RPC_URL_X β€” [optional] a server URL to fetch on-chain data where X is chain ID

  • REACT_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