holaplex / indexer

Index Solana data using a Geyser plugin (downstream service cluster)
https://holaplex.com
GNU Affero General Public License v3.0
167 stars 39 forks source link

add marketplace_address field #617

Closed imabdulbasit closed 2 years ago

imabdulbasit commented 2 years ago

MagicEden auctionhouse data is not indexed in auction_houses table so marketplace_program_address field is added to expose the program address of marketplaces.

imabdulbasit commented 2 years ago

Also be good to add a migration that moves the existing ME listing, purchases, and offers auction_house address to marketplace_address

When we index the accounts should write this fields in so expecting a new column on the tables.

I would say we rename the auction_house column to marketplace_program. The marketplace_program address will then be loaded into the ah dataloader we already have. This way we don't have to update sdk or make any frontend changes.

milorue commented 2 years ago

Does this also fix the open sea auction house data?

imabdulbasit commented 2 years ago

Does this also fix the open sea auction house data?

https://github.com/holaplex/indexer/pull/633 this PR will fix that.