token-icons
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-alpha.2 • Public • Published

token-icons (beta)

This package includes helper functions for interacting with tokenicons.org assets.

What is TokenIcons?

Token Icons is a comprehensive, up-to-date collection of ERC20 icons across Ethereum and other EVMs. Currently, it supports assets on Ethereum, Arbitrum and Polygon.

Installation

yarn add token-icons

Usage

import { image } from 'token-icons'

const Example = () => {

    return (
        <img src={image('0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9')} />
    );
  }
}

Package Sidebar

Install

npm i token-icons

Weekly Downloads

0

Version

0.1.0-alpha.2

License

MIT

Unpacked Size

27.9 kB

Total Files

9

Last publish

Collaborators

  • albertocevallos