💡 Quick Navigation: Installation • Quick Start • Core Concepts • API Reference • Examples • Support
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.
npm install @manifoldxyz/client-sdk
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>"
}
});
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})