angle-token-list

Angle ERC20 List

Styled With Prettier

This repo contains a list of ERC20 tokens for which Angle-related front-end applications like Merkl or Angle Protocol app can display logos and essential information.

Add a token to the list

All tokens are listed in ERC20_LIST.json.

To add a token to the token list:

.json Token List

The type for the tokens in the list is exactly as follows:

interface TokenInfo {
  readonly name: string;
  readonly address: string;
  readonly decimals: number;
  readonly symbol: string;
  readonly isSanToken: boolean;
  readonly useInSwap?: boolean;
  readonly hasPermit?: boolean;
  readonly permitVersion?: string;
  readonly logoURI?: string;
  readonly tags?: string[];
  readonly description?: string;
}

Images guidelines

A few words about SVGs

SVG is a vectorial format and is the most lightweight format, except in two situations:

  1. Some SVG files can contains so many vectors (such as Curve logo) that SVG can be heavier than JPG or PNG.
  2. If you open the SVG file with a code editor, you might sometimes notice a data:image base64 tag with thousands of code lines, it means that a JPG/PNG is encapsulated inside the SVG. So the SVG is not actually vectorial.

In these two situations, you should convert the file into JPG or into PNG if it needs to support transparency.

How to convert images?

  1. Use Figma, and export the file in the good format.
  2. Sometimes, the SVG doesn’t show in Figma. In this case, use an online converter such as SVGtoPNG, and pay attention to the output so that the file isn’t cropped.