Socket
Socket
Sign inDemoInstall

@cfx-kit/wallet-avatar

Package Overview
Dependencies
2
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @cfx-kit/wallet-avatar

| Statements | Branches | Functions | Lines | | --------------------------- | ----------------------- | ------------------------- | ----------------- | | ![Statements](https://img.shields.io/badg


Version published
Weekly downloads
377
increased by128.48%
Maintainers
4
Created
Weekly downloads
 

Readme

Source
StatementsBranchesFunctionsLines
StatementsBranchesFunctionsLines

@cfx-kit/wallet-avatar

https://img.shields.io/npm/v/@cfx-kit/wallet-avatar https://img.shields.io/github/issues-raw/ssbarbee/@cfx-kit/wallet-avatar https://img.shields.io/npm/dw/@cfx-kit/wallet-avatar

🤡 A library for generate MetaMask avatars based on account address

Overview 🧐

The @cfx-kit/wallet-avatar library is a collection of functions that can help you generate the same avatar as metamask. Install it and look at its definition and you'll be up and running in no time.

Installation 📦

npm

npm install @cfx-kit/wallet-avatar

yarn

yarn add @cfx-kit/wallet-avatar

Demo

For React codesandbox/@cfx-kit/wallet-avatar

Usage 📚

import { generateAvatarURL } from '@cfx-kit/wallet-avatar';

const img = document.createElement('img')

img.src = generateAvatarURL('0x368d31aeB0aBc22E4a020B1ceba386089fc3aCc6')

document.body.appendChild(img)

Keywords

FAQs

Last updated on 18 May 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc