mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
Bring back changes (#2737)
This commit is contained in:
parent
dd21de2fa8
commit
1241d22ac3
|
@ -9,7 +9,6 @@ import {
|
|||
readFileSync,
|
||||
getChainAssetLogoPath,
|
||||
isPathExistsSync,
|
||||
getChainName,
|
||||
makeDirSync,
|
||||
getChainAssetPath,
|
||||
ethSidechains,
|
||||
|
@ -17,10 +16,9 @@ import {
|
|||
getChainWhitelist,
|
||||
} from "../../src/test/helpers";
|
||||
import { TickerType, mapTiker, PlatformType } from "../../src/test/models";
|
||||
import { CoinType } from "@trustwallet/types";
|
||||
|
||||
// Steps required to run this:
|
||||
// 1. (Optional) CMC API key already setup, use yours if needed. Install script deps "npm i" if hasn't been run before.
|
||||
// 1. (Optional) CMC API key already setup, use yours if needed. Install script deps "npm i" if hasn't been run before.
|
||||
// 2. Pull down tokens repo https://github.com/trustwallet/assets and point COIN_IMAGE_BASE_PATH and TOKEN_IMAGE_BASE_PATH to it.
|
||||
// 3. Run: `npm run gen:list`
|
||||
|
||||
|
@ -56,7 +54,6 @@ const custom: mapTiker[] = [
|
|||
]
|
||||
|
||||
const allContracts: mapTiker[] = [] // Temp storage for mapped assets
|
||||
let bip44Constants = {}
|
||||
let bnbOwnerToSymbol = {} // e.g: bnb1tawge8u97slduhhtumm03l4xl4c46dwv5m9yzk: WISH-2D5
|
||||
let bnbOriginalSymbolToSymbol = {} // e.g: WISH: WISH-2D5
|
||||
|
||||
|
@ -96,7 +93,6 @@ async function processCoin(coin) {
|
|||
id
|
||||
})
|
||||
}
|
||||
// await getImageIfMissing(getChainName(CoinType.ethereum), checksum, id)
|
||||
} catch (error) {
|
||||
console.log(`Etheruem platform error`, error)
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue
Block a user