Configuration

Environmental variables

VariableDescriptionValue example
NEXT_PUBLIC_ETHEREUM_PROVIDERURL of the web3 provider usedhttps://eth-mainnet.g.alchemy.com/v2/XXXX (opens in a new tab)
NEXT_PUBLIC_BLOCKCHAIN_EXPLORER_URLURL of the blockchain explorer to usehttps://etherscan.io/ (opens in a new tab)
NEXT_PUBLIC_BLOCKCHAIN_EXPLORER_NAMEName of the blockchain explorer to useEtherscan
NEXT_PUBLIC_MAGIC_API_KEYMagic.link API key if the email wallet is activatedpk_live_XXX
NEXT_PUBLIC_FEATURED_TOKENList of NFTs to highlight on the homepage (separated by a comma)1-0x...-123...,1-0x...-456,1-0x...789
NEXT_PUBLIC_GRAPHQL_URLLiteflow graphql endpointhttps://api.acme.com/graphql (opens in a new tab)
NEXT_PUBLIC_UPLOAD_URLLiteflow upload API endpointhttps://api.acme.com/uploadToIPFS (opens in a new tab)
NEXT_PUBLIC_CHAIN_IDChain ID used for the application1
NEXT_PUBLIC_NETWORK_NAMEName of the blockchain networkEthereum mainnet
NEXT_PUBLIC_REPORT_EMAILEmail to use for reportreport@acme.com
NEXT_PUBLIC_HOME_TOKENSList of tokens to display in the featured tokens (separated by a comma)1-0x...-123...,1-0x...-456,1-0x...789
NEXT_PUBLIC_BUGSNAG_API_KEYKey for Bugsnag to track errorsxxxxxx
PINATA_GATEWAYPinata gateway used for pin filesacme.mypinata.cloud
NEXT_PUBLIC_OFFER_VALIDITY_IN_SECONDSDuration in second of a valid offer2419200
NEXT_PUBLIC_AUCTION_VALIDITY_IN_SECONDSDuration in second of a valid bid for an auction604800
NEXT_PUBLIC_BASE_URLBase URL for your platformhttps://marketplace.acme.com (opens in a new tab)
NEXT_PUBLIC_GA_MEASUREMENT_IDGoogle analytics IDG-XXX

View the env example file (opens in a new tab)

Last updated on December 20, 2022