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

Last updated