characters for loot
Launch tweet for Characters.
Distribution
- tokenIds
1
to8000
claimable by loot owners. - tokenIds
8001
to12000
claimable by anyone. - Each token has attributes:
race
,profession
,strength
,dexterity
,intelligence
,vitality
,luck
,faith
.
Output
output/characters.json
contains all tokenIds and their attributes.output/occurences.json
contains the number of occurences by attribute.output/rare.json
contains a mapping ofcharacterId
toscore
(which is the sum of number of occcrences of each child attribute for acharacterId
), sorted ascending byscore
. It also includesrarest
which is how rare the character's attributes are (1
==rarest
,12000
==least rare
).output/images.json
contains the base64 encoded SVG of each tokenId
Run locally
# Install dependencies
npm install
# Collect all characters
npm run collect
# Parse statistics
npm run parse
# Collect base64 encoded images
npm run images
Credits
- forked from @Anish-Agnihotri
- @ktasbas for adding base64 encoded SVG retrieval support