Home > @3rdweb/sdk > MarketplaceModule
Create your own whitelabel marketplace that enables users to buy and sell any digital assets.
Signature:
export declare class MarketplaceModule extends ModuleWithRoles<Marketplace> implements IMarketplace
Extends: ModuleWithRoles<Marketplace>
Implements: IMarketplace
import { ThirdwebSDK } from "@3rdweb/sdk";
// You can switch out this provider with any wallet or provider setup you like.
const provider = ethers.Wallet.createRandom();
const sdk = new ThirdwebSDK(provider);
const module = sdk.getMarketplaceModule("");
Property | Modifiers | Type | Description |
---|---|---|---|
moduleType | static |
ModuleType | |
roles | static |
readonly [“admin”, “lister”, “asset”] |