1.0.2 โ€ข Published 6 years ago

dravatar v1.0.2

Weekly downloads
7
License
MIT
Repository
github
Last release
6 years ago

Dravatar-module

This is a module for Dravatar - The avatar for ethereum wallet๐Ÿ‘›

This is a NPM module, you can use it in ECMASript

๐Ÿค” How to use

just need two lines of Code to get a Avatar in Data URI

import getAvatar from 'dravatar'

.............

const address = 0x7Abe675E58Ce7fF61DB425665046B88B72561e7A

const avatar = await getAvatar(address) // You will need to use a async function!!!

then display the avatar in your PWA app(Vue , React โš›๏ธ , Angular, etc.).

Voila! ๐Ÿ˜Ž You just integrated the Dravatar in your DApp now.