Updating metadata

The provider needs to know the collection metadata to be able to create the offers. This includes collecting all the traits, and which NFTs have which traits. To do so, we use the Alchemy API.

The example repository already contains a traitsList.json file containing the metadata of several collections. If you want to provide offers for these collections, you don't need to update this file.

If you want to provide offers for collections that are not in this list, you'll need to update the traitsList.json file. To do so, you'll need to:

  1. add ALCHEMY_KEY to your .env file
  2. edit src/populateTraitsList.json and replace the addresses in the array by the addresses of the collections you want to provide offers for (they must all be on the same network)
  3. check that the correct network is selected right after the array of addresses
  4. run yarn populateTraitsList to populate the traitsList.json file

Pre-populated collection metadata

The traitsList.json file already contains the metadata of several collections:

CollectionAddressNetwork
Azuki0xed5af388653567af2f388e6224dc7c4b3241c544Ethereum Mainnet
BEANZ Official0x306b1ea3ecdf94ab739f1910bbda052ed4a9f949Ethereum Mainnet
Bored Ape Kennel Club0xba30e5f9bb24caa003e9f2f0497ad287fdf95623Ethereum Mainnet
Bored Ape Yacht Club0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13dEthereum Mainnet
Creepz by OVERLORD0x5946aeaab44e65eb370ffaa6a7ef2218cff9b47dEthereum Mainnet
CryptoDickbutts0x42069abfe407c60cf4ae4112bedead391dba1cdbEthereum Mainnet
DeGods0x8821bee2ba0df28761afff119d66390d594cd280Ethereum Mainnet
Doodles0x8a90cab2b38dba80c64b7734e58ee1db38b8992eEthereum Mainnet
HV-MTL0x4b15a9c28034dc83db40cd810001427d3bd7163dEthereum Mainnet
Kairos Eagle0xb48e018d53b24c3a36f5d5e7725b70667db83b3dEthereum Mainnet
KILLABEARS0xc99c679c50033bbc5321eb88752e89a93e9e83c5Ethereum Mainnet
Meebits0x7bd29408f11d2bfc23c34f18275bbf23bb716bc7Ethereum Mainnet
Milady Maker0x5af0d9827e0c53e4799bb226655a1de152a425a5Ethereum Mainnet
Mutant Ape Yacht Club0x60e4d786628fea6478f785a6d7e704777c86a7c6Ethereum Mainnet
Otherside Koda0xe012baf811cf9c05c408e879c399960d1f305903Ethereum Mainnet
Prologue by Spice0x6110d61dd1133b0f845f1025d6678cd22a11a2feEthereum Mainnet
Pudgy Penguins0xbd3531da5cf5857e7cfaa92426877b022e612cf8Ethereum Mainnet
rektguy0xb852c6b5892256c264cc2c888ea462189154d8d7Ethereum Mainnet
The Captainz0x769272677fab02575e84945f03eca517acc544ccEthereum Mainnet
The Potatoz0x39ee2c7b3cb80254225884ca001f57118c8f21b6Ethereum Mainnet
Valhalla0x231d3559aa848bf10366fb9868590f01d34bf240Ethereum Mainnet
VeeFriends0xa3aee8bce55beea1951ef834b99f3ac60d1abeebEthereum Mainnet
World of Women0xe785e82358879f061bc3dcac6f0444462d4b5330Ethereum Mainnet
YOU THE REAL MVP0x6efc003d3f3658383f06185503340c2cf27a57b6Ethereum Mainnet