Skip to content

Latest commit

 

History

History
83 lines (55 loc) · 2.53 KB

README.md

File metadata and controls

83 lines (55 loc) · 2.53 KB

Marketplace

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.

cover_image

This is a simple marketplace example built on top of Next.js 14

Demo Deploy

Tooling:

Use Case Tools Framework

Author:

Author Organization

Project Walkthrough

This is a simple marketplace example built on top of Next.js 14 using some of @mintbase-js packages.

Setup

install dependencies

pnpm install

and run the project

pnpm dev

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

Get in touch

detail_image