0.1.10 • Published 4 years ago

@pkuniniec/wallet-prettify v0.1.10

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Introduction

Small package that include some logic to prettify cryptocurrency wallets addresses. This feature will allow differentiating bulk of wallet addresses to visualise more clearly if the address is in repetition.

Works only for ETH addresses at the moment

Work in progress: BTC addresses

Installation

npm install @pkuniniec/wallet-prettify

Usage

First please import the package: import { AddressPrettify } from '@pkuniniec/wallet-prettify';

To use it just pass an address to the 'AddressPrettify' component:

<AddressPrettify address={address}/>

Options:

  • change background color for the bar

barBgColor default value is 'black'

  • to adjust color tile length:

tileWidth default value is set to '100%'

  • to adjust color tile height:

tileHeight default value is set to '5px'

  • gap between the colour bars

gap default value '2px'

  • space between address and bar

space default value '0px'

example:

<AddressPrettify address={address}/> <AddressPrettify address={address} tileWidth='20px' tileHeight='10px' barBgColor='transparent'/>

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago