Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.35 KB

README.MD

File metadata and controls

55 lines (33 loc) · 1.35 KB

Ethereum Avatar

This package generates avatars from an ethereum address

Install

npm install --save ethereum-avatar

main functions

generateAvatar

Is a fn to generate an avatar from a 40 digits hex address:

generateAvatar(token, callback)

developer functions

generateCrypto

Is a fn to generate a 40 digits hex address

generateCrypto(callback)

the result is a 40 digits hex address without 0x.

createColors

Is a devloper fn to create color variations:

createColors(name, callback)

Pass in the image name and it rotates the image hue 15 times. No return value is given.

LICENSE

The license is MIT please notice that freepik image licenses may require to credit the author.

images / copyrights

Designed by Freepik Designed by Freepik Designed by Freepik Designed by Freepik Designed by Artmonkey