marketplace

Set ENV variables

Once that’s done, copy the .env.example file in this directory to .env.local (which will be ignored by Git):

cp .env.example .env.local

if you use windows without powershell or cygwin:

copy .env.example .env.local

To get your api key visit :

Mintbase Developers Page for Mainnet:
Mintbase Developers Page for testnet:

NEXT_PUBLIC_DEVELOPER_KEY=your_mintbase_api_key

NEXT_PUBLIC_NETWORK could be testnet or mainnet

NEXT_PUBLIC_NETWORK=testnet

NEXT_PUBLIC_STORES is your store’s ids

NEXT_PUBLIC_STORES=latium.mintspace2.testnet,mufasa.mintspace2.testnet

NEXT_PUBLIC_AFFILIATE_ACCOUNT is your near account where your should get your market fee

NEXT_PUBLIC_AFFILIATE_ACCOUNT=your_near_account.near

Extending

This project is setup using Next.js + @mintbase/js
You can use this project as a reference to build your own, and use or remove any library you think it would suit your needs.

Generate comment with AI 2 nL
Scroll to Top