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:
- add
ALCHEMY_KEY
to your.env
file - 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) - check that the correct network is selected right after the array of addresses
- run
yarn populateTraitsList
to populate thetraitsList.json
file
Pre-populated collection metadata
The traitsList.json
file already contains the metadata of several collections:
Collection | Address | Network |
---|---|---|
Azuki | 0xed5af388653567af2f388e6224dc7c4b3241c544 | Ethereum Mainnet |
BEANZ Official | 0x306b1ea3ecdf94ab739f1910bbda052ed4a9f949 | Ethereum Mainnet |
Bored Ape Kennel Club | 0xba30e5f9bb24caa003e9f2f0497ad287fdf95623 | Ethereum Mainnet |
Bored Ape Yacht Club | 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d | Ethereum Mainnet |
Creepz by OVERLORD | 0x5946aeaab44e65eb370ffaa6a7ef2218cff9b47d | Ethereum Mainnet |
CryptoDickbutts | 0x42069abfe407c60cf4ae4112bedead391dba1cdb | Ethereum Mainnet |
DeGods | 0x8821bee2ba0df28761afff119d66390d594cd280 | Ethereum Mainnet |
Doodles | 0x8a90cab2b38dba80c64b7734e58ee1db38b8992e | Ethereum Mainnet |
HV-MTL | 0x4b15a9c28034dc83db40cd810001427d3bd7163d | Ethereum Mainnet |
Kairos Eagle | 0xb48e018d53b24c3a36f5d5e7725b70667db83b3d | Ethereum Mainnet |
KILLABEARS | 0xc99c679c50033bbc5321eb88752e89a93e9e83c5 | Ethereum Mainnet |
Meebits | 0x7bd29408f11d2bfc23c34f18275bbf23bb716bc7 | Ethereum Mainnet |
Milady Maker | 0x5af0d9827e0c53e4799bb226655a1de152a425a5 | Ethereum Mainnet |
Mutant Ape Yacht Club | 0x60e4d786628fea6478f785a6d7e704777c86a7c6 | Ethereum Mainnet |
Otherside Koda | 0xe012baf811cf9c05c408e879c399960d1f305903 | Ethereum Mainnet |
Prologue by Spice | 0x6110d61dd1133b0f845f1025d6678cd22a11a2fe | Ethereum Mainnet |
Pudgy Penguins | 0xbd3531da5cf5857e7cfaa92426877b022e612cf8 | Ethereum Mainnet |
rektguy | 0xb852c6b5892256c264cc2c888ea462189154d8d7 | Ethereum Mainnet |
The Captainz | 0x769272677fab02575e84945f03eca517acc544cc | Ethereum Mainnet |
The Potatoz | 0x39ee2c7b3cb80254225884ca001f57118c8f21b6 | Ethereum Mainnet |
Valhalla | 0x231d3559aa848bf10366fb9868590f01d34bf240 | Ethereum Mainnet |
VeeFriends | 0xa3aee8bce55beea1951ef834b99f3ac60d1abeeb | Ethereum Mainnet |
World of Women | 0xe785e82358879f061bc3dcac6f0444462d4b5330 | Ethereum Mainnet |
YOU THE REAL MVP | 0x6efc003d3f3658383f06185503340c2cf27a57b6 | Ethereum Mainnet |