0.0.1 • Published 6 years ago

ethereum-avatar v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

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