Docs menu

SNAG docs

The piece

Every piece is four traits: a frame, a glass pane, a character body and, sometimes, headwear. All four come from one seed, and the seed comes from the swap that earned it. Same swap, same piece, every time.

Status

Anatomy of a piece

The numbered badges below label the four parts, drawn on the real tile: no outlines anywhere, the only ink in the picture is the pair of eyes. The example combination shown here (square character, crown headwear, soft lime glass, satin white frame) is chosen only to make every part visible at once; it is not a rarity claim.

1 2 3 4

Every option of every trait

Each tile below is drawn by docs/js/docs-tile.js from the real weight table in js/snag-market.js, with the other three traits held at their most common pick so the changing part is easy to see. The number under each tile is its weight out of 1000.

Character

Headwear

Glass

Frame

Same swap, same piece: a worked example

This is not a real buy. It uses one illustrative, clearly placeholder field set to show the exact arithmetic js/snag-market.js runs, computed by docs/build-docs.mjs and written to docs/js/docs-data.js, never typed by hand on this page.

Packed in that order and hashed with keccak256, those four fields give the seed:

Reading that seed four ways, two hex characters (parsed as a 12-bit-range pick out of 1000) per trait group, in the order character, headwear, glass, frame, gives this piece:

character, headwear, glass, frame.

This exact mix: 1 in

Demo values in $SNAG. Try 250K, 1M, 5M or 15M. The demo minimum is 500K; the 250K buy gets no piece. These amounts are illustrative, not the collection minimum.

Change any one of the four fields and every trait can change, because the whole seed changes. Keep all four the same and the piece is identical every time, which is what lets a buyer's own wallet, swap number and amount reproduce their piece before it ever lands.