GithubHelp home page GithubHelp logo

angle-token-list's Introduction

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:

  • Add in src/assets/tokens a svg for the token logo with as a name for the file: tokenSymbol.svg (e.g for CRV: CRV.svg)
  • Update the ERC20_LIST.json file with the token info in the place of the json file that corresponds to the chain on which this token exists:
    • Make sure that the token address is checksummed
    • Let the hasPermit and useInSwap options to false
    • You can use the following model and replace with the information relevant to the token:
        "0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82": {
          "address": "0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82",
          "name": "PancakeSwap Token",
          "decimals": 18,
          "symbol": "CAKE",
          "hasPermit": false,
          "useInSwap": false,
          "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/cake.svg"
        }
    

.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;
}

angle-token-list's People

Contributors

greedythib avatar sogipec avatar picodes avatar indaviande avatar guillaumenervoxs avatar baptistg avatar teddav avatar blackrockfund avatar ruvlol avatar tutacrypto avatar 0xvenky avatar westonnelson avatar witherblock avatar encrypt3dw4lrus avatar flashburst avatar hosnik avatar hyperhammest avatar jdrskr avatar purybr365 avatar roinevirta avatar vikhyat90 avatar tore19 avatar nksazonov avatar nbpaxo avatar lucidao-developer avatar jd0x2e avatar danaugrs avatar 0xappo avatar amirnader-ghazvini avatar 0xpropereggs avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.