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 more fields to candy machine query #671

Closed wbarksdale closed 2 years ago

wbarksdale commented 2 years ago

Adding data loaders to candy machines query for additional fields

Adds data loaders for:

NOTE: I have found 2 bugs which I will address in a separate PR:

  1. candy machine config lines are not parsed correctly (current prod db is empty), I am trying to get in touch with someone at metaplex (perhaps @stegaBOB) to understand how to parse / update these corretly)
  2. candy machine creators are handled by geyser in a way that expects there to be only one creator per candy machine, which is not the case, so this will need to be changed to work similarly to the nft creators.

Testing: Tested by fidling in graphiql DjCACL8QsXKF3aWDog4KHNYQgsnAGFfaQrnLoeHVmuDZ is a good cm to test with because it has all the fields

testing_new_cm_fields