0.0.7 • Published 2 years ago

@deliquid/token-list v0.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
2 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

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago