Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 562 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 562 Bytes

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.