@matterlabs/token-library
v2.9.1
Published
Token library is a source of truth for the non-custom token collection on [zkSync Portal](https://portal.zksync.io/) which is the main resource to move assets between Layer 1 and Layer 2.
Downloads
47
Keywords
Readme
Token Library
Token library is a source of truth for the non-custom token collection on zkSync Portal which is the main resource to move assets between Layer 1 and Layer 2.
Token Interface
export type Token = {
name: string;
symbol: string;
l1Address: string;
l2Address: string;
decimals: number;
imageUrl: string;
};
Usage
npm install @matterlabs/token-library
import { getTokenCollection } from "@matterlabs/token-library"
console.log(await getTokenCollection())