💡 Quick Navigation: Installation • Quick Start • Core Concepts • API Reference • Examples • Support


🎯 What is this SDK?

The Manifold Storefront SDK enables headless purchasing and display of Manifold products.

Head to studio.manifold.xyz to launch your product, then build your own UI and use the SDK to seamlessly integrate product purchasing into your application.

Want to support Manifold products in your service? This SDK provides a straightforward interface to incorporate Manifold products directly into your workflows.

✨ Key Benefits

📦 What You Get


📥 Installation

npm install @manifoldxyz/client-sdk

🚀 Quick Start

Step 1: Import and Initialize

import { createClient } from '@manifoldxyz/client-sdk';
const client = createClient({
	 httpRPCs: {
	  1: "<https://eth-mainnet.g.alchemy.com/v2/YOUR_KEY>",
	  8453: "<https://base-mainnet.infura.io/v3/YOUR_KEY>"
	 }
});

Step 2: Get Product Data

const url = '<https://manifold.xyz/@meta8eth/id/4150231280>'
const product = await client.getProduct(url); // can also use 4150231280 (instanceId)
const status = await product.getStatus();
console.log(`Currently ${status})