@swapkit/tokens 1.0.0-rc.9 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,49 +1,29 @@
1
1
  {
2
- "author": "swapkit-oss-team",
3
- "description": "SwapKit Lib tokens",
4
- "devDependencies": {
5
- "@types/fs-extra": "11.0.1",
6
- "@vitest/coverage-istanbul": "0.34.4",
7
- "fs-extra": "11.1.1",
8
- "vite": "4.4.9",
9
- "vitest": "0.34.4",
10
- "@internal/config": "0.0.0-rc.1",
11
- "@swapkit/api": "1.0.0-rc.9",
12
- "@swapkit/types": "1.0.0-rc.9"
13
- },
14
- "eslintConfig": {
15
- "extends": "../../../internal/eslint-config"
16
- },
17
- "exports": {
18
- ".": {
19
- "import": "./dist/index.es.js",
20
- "require": "./dist/index.cjs",
21
- "types": "./dist/index.d.ts"
22
- }
23
- },
2
+ "author": "swapkit-oss",
3
+ "description": "SwapKit - Tokens",
24
4
  "files": [
25
5
  "src/",
26
6
  "dist/"
27
7
  ],
28
8
  "homepage": "https://github.com/thorswap/SwapKit",
29
9
  "license": "Apache-2.0",
30
- "main": "./dist/index.cjs",
31
- "module": "./dist/index.es.js",
10
+ "main": "./dist/index.js",
32
11
  "name": "@swapkit/tokens",
33
- "publishConfig": {
34
- "access": "public"
35
- },
36
12
  "react-native": "./src/index.ts",
37
- "repository": "https://github.com/thorswap/SwapKit.git",
38
- "type": "module",
39
- "types": "./dist/index.d.ts",
40
- "version": "1.0.0-rc.9",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/thorswap/SwapKit.git"
16
+ },
41
17
  "scripts": {
42
- "build": "vite build",
43
- "generate-tokens": "node ./scripts/fetchTokenLists.js",
44
- "clean": "rm -rf dist vite.config.ts.* .turbo node_modules",
45
- "lint": "prettier --check --write .",
46
- "test": "echo 'vitest --run'",
47
- "test:coverage": "echo 'vitest run --coverage'"
48
- }
49
- }
18
+ "build": "bun run ./build.ts",
19
+ "clean": "rm -rf dist node_modules *.tsbuildinfo",
20
+ "generate-tokens": "bun run ./fetchTokenLists.ts",
21
+ "lint": "biome check --write --unsafe ./src",
22
+ "test": "echo 'bun test'",
23
+ "test:coverage": "bun test --coverage",
24
+ "type-check": "tsc --noEmit"
25
+ },
26
+ "type": "module",
27
+ "types": "./src/index.ts",
28
+ "version": "1.0.1"
29
+ }
package/src/index.ts CHANGED
@@ -1,13 +1,11 @@
1
- export { list as OneInchList } from './tokenLists/1inch.ts';
2
- export { list as CoinGeckoList } from './tokenLists/Coingecko.ts';
3
- export { list as MayaList } from './tokenLists/Maya.ts';
4
- export { list as NativeList } from './tokenLists/Native.ts';
5
- export { list as PancakeswapList } from './tokenLists/Pancakeswap.ts';
6
- export { list as PancakeswapETHList } from './tokenLists/Pancakeswapeth.ts';
7
- export { list as PangolinList } from './tokenLists/Pangolin.ts';
8
- export { list as StargateARBList } from './tokenLists/Stargatearb.ts';
9
- export { list as SushiswapList } from './tokenLists/Sushiswap.ts';
10
- export { list as ThorchainList } from './tokenLists/Thorchain.ts';
11
- export { list as TraderjoeList } from './tokenLists/Traderjoe.ts';
12
- export { list as UniswapList } from './tokenLists/Uniswap.ts';
13
- export { list as WoofiList } from './tokenLists/Woofi.ts';
1
+ export { list as ChainflipList } from "./tokenLists/chainflip.js";
2
+ export { list as MayaList } from "./tokenLists/mayachain.ts";
3
+ export { list as OneInchList } from "./tokenLists/oneinch.ts";
4
+ export { list as PancakeswapList } from "./tokenLists/pancakeswap.js";
5
+ export { list as PangolinList } from "./tokenLists/pangolin_v1.ts";
6
+ export { list as SushiswapList } from "./tokenLists/sushiswap_v2.ts";
7
+ export { list as ThorchainList } from "./tokenLists/thorchain.js";
8
+ export { list as TraderjoeV1List } from "./tokenLists/traderjoe_v1.ts";
9
+ export { list as TraderjoeV2List } from "./tokenLists/traderjoe_v2.ts";
10
+ export { list as UniswapV2List } from "./tokenLists/uniswap_v2.ts";
11
+ export { list as UniswapV3List } from "./tokenLists/uniswap_v3.ts";
@@ -0,0 +1,82 @@
1
+ export const list = {
2
+ provider: "CHAINFLIP",
3
+ name: "CHAINFLIP",
4
+ timestamp: "2024-06-27T16:31:57.521Z",
5
+ version: { major: 1, minor: 0, patch: 0 },
6
+ keywords: [],
7
+ count: 8,
8
+ tokens: [
9
+ {
10
+ chain: "ARB",
11
+ chainId: "42161",
12
+ ticker: "ETH",
13
+ identifier: "ARB.ETH",
14
+ decimals: 18,
15
+ logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.eth.png",
16
+ },
17
+ {
18
+ chain: "ARB",
19
+ address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
20
+ chainId: "42161",
21
+ ticker: "USDC",
22
+ identifier: "ARB.USDC-0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
23
+ decimals: 6,
24
+ logoURI:
25
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.usdc-0xaf88d065e77c8cc2239327c5edb3a432268e5831.png",
26
+ },
27
+ {
28
+ chain: "BTC",
29
+ chainId: "bitcoin",
30
+ ticker: "BTC",
31
+ identifier: "BTC.BTC",
32
+ decimals: 8,
33
+ logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/btc.btc.png",
34
+ },
35
+ {
36
+ chain: "DOT",
37
+ chainId: "polkadot",
38
+ ticker: "DOT",
39
+ identifier: "DOT.DOT",
40
+ decimals: 10,
41
+ logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/dot.dot.png",
42
+ },
43
+ {
44
+ chain: "ETH",
45
+ chainId: "1",
46
+ ticker: "ETH",
47
+ identifier: "ETH.ETH",
48
+ decimals: 18,
49
+ logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/eth.eth.png",
50
+ },
51
+ {
52
+ chain: "ETH",
53
+ address: "0x826180541412D574cf1336d22c0C0a287822678A",
54
+ chainId: "1",
55
+ ticker: "FLIP",
56
+ identifier: "ETH.FLIP-0x826180541412D574cf1336d22c0C0a287822678A",
57
+ decimals: 18,
58
+ logoURI:
59
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/eth.flip-0x826180541412d574cf1336d22c0c0a287822678a.png",
60
+ },
61
+ {
62
+ chain: "ETH",
63
+ address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
64
+ chainId: "1",
65
+ ticker: "USDC",
66
+ identifier: "ETH.USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
67
+ decimals: 6,
68
+ logoURI:
69
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/eth.usdc-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png",
70
+ },
71
+ {
72
+ chain: "ETH",
73
+ address: "0xdAC17F958D2ee523a2206206994597C13D831ec7",
74
+ chainId: "1",
75
+ ticker: "USDT",
76
+ identifier: "ETH.USDT-0xdAC17F958D2ee523a2206206994597C13D831ec7",
77
+ decimals: 6,
78
+ logoURI:
79
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/eth.usdt-0xdac17f958d2ee523a2206206994597c13d831ec7.png",
80
+ },
81
+ ],
82
+ } as const;
@@ -0,0 +1,265 @@
1
+ export const list = {
2
+ provider: "MAYACHAIN",
3
+ chainId: "mayachain-mainnet-v1",
4
+ name: "MAYACHAIN",
5
+ timestamp: "2024-06-27T16:31:59.332Z",
6
+ version: { major: 1, minor: 0, patch: 0 },
7
+ keywords: [],
8
+ count: 27,
9
+ tokens: [
10
+ {
11
+ chain: "ARB",
12
+ address: "0x912ce59144191c1204e64559fe8253a0e49e6548",
13
+ chainId: "42161",
14
+ ticker: "ARB",
15
+ identifier: "ARB.ARB-0x912ce59144191c1204e64559fe8253a0e49e6548",
16
+ decimals: 18,
17
+ logoURI:
18
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.arb-0x912ce59144191c1204e64559fe8253a0e49e6548.png",
19
+ },
20
+ {
21
+ chain: "ARB",
22
+ address: "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
23
+ chainId: "42161",
24
+ ticker: "DAI",
25
+ identifier: "ARB.DAI-0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
26
+ decimals: 18,
27
+ logoURI:
28
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.dai-0xda10009cbd5d07dd0cecc66161fc93d7c9000da1.png",
29
+ },
30
+ {
31
+ chain: "ARB",
32
+ chainId: "42161",
33
+ ticker: "ETH",
34
+ identifier: "ARB.ETH",
35
+ decimals: 18,
36
+ logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.eth.png",
37
+ },
38
+ {
39
+ chain: "ARB",
40
+ address: "0xafd091f140c21770f4e5d53d26b2859ae97555aa",
41
+ chainId: "42161",
42
+ ticker: "GLD",
43
+ identifier: "ARB.GLD-0xafd091f140c21770f4e5d53d26b2859ae97555aa",
44
+ decimals: 18,
45
+ logoURI:
46
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.gld-0xafd091f140c21770f4e5d53d26b2859ae97555aa.png",
47
+ },
48
+ {
49
+ chain: "ARB",
50
+ address: "0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a",
51
+ chainId: "42161",
52
+ ticker: "GMX",
53
+ identifier: "ARB.GMX-0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a",
54
+ decimals: 18,
55
+ logoURI:
56
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.gmx-0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a.png",
57
+ },
58
+ {
59
+ chain: "ARB",
60
+ address: "0x18c11fd286c5ec11c3b683caa813b77f5163a122",
61
+ chainId: "42161",
62
+ ticker: "GNS",
63
+ identifier: "ARB.GNS-0x18c11fd286c5ec11c3b683caa813b77f5163a122",
64
+ decimals: 18,
65
+ logoURI:
66
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.gns-0x18c11fd286c5ec11c3b683caa813b77f5163a122.png",
67
+ },
68
+ {
69
+ chain: "ARB",
70
+ address: "0x93864d81175095dd93360ffa2a529b8642f76a6e",
71
+ chainId: "42161",
72
+ ticker: "LEO",
73
+ identifier: "ARB.LEO-0x93864d81175095dd93360ffa2a529b8642f76a6e",
74
+ decimals: 3,
75
+ logoURI:
76
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.leo-0x93864d81175095dd93360ffa2a529b8642f76a6e.png",
77
+ },
78
+ {
79
+ chain: "ARB",
80
+ address: "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
81
+ chainId: "42161",
82
+ ticker: "LINK",
83
+ identifier: "ARB.LINK-0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
84
+ decimals: 18,
85
+ logoURI:
86
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.link-0xf97f4df75117a78c1a5a0dbb814af92458539fb4.png",
87
+ },
88
+ {
89
+ chain: "ARB",
90
+ address: "0x25d887ce7a35172c62febfd67a1856f20faebb00",
91
+ chainId: "42161",
92
+ ticker: "PEPE",
93
+ identifier: "ARB.PEPE-0x25d887ce7a35172c62febfd67a1856f20faebb00",
94
+ decimals: 18,
95
+ logoURI:
96
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.pepe-0x25d887ce7a35172c62febfd67a1856f20faebb00.png",
97
+ },
98
+ {
99
+ chain: "ARB",
100
+ address: "0xd4d42f0b6def4ce0383636770ef773390d85c61a",
101
+ chainId: "42161",
102
+ ticker: "SUSHI",
103
+ identifier: "ARB.SUSHI-0xd4d42f0b6def4ce0383636770ef773390d85c61a",
104
+ decimals: 18,
105
+ logoURI:
106
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.sushi-0xd4d42f0b6def4ce0383636770ef773390d85c61a.png",
107
+ },
108
+ {
109
+ chain: "ARB",
110
+ address: "0x429fed88f10285e61b12bdf00848315fbdfcc341",
111
+ chainId: "42161",
112
+ ticker: "TGT",
113
+ identifier: "ARB.TGT-0x429fed88f10285e61b12bdf00848315fbdfcc341",
114
+ decimals: 18,
115
+ logoURI:
116
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.tgt-0x429fed88f10285e61b12bdf00848315fbdfcc341.png",
117
+ },
118
+ {
119
+ chain: "ARB",
120
+ address: "0xfa7f8980b0f1e64a2062791cc3b0871572f1f7f0",
121
+ chainId: "42161",
122
+ ticker: "UNI",
123
+ identifier: "ARB.UNI-0xfa7f8980b0f1e64a2062791cc3b0871572f1f7f0",
124
+ decimals: 18,
125
+ logoURI:
126
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.uni-0xfa7f8980b0f1e64a2062791cc3b0871572f1f7f0.png",
127
+ },
128
+ {
129
+ chain: "ARB",
130
+ address: "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
131
+ chainId: "42161",
132
+ ticker: "USDC",
133
+ identifier: "ARB.USDC-0xaf88d065e77c8cc2239327c5edb3a432268e5831",
134
+ decimals: 6,
135
+ logoURI:
136
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.usdc-0xaf88d065e77c8cc2239327c5edb3a432268e5831.png",
137
+ },
138
+ {
139
+ chain: "ARB",
140
+ address: "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
141
+ chainId: "42161",
142
+ ticker: "USDT",
143
+ identifier: "ARB.USDT-0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
144
+ decimals: 6,
145
+ logoURI:
146
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.usdt-0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9.png",
147
+ },
148
+ {
149
+ chain: "ARB",
150
+ address: "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f",
151
+ chainId: "42161",
152
+ ticker: "WBTC",
153
+ identifier: "ARB.WBTC-0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f",
154
+ decimals: 18,
155
+ logoURI:
156
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.wbtc-0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f.png",
157
+ },
158
+ {
159
+ chain: "ARB",
160
+ address: "0x5979d7b546e38e414f7e9822514be443a4800529",
161
+ chainId: "42161",
162
+ ticker: "WSTETH",
163
+ identifier: "ARB.WSTETH-0x5979d7b546e38e414f7e9822514be443a4800529",
164
+ decimals: 18,
165
+ logoURI:
166
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.wsteth-0x5979d7b546e38e414f7e9822514be443a4800529.png",
167
+ },
168
+ {
169
+ chain: "BTC",
170
+ chainId: "bitcoin",
171
+ ticker: "BTC",
172
+ identifier: "BTC.BTC",
173
+ decimals: 8,
174
+ logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/btc.btc.png",
175
+ },
176
+ {
177
+ chain: "DASH",
178
+ chainId: "dash",
179
+ ticker: "DASH",
180
+ identifier: "DASH.DASH",
181
+ decimals: 8,
182
+ logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/dash.dash.png",
183
+ },
184
+ {
185
+ chain: "ETH",
186
+ chainId: "1",
187
+ ticker: "ETH",
188
+ identifier: "ETH.ETH",
189
+ decimals: 18,
190
+ logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/eth.eth.png",
191
+ },
192
+ {
193
+ chain: "ETH",
194
+ address: "0x6982508145454ce325ddbe47a25d4ec3d2311933",
195
+ chainId: "1",
196
+ ticker: "PEPE",
197
+ identifier: "ETH.PEPE-0x6982508145454ce325ddbe47a25d4ec3d2311933",
198
+ decimals: 18,
199
+ logoURI:
200
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/eth.pepe-0x6982508145454ce325ddbe47a25d4ec3d2311933.png",
201
+ },
202
+ {
203
+ chain: "ETH",
204
+ address: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
205
+ chainId: "1",
206
+ ticker: "USDC",
207
+ identifier: "ETH.USDC-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
208
+ decimals: 6,
209
+ logoURI:
210
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/eth.usdc-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png",
211
+ },
212
+ {
213
+ chain: "ETH",
214
+ address: "0xdac17f958d2ee523a2206206994597c13d831ec7",
215
+ chainId: "1",
216
+ ticker: "USDT",
217
+ identifier: "ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",
218
+ decimals: 6,
219
+ logoURI:
220
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/eth.usdt-0xdac17f958d2ee523a2206206994597c13d831ec7.png",
221
+ },
222
+ {
223
+ chain: "ETH",
224
+ address: "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",
225
+ chainId: "1",
226
+ ticker: "wstETH",
227
+ identifier: "ETH.wstETH-0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",
228
+ decimals: 18,
229
+ logoURI:
230
+ "https://storage.googleapis.com/token-list-swapkit-dev/images/eth.wsteth-0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0.png",
231
+ },
232
+ {
233
+ chain: "KUJI",
234
+ chainId: "kaiyo-1",
235
+ ticker: "KUJI",
236
+ identifier: "KUJI.KUJI",
237
+ decimals: 6,
238
+ logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/kuji.kuji.png",
239
+ },
240
+ {
241
+ chain: "KUJI",
242
+ chainId: "kaiyo-1",
243
+ ticker: "USK",
244
+ identifier: "KUJI.USK",
245
+ decimals: 6,
246
+ logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/kuji.usk.png",
247
+ },
248
+ {
249
+ chain: "MAYA",
250
+ chainId: "mayachain-mainnet-v1",
251
+ ticker: "CACAO",
252
+ identifier: "MAYA.CACAO",
253
+ decimals: 10,
254
+ logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/maya.cacao.png",
255
+ },
256
+ {
257
+ chain: "THOR",
258
+ chainId: "thorchain-mainnet-v1",
259
+ ticker: "RUNE",
260
+ identifier: "THOR.RUNE",
261
+ decimals: 8,
262
+ logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/thor.rune.png",
263
+ },
264
+ ],
265
+ } as const;