@0xpleroma
On rarity in ENTHEOFORMS.
Most generative collections dice-roll tier per token — "1% grail" often lands as 800 or 1200 of 1000. Binomial variance.
I use a Feistel permutation instead. It's a reversible math function that shuffles [0..255] into a new order — perfect bijection.
tokenId → slot via Feistel.
Tier bands are fixed ranges over the slot space.
Counts are exact by construction:
1 grail
3 legendary
12 epic
40 rare
80 uncommon
120 common
The reveal key gets committed on-chain BEFORE the first mint — hash locked in, no grinding possible. When mint closes, I publish the key. Anyone can verify:
keccak256(abi.encode(key)) == commitment
Exact counts. Unmineable outcome. All on chain.