dope-metrics
v1.0.4
Published
Collects details about the DOPE project
Downloads
1,003
Readme
dhof-loot
Launch tweet for DOPE.
Distribution
- tokenIds
1to8000claimable by user. - Each token has attributes:
clothes,foot,hand,neck,ring,waist,weapon,drugs,vehicle.
Output
output/loot.jsoncontains all tokenIds and their attributes.output/occurences.jsoncontains the number of occurences by attribute.output/rare.jsoncontains a mapping oflootIdtoscore(which is the sum of number of occcrences of each child attribute for alootId), sorted ascending byscore. It also includesrarestwhich is how rare the loot bags attributes are (1==rarest,8000==least rare).output/images.jsoncontains the base64 encoded SVG of each tokenId
Run locally
# Install dependencies
npm install
# Setup
export RPC_CONNSTRING="eth rpc url"
# Collect all loot
npm run collect
# Parse statistics
npm run parse
# Collect base64 encoded images
npm run imagesCredits
- @ktasbas for adding base64 encoded SVG retrieval support
