Ethereum, Polygon and Solana NFT storefront powered by Candy Shop.
Key features:
- ETH, MATIC, SOL, SPL and ERC20 token marketplace
- SOL and SPL token NFT auctions
- Marketplace with modal or single NFT view
- NFT filtering, sort and search
- Multi collection marketplace
- Multi currency marketplace
- Marketplace activity
One-click solution to clone this project to your GitHub and deploy the prod package on a Vercel. Your only task will be to customize your GitHub fork of this project and commit updates. Vercel will automatically deploy new prod packages for each new commit.
remember to select NodeJS > v.16 for deployment
- Ensure you have both
nodejs
andyarn
installed.nodejs
recommended version is 16.
git clone https://github.com/LIQNFT/candy-shop-storefront/
Rename the .env.example
file at the root directory to .env
and update the following variables in the .env
file :
REACT_APP_CANDY_SHOP_CREATOR_ADDRESS=__PLACEHOLDER__
REACT_APP_CANDY_SHOP_TREASURY_MINT=__PLACEHOLDER__
REACT_APP_CANDY_SHOP_PROGRAM_ID=__PLACEHOLDER__
You may get these parameters by creating a shop here.
REACT_APP_NETWORK=devnet
This identifies the Ethereum, Polygon or Solana network you want to connect to. Options are:
- Ethereum:
ETH
(mainnet) andGOERLI
(testnet) - Polygon:
MATIC
(mainnet) andMUMBAI
(testnet) - Solana:
mainnet-beta
(mainnet) anddevnet
(testnet)
REACT_APP_RPC_HOST=https://api.devnet.solana.com
This identifies the RPC server your web app will access the Ethereum, Polygon or Solana network through.
:root {
--main-background-color: #343A50;
--card-background-color: #804980;
--countdown-background-color: #433765;
--main-text-color:#F7F6F4;
--title-text-color:#3CBA8B;
}
If you are using a background image, make sure to update it by overwriting your own background PNG file in src/img folder.
- Update existing demo cool cats images (cool-cats.gif, logo.png) with your owns images in project
public
folder. Make sure to name them identically.
That's it! Enjoy your beautiful storefront!
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Note: this is a one-way operation. Once you eject
, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject
at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject
will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use eject
. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.