nalnir / crypties

Open-source PvP cardgame.
https://crypties-neon.vercel.app
MIT License
1 stars 0 forks source link

Iterate on generation handling #29

Closed nalnir closed 1 year ago

nalnir commented 1 year ago

Generation document uses amountOfCardsForged that is also used for the card nft id for IMX marketplace. Suppose we have a new generation every year which will start amountOfCardsForged at 0. This means a new collection needs to be started with a new metadata_url for the collection used for IMX.

Approach for now

  1. Establish new generation document
  2. Have a aggergation pipeline that will get the total of amountOfCardsForged that will keep increasing as id for each card.
  3. Card generation will be distinguished by generation field in card metadata.