The Heros NFT Marketplace Boilerplate project is designed to let users fork, customize, and deploy their own nft marketplace app to a custom domain, ultra fast.
The Heros NFT Marketplace Boilerplate project is meant to be as simple and usable as possible, accessible to everyone from long-time crypto devs to junior React devs with a vague interest in NFTs. Our goal is to empower users to create their own front ends to display, sell, and manage their NFTs as simply as possible by just updating a few styled components and following a well-documented process for setup and shipping.
-
Ensure you have recent versions of both
node
andyarn
installed. -
Follow the instructions here to install the Solana Command Line Toolkit.
Define your environment variables using the instructions below, and start up the server with npm start
.
To run the project, first rename the .env.example
file at the root directory to .env
and update the following variables:
REACT_APP_CANDY_MACHINE_CONFIG=__PLACEHOLDER__
This is a Solana account address. You can get the value for this from the .cache/temp
file. This file is created when you run the metaplex upload
command in terminal.
REACT_APP_CANDY_MACHINE_ID=__PLACEHOLDER__
Same as above; this is a Solana account address. You can get the value for this from the ./cache/temp
file. This file is created when you run the metaplex upload
command in terminal.
REACT_APP_TREASURY_ADDRESS=__PLACEHOLDER__
This the Solana address that receives the funds gathered during the minting process. More docs coming as we can test this.
REACT_APP_CANDY_START_DATE=__PLACEHOLDER__
This is a unix time stamp that configures when your mint will be open.
REACT_APP_SOLANA_NETWORK=devnet
This identifies the Solana network you want to connect to. Options are devnet
, testnet
, and mainnet
.
REACT_APP_SOLANA_RPC_HOST=https://explorer-api.devnet.solana.com
This identifies the RPC server your web app will access the Solana network through.