Basic Usage
To get started with the Metaverse SDK, follow these steps:
Install the SDK on your Decentraland scene by running the following command:
npm i -B dg-world-marketplace-sdk@latest
Import the SDK into your project.
import { DgWorldMarketplace, MarketplaceOptions, } from "dg-world-marketplace-sdk";
Initialize the SDK with your scene Id credentials obtained from the Business Manager.
new DgWorldMarketplace({ previewEnv: 'prod' as any, network: 'MATIC' as any, engine, zoneId: YOUR_ZONE_ID, });
Thats it! .
Last updated