0.0.7 • Published 3 years ago

@deliquid/token-list v0.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

@deliquid/token-list (beta)

A multi-chain collection of crypto tokens, including metadata, logos, and more.

Installation

npm install @deliquid/asset-registry

Basic Usage

Get all tokens from all supported chains

import { TokenList } from "@deliquid/token-list";

const fetchTokens = async () => {
    const tokenList = new TokenList();
    const tokens = await tokenList.getAllTokens();
    return tokens
}

Get tokens from specific chains

import { TokenList } from "@deliquid/token-list";

const chains = ["ethereum", "solana"]

const fetchTokens = async () => {
    const tokenList = new TokenList();
    const tokens = await tokenList.getTokensByChains(chains);
    return tokens
}

Contributing

Add a new token to the registry

Coming Soon

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago