Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 944 Bytes

README.md

File metadata and controls

46 lines (31 loc) · 944 Bytes

Tensor Market Boilerplate

Welcome to the Tensor Marketplace Boilerplate!

This demo provides a simple foundation for building on the Tensor API, use it to get started building NOW!

Sample Screenshot

Prerequisites

  • Node v18.18.0 or higher
  • Tensor API Key

Installation

Clone the repo

git clone tensor-hq/tmarket
cd tmarket

Install Dependencies

npm install

Set environment variables in .env

NEXT_PUBLIC_SOLANA_RPC_URL=               # Frontend Solana RPC
SOLANA_RPC_URL=                           # Backend  Solana RPC
TENSOR_API_KEY=                           
NEXT_PUBLIC_COLLECTION_SLUG=              

Start the web app

npm run dev

Important Folder / Files

  • web/app/api - Proxied requests to Tensor’s API
  • web/app/page.tsx - Index page, where data is fetched + rendered