Solana NFT storefront powered by Candy Shop.
Key features:
- SOL and SPL token marketplace
- SOL and SPL token auctions
- Marketplace with modal or single NFT view
- NFT filtering, sort and search
- Multi collection marketplace
- Multi currency marketplace
- Marketplace activity
git clone https://github.com/LIQNFT/candy-shop-storefront-nextjs.git
cd candy-shop-storefront-nextjs
cat .env.example >> .env
yarn
yarn dev
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.
- Ensure you have both
nodejs
andyarn
installed.nodejs
recommended version is 16.
git clone https://github.com/LIQNFT/candy-shop-storefront-nextjs
Rename the .env.example
file at the root directory to .env
and update the following variables in the .env
file :
NEXT_PUBLIC_CANDY_SHOP_CREATOR_ADDRESS=Fo2cXie4UwreZi7LHMpnsyVPvzuo4FMwAVbSUYQsmbsh
NEXT_PUBLIC_CANDY_SHOP_TREASURY_MINT=So11111111111111111111111111111111111111112
NEXT_PUBLIC_CANDY_SHOP_PROGRAM_ID=csa8JpYfKSZajP7JzxnJipUL3qagub1z29hLvp578iN
You may get these parameters by creating a shop here.
NEXT_PUBLIC_SOLANA_NETWORK=devnet
This identifies the Solana network you want to connect to. Options are devnet
, testnet
, and mainnet-beta
.
NEXT_PUBLIC_SOLANA_RPC_HOST=https://api.devnet.solana.com
This identifies the RPC server your web app will access the Solana network through.
:root {
--black: #000000;
--white: #ffffff;
--pageBG: #ffffff;
--pageText: #000000;
--scope: #0066ff;
}
[data-theme='dark'] {
--pageBG: #000000;
--pageText: #f4f4f0;
--scope: #0066ff;
}
[data-theme='candy'] {
--pageBG: #a5b4fc;
--pageText: #4338ca;
--scope: #ff1717;
- 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.
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.