Skip to content

Generator to generate unique avatars from Ethereum addresses

License

Notifications You must be signed in to change notification settings

360disrupt/ethereum-avatar

Repository files navigation

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

About

Generator to generate unique avatars from Ethereum addresses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published