Carbon SDK
  • Carbon SDK
  • Integration Guide
    • Installation
    • Vocabulary
    • Carbon Instance
    • Marketplace Config
    • Collection Config
    • Listing Items
    • Delisting Items
    • Buying Items
    • Custodial Items
    • Example Asset Flows
  • Team
  • FAQs
Powered by GitBook
On this page
  1. Integration Guide

Marketplace Config

Your marketplace must first be registered with the Carbon program. Initialize a marketplace config using the initMarketplaceConfig method. This will ensure that all virtual listings and purchases are to be signed by the marketplace owner.

This only needs to be done once per marketplace

await carbon.methods.initMarketplaceConfig({
  args: {
    feeConfig: {
      feeAccount: <pubkey_of_where_fees_go>,
      bps: 500 // 5% market fee
    }
  }
})

There are currently no protocol fees, all fees are set by the marketplace authority

PreviousCarbon InstanceNextCollection Config

Last updated 2 years ago