1.42.0 • Published 3 years ago

rainbow-token-list-test v1.42.0

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

🌈️ Rainbow Token List tool

This tool compiles a list of ERC20 tokens from various sources.

Use

Load the updated Token List and overwrite it at output/rainbow-token-list.json with:

yarn write

This package comes bundled with a copy in case you are unable to load fresh data over the Internet. You can import it like so:

import tokens from 'rainbow-token-list/rainbow-token-list.json';

Library interface

/**
 * @module src/lib/build.ts
 * 
 * Parses various pieces of data (contract lists, local property overrides, data
 * sources, etc.) and returns the Token List.
 * 
 * The parser, and therefore also this function, rely on Git. We use
 * isometric-git to avoid needing the Git binary.
 */
async function build(): Token[] {}
/**
 * @module src/lib/write.ts
 * 
 * Calls `build()` and writes the Token List to disk at
 * output/rainbow-token-list.json.
 */
async function write(): void {}

Development

First, set up the Husky hooks with yarn install-husky. To push a new version of the Token List manually, just run git commit.

Notes

  • If you get a zlib: unexpected end of file error when building, run yarn clean.
1.42.0

3 years ago

1.41.1

3 years ago

1.41.3

3 years ago

1.41.2

3 years ago

1.41.7

3 years ago

1.41.6

3 years ago

1.36.0

3 years ago

1.35.0

3 years ago

1.38.0

3 years ago

1.39.0

3 years ago

1.40.0

3 years ago

1.41.0

3 years ago

1.34.0

3 years ago

1.33.1

3 years ago

1.32.0

3 years ago

1.33.0

3 years ago

1.32.1

3 years ago

1.31.0

3 years ago

1.30.0

3 years ago

1.29.0

3 years ago

1.27.0

3 years ago

1.26.0

3 years ago

1.25.0

3 years ago

1.24.0

3 years ago

1.23.0

3 years ago

1.22.0

3 years ago

1.21.0

3 years ago

1.20.0

3 years ago

1.19.0

3 years ago

1.18.0

3 years ago

1.17.0

3 years ago

1.16.0

3 years ago

1.15.0

3 years ago

1.14.0

3 years ago

1.13.0

3 years ago

1.11.0

3 years ago

1.10.0

3 years ago

1.9.0

3 years ago

1.8.0

3 years ago

1.7.0

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.2

3 years ago