Skip to content

Ethereum-Dravatar/dravatar-mod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published