This package has been deprecated

Author message:

moved to @depay/react-token-image

depay-react-token-image

1.1.3 • Public • Published

Quickstart

yarn add depay-react-token-image

or

npm install --save depay-react-token-image
import { TokenImage } from 'depay-react-token-image'

render() {
  return(
    <TokenImage
      blockchain={'ethereum'}
      address={'0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb'}
    />
  )
}

Functionalities

TokenImage

The TokenImage component tries to display a token image for a given blockchain and address by:

  1. Trying to fetch the image from https://github.com/trustwallet/assets

  2. Trying to fetch the image from DePay API

  3. Falling back to trying to fetch it from

Development

Get started

yarn install
yarn dev

Release

npm publish

Testing

Package Sidebar

Install

npm i depay-react-token-image

Weekly Downloads

0

Version

1.1.3

License

MIT

Unpacked Size

11.9 kB

Total Files

6

Last publish

Collaborators

  • depay-sebastian