Skip to content

LP-Finance-Inc/token-list

Repository files navigation

LP Finance Token List

LP Finance created two tokens list formats, which can be adopted by simply replacing the solana-labs/token-list endpoint. Generated token lists are a wrapper of jup-ag/token-list main branch.

Token lists do not include banned tokens flagged on Jupiter and solely use validated tokens as source.

Legacy Token List

legacy-token-list.json uses the data from Jupiter Aggregator token list and reformats to solana-labs/token-list structure.

Format

{
    "tokens": [
        {
            "chainId": 101, 
            "address": TOKEN_MINT,
            "symbol": SYMBOL,
            "name": NAME,
            "decimals": DECIMALS,
            "logoURI": LOGO_URI,
        },
    ]
}

Solana Legacy Token List (⚠️Use this if migrating!)

solana-legacy-token-list.json uses the data from Jupiter Aggregator token list and reformats to solana-labs/token-list structure.

This token list concatenates data from solana-labs/token-list and jup-ag/token-list. If duplicated, it uses source from Jupiter token list.

Format

{
    "tokens": [
        {
            "chainId": 101, 
            "address": TOKEN_MINT,
            "symbol": SYMBOL,
            "name": NAME,
            "decimals": DECIMALS,
            "logoURI": LOGO_URI,
        },
    ]
}

Token List

Format

{
    TOKEN_MINT: {
        "name": NAME,
        "symbol": SYMBOL,
        "decimals": DECIMALS,
        "logo": LOGO_URI,
    }
}

Endpoints

Legacy Token List

https://raw.githubusercontent.com/LP-Finance-Inc/token-list/main/legacy-token-list.json

Solana Legacy Token List

https://raw.githubusercontent.com/LP-Finance-Inc/token-list/main/solana-legacy-token-list.json

Token List

https://raw.githubusercontent.com/LP-Finance-Inc/token-list/main/token-list.json