A deterministic face for every Cardano key.
SVG identicons for addresses, stake keys, stake pools and DReps — structure and colour derived entirely from the entity's bytes. Same input, same icon.
npm i @stricahq/cardano-identiconThe range
identicon(id)One algorithm, billions of faces
Hue, structure and glyph are all seeded by the entity's bytes — the same input always draws the same face.32-bit seed → SVG
The kinds
auto-detected from the bech32 prefixFour entities, four core glyphs
The geometry
borderRadius: 0 → 50Any corner, square to circle
SquareborderRadius: 0
RoundedborderRadius: 18
CircleborderRadius: 50
The palette
theme: "light" | "dark" | "auto"Light and dark, same identity
Lighttheme:"light"
Darktheme:"dark"
Themes fix only saturation and lightness — hue stays seeded by the bytes, so an entity keeps its colours across light and dark. auto embeds both and follows the viewer's prefers-color-scheme.
The scale
size: 128 … 28Vector-crisp at any size
128px
96px
72px
56px
40px
28px
