myetherwallet-blockies

A tiny library for generating blocky identicons, displayed according to the MEW fork.

Usage no npm install needed!

<script type="module">
  import myetherwalletBlockies from 'https://cdn.skypack.dev/myetherwallet-blockies';
</script>

README

Blockies

A tiny library for generating blocky identicons.

Sample blockies image

Demo page

Use

import {toDataUrl} from 'blockies';

const img = new Image() ;
img.src = blockies.toDataUrl('0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8');

document.body.appendChild(img);

Goals

No DOM dependencies, same rendering result as MEW v3.

Non Goals

Speed. Size.

License

WTFPL