npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@xrise33/token-list

v1.2.1

Published

Community-maintained, machine-readable list of XRPL EVM tokens.

Readme

@xrise33/token-list - XRPL EVM Token List

npm version CI

Canonical, versioned, and validated token metadata registry for the XRPL EVM sidechain ecosystem.

This repository contains:

  • A validated token list JSON file
  • A JSON Schema for tooling
  • Logos for supported assets
  • TypeScript type definitions for developers
  • CI validation

Install

npm install @xrise33/token-list
# or
pnpm add @xrise33/token-list

Usage

ESM:

import tokenList from "@xrise33/token-list";

console.log(tokenList.name);
console.log(tokenList.version);
console.log(tokenList.tokens.length);

Access types:

import type { TokenListFile, TokenInfo } from "@xrise33/token-list/schema";

const list: TokenListFile = tokenList;

function filterStablecoins(tokens: TokenInfo[]) {
  return tokens.filter((t) => t.tags?.includes("stablecoin"));
}

Node (CJS):

const tokenList = require("@xrise33/token-list");

From CDN (jsDelivr):

https://cdn.jsdelivr.net/npm/@xrise33/token-list/dist/tokenlist.json

Icons (example):

https://cdn.jsdelivr.net/npm/@xrise33/token-list/images/1440000/<CHECKSUM>.png

JSON structure

The list follows a JSON schema (see schema/tokenlist.schema.json).

Top-level fields:

  • name: Human-readable name of this list.
  • timestamp: ISO8601 timestamp when this list was generated.
  • version: { major, minor, patch } (semantic versioning).
  • logoURI: Logo for this list.
  • keywords: Optional keywords for discovery.
  • license: License metadata.
  • tags: Registry of tag IDs (e.g. stablecoin, bluechip).
  • sources: Where this data came from.
  • verification: Info about manual/automatic review.
  • tokens: Array of token entries.

Each token:

  • address: EIP-55 checksummed contract address.
  • chainId: EIP-155 chain ID (1440000 for XRPLEVM).
  • symbol: Ticker string.
  • decimals: ERC-20 decimals.
  • name, description: Metadata.
  • image: Repo-relative logo path (images//.svg).
  • logoURI: Optional absolute logo URI.
  • tags: Array of tag IDs (must exist in top-level tags).
  • extensions: Free-form extension fields.

See the schema file for full details.

Versioning Policy

  • PATCH: Fixes to existing token metadata (logos, names, decimals, links).
  • MINOR: Add new tokens or non-breaking metadata fields.
  • MAJOR: Breaking changes (removing tokens, schema changes, semantics).

Both the npm version and version field inside the JSON follow this policy.

Contributing (Adding a token)

  1. Add your token entry to src/list.json.

  2. Add a logo file to images/<chainId>/<checksummed-address>.svg or .png.

  3. Run:

    pnpm validate
  4. Open a PR.

Validation

Locally:

pnpm validate

CI runs the same validation on every push and pull request.

Rules enforced:

  • JSON schema validation.
  • Checksummed addresses and valid chain IDs.
  • No duplicate (chainId, address) or (chainId, symbol) pairs.
  • Logos live under images/<chainId>/.
  • Logo filenames match checksummed addresses.
  • Logos use allowed formats and size limits.
  • Token tags reference existing top-level tags.

📦 SDK Usage

The package includes a small helper toolkit designed to make it easier to query tokens and construct logo URLs.

Importing the SDK (TypeScript / ESM)

import list from "@xrise33/token-list";
import {
  getTokensByChain,
  getTokenByAddress,
  getTokenBySymbol,
  getTokensByTag,
  getLogoUri,
} from "@xrise33/token-list/sdk";

const xrplevm = getTokensByChain(list, 1440000);
const usdc = getTokenBySymbol(list, 1440000, "USDC");
const logo = usdc && getLogoUri(usdc);

console.log({ xrplevmCount: xrplevm.length, logo });

CommonJS Usage (Node require)

Even though the package is ESM-native, CJS consumers can still use it:

const list = require("@xrise33/token-list/dist/tokenlist.json");

// dynamic ESM import for SDK
(async () => {
  const { getTokenBySymbol } = await import("@xrise33/token-list/sdk");
  const token = getTokenBySymbol(list, 1440000, "USDC");
  console.log(token);
})();

Full CJS support via .cjs builds may be added later if demand requires.

CDN Logo Helper

const token = getTokenBySymbol(list, 1440000, "XRP");
const logoUri = token && getLogoUri(token);

console.log(logoUri);
// → https://cdn.jsdelivr.net/npm/@xrise33/token-list@latest/images/1440000/<address>.svg

Helper Function Reference

| Function | Purpose | | ------------------------------------------- | ------------------------------- | | getTokensByChain(list, chainId) | returns all tokens on chain | | getTokenByAddress(list, chainId, address) | lookup by contract | | getTokenBySymbol(list, chainId, symbol) | lookup by ticker | | getTokensByTag(list, tagId) | filter by metadata tag | | getLogoUri(token, opts?) | deterministic CDN-safe logo URL |


License

MIT © Contributors