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.localif you use windows without powershell or cygwin:
copy .env.example .env.localTo get your api key visit :
Mintbase Developers Page for Mainnet:
Mintbase Developers Page for testnet:
NEXT_PUBLIC_DEVELOPER_KEY=your_mintbase_api_keyNEXT_PUBLIC_NETWORK could be testnet or mainnet
NEXT_PUBLIC_NETWORK=testnetNEXT_PUBLIC_STORES is your store’s ids
NEXT_PUBLIC_STORES=latium.mintspace2.testnet,mufasa.mintspace2.testnetNEXT_PUBLIC_AFFILIATE_ACCOUNT is your near account where your should get your market fee
NEXT_PUBLIC_AFFILIATE_ACCOUNT=your_near_account.nearExtending
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.
Get in touch
You can get in touch with the mintbase team using the following channels:
– Support: [Join the Telegram](https://t.me/mintdev)
– Twitter: [@mintbase](https://twitter.com/mintbase)



