1.0.2 โข Published 6 years ago
dravatar v1.0.2
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.