sambarrowclough / xloot-details

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dhof-loot

Launch tweet for LOOT.

Distribution

  • tokenIds 1 to 7778 claimable by user.
  • tokenIds 7778 to 8000 claimable by contract owner.
  • Each token has attributes: chest, foot, hand, head, neck, ring, waist, weapon.

Output

  • output/loot.json contains all tokenIds and their attributes.
  • output/occurences.json contains the number of occurences by attribute.
  • output/rare.json contains a mapping of lootId to score (which is the sum of number of occcrences of each child attribute for a lootId), sorted ascending by score. It also includes rarest which is how rare the loot bags attributes are (1 == rarest, 8000 == least rare).
  • output/images.json contains the base64 encoded SVG of each tokenId

Run locally

# Install dependencies
npm install

# Collect all loot
npm run collect

# Parse statistics
npm run parse

# Collect base64 encoded images
npm run images

Extras

  • derivatives/andy8052-ability-score — Ability Score NFTs

Credits

  • @ktasbas for adding base64 encoded SVG retrieval support

About


Languages

Language:JavaScript 100.0%