Skip to content

[Bug] token-asset-base-url.json is outdate #5318

Description

@UncleBill

Bug Info

packages/web3-constants/evm/token-asset-base-url.json is outdate

{
"TOKEN_ASSET_BASE_URI": {
"Mainnet": [
"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum",
"https://rawcdn.githack.com/trustwallet/assets/master/blockchains/ethereum"
],
"Ropsten": [
"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum",
"https://rawcdn.githack.com/trustwallet/assets/master/blockchains/ethereum"
],
"Rinkeby": [
"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum",
"https://rawcdn.githack.com/trustwallet/assets/master/blockchains/ethereum"
],
"Kovan": [
"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum",
"https://rawcdn.githack.com/trustwallet/assets/master/blockchains/ethereum"
],
"Gorli": [
"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum",
"https://rawcdn.githack.com/trustwallet/assets/master/blockchains/ethereum"
],
"BSC": [
"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/smartchain",
"https://rawcdn.githack.com/trustwallet/assets/master/blockchains/smartchain"
],
"BSCT": [
"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/smartchain",
"https://rawcdn.githack.com/trustwallet/assets/master/blockchains/smartchain"
],
"Matic": [
"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/polygon",
"https://rawcdn.githack.com/trustwallet/assets/master/blockchains/polygon"
],
"Mumbai": [
"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/polygon",
"https://rawcdn.githack.com/trustwallet/assets/master/blockchains/polygon"
],
"Arbitrum": [],
"Arbitrum_Rinkeby": [],
"xDai": [],
"Celo": []
}
}

We should use permalink instead.

How to reproduce?

What happened?

What should happen?

Environment

Mask Version:

  • (Browser) Installed from the extension store (version: )
  • (App) Installed from the app store (version: )
  • master branch
  • Build of version/commit hash:

(Please write down build command/flags if there is anything special)

System

  • Windows 10
  • Mac OS X Catalina
  • Linux:

Platform/Browser

  • Latest Chrome (stable channel)
  • Latest Firefox (stable channel)
  • Android 11
  • iOS 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions