Rise In Logo



Learn everything about Chiliz

We need to create an ENV file in order to work with the nft-marketplace-template.

Step 1: Create ENV

In the provided template (GitHub Link), there is a .env.local.example file, in the root of our application. Next to this .env.local.example file, let's create a new file called .env.local (at the same level as src, not inside src).

Step 2: Fill ENV

We need 5 things to include in our .env.local.

NEXT_PUBLIC_CLIENT_ID: Client ID from Thirdweb. Once you log in, under settings/API Keys click on your key to reveal clientID at the top.

NEXT_PUBLIC_SECRET_KEY: Client ID from Thirdweb. Once you log in, under settings/API Keys click on your key to reveal the Secret Key under clientID.

NEXT_PUBLIC_NETWORK: SpicyChain - the name of the network in Thirdweb

NEXT_PUBLIC_MARKET_CONTRACT_ADDRESS: marketplace contract address

NEXT_PUBLIC_NFT_CONTRACT_ADDRESS: NFT contract address

Comments

You need to enroll in the course to be able to comment!

Stay in the know

Never miss updates on new programs and opportunities.

Rise In Logo

Rise together in web3!

Disclaimer: The information /programs / events provided on https://patika.dev and https://risein.com are strictly for upskilling and networking purposes related to the technical infrastructure of blockchain platforms. We do not provide financial or investment advice and do not make any representations regarding the value, profitability, or future price of any blockchain or cryptocurrency. Users are encouraged to conduct their own research and consult with licensed financial professionals before engaging in any investment activities. https://patika.dev and https://risein.com disclaim any responsibility for financial decisions made by users based on information provided here.