Dealers.sh

[ 00 / GENERATOR ]

GENERATOR

Roll a random dealer using the exact algorithm that mints a normal token. Weighted random per layer, with the on-chain incompatibility rules applied. Prospect-only sandbox while the collection isn't live yet.

Connect to start

Connect your wallet, then complete 3 quick jobs on the map to unlock the dealer generator.

[ 01 / STORAGE ]

STORAGE

The art is not hosted. Every trait's SVG payload is written to the chain via SSTORE2: each blob becomes the bytecode of a tiny stub contract, addressable by the deployed address. Reads are a single EXTCODECOPY, no proxy, no storage slots, no decode step.

A FileStore registry maps a human filename (e.g. dealers/normal/head/Crown) to its SSTORE2 pointer, so the renderer can look up any trait by name at read time without baking addresses into the renderer contract.

Each token's composition is one bytes32 stored at mint: twelve uint8 trait indices (one per layer) plus a character-type byte, packed and assigned to the tokenId. To render, the contract unpacks the indices, looks up the SVGs in FileStore, concatenates them into the 58×58 viewBox, and returns the full SVG inline in tokenURI. The asset is the chain.