This repository contains the 2nd version of Partage's marketplace. Built on the Near Protocol, using mintbase template, it is built on top of Partage Lock v2 and gives their users access to the full functionality of Partage's sharing network.
This is a simple marketplace example built on top of Next.js 14Tooling:
Author:
This is a simple marketplace example built on top of Next.js 14 using some of @mintbase-js packages.
install dependencies
pnpm install
and run the project
pnpm dev
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
- Support: Join the Telegram
- Twitter: @mintbase