@matterlabs/token-library

v2.9.1
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.

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())
npm i @matterlabs/token-library

Metadata

  • ISC
  • Whatever
  • Unknown
  • released 10/10/2023

Downloads