Skip to main content

How to list a collection

Step 1 - Change the is_listed value

in order to show a collection in the marketplace, do the following:

UPDATE collection_profile
SET is_listed = 1
WHERE token_address = LOWER('0x...');

Step 2 - Set up off-chain data

set up the name, description, creator_earnings, image, cover_image

UPDATE collection_profile
SET name = 'string',
description = 'string',
creator_earnings = 5,
image = 'image-url',
cover_image = 'cover-image-url'
WHERE token_address = '0x...';

Step 3 - Add token_adress to the whitelist of the Marketplace Contract