Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.evav.org/llms.txt

Use this file to discover all available pages before exploring further.

List an item

Updating an item will upload the new metadata file to IPFS, and update item attributes Royalties are listed in basis points (BPS). 100 BPS is equal to 1%. Royalties will be paid as soon as an item has been shipped.
import { mkt } from './config'

const listing = await mkt.update({
  id: '<ITEM_MARKETPLACE_ID>',

  name: 'My Item',
  description: 'This is my item',
  category: 'Clothing',
  color: 'blue',
  tags: ['sale']
  brand: 'brand',
  nftType: 'physical'
  status: 'listed',

  royalty: { 
    royaltyAmount: 300, // 3% royalty
    receiver: '0x123' 
  },
  price: 100, // $1
  quantityDiff: 1,

  images: ['image_url', File],
  primaryImageIndex: 0,
})