Skip to content

Montoya/maskicon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maskicon

An identicon generator in the style of the MetaMask brand system.

Usage

// makes a square of size 100 
const jazzicon = require('maskicon')
const el = generateMaskicon('0x4EBee6bA2771C19aDf9AF348985bCf06d3270d42')
document.body.appendChild(el)

// makes a circle of size 250
const jazzicon = require('maskicon')
const el = generateMaskicon('0x4EBee6bA2771C19aDf9AF348985bCf06d3270d42', 250, true)
document.body.appendChild(el)

About

An identicon generator in the style of the MetaMask brand system

Topics

Resources

Stars

Watchers

Forks