@subwallet/chain-list 0.2.48-beta.0 → 0.2.48-beta.2
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/bundle-subwallet-chain-list.js +116 -4
- package/cjs/data/AssetLogoMap.json +6 -0
- package/cjs/data/AssetRef.json +3 -3
- package/cjs/data/ChainAsset.json +103 -1
- package/cjs/index.js +4 -0
- package/cjs/packageInfo.js +1 -1
- package/data/AssetLogoMap.json +6 -0
- package/data/AssetRef.json +3 -3
- package/data/ChainAsset.json +103 -1
- package/index.d.ts +5 -1
- package/index.js +4 -0
- package/package.json +1 -1
- package/packageInfo.js +1 -1
|
@@ -512,6 +512,12 @@
|
|
|
512
512
|
"hydradx_rococo-native-hdx": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-native-hdx.png",
|
|
513
513
|
"hydradx_rococo-local-dot": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-local-dot.png",
|
|
514
514
|
"hydradx_rococo-local-usdt": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-local-usdt.png",
|
|
515
|
+
"bifrost_dot-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/bifrost_dot-local-pink.png",
|
|
516
|
+
"astar-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/astar-local-pink.png",
|
|
517
|
+
"phala-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/phala-local-pink.png",
|
|
518
|
+
"acala-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/acala-local-pink.png",
|
|
519
|
+
"crust-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/crust-local-pink.png",
|
|
520
|
+
"darwinia2-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/darwinia2-local-pink.png",
|
|
515
521
|
"eth-ethereum": "https://dev.sw-chain-list-assets.pages.dev/assets/multi-chain-assets/eth-ethereum.png",
|
|
516
522
|
"ibtc-interbtc": "https://dev.sw-chain-list-assets.pages.dev/assets/multi-chain-assets/ibtc-interbtc.png",
|
|
517
523
|
"glmr-moonbeam": "https://dev.sw-chain-list-assets.pages.dev/assets/multi-chain-assets/glmr-moonbeam.png",
|
|
@@ -1126,11 +1132,11 @@
|
|
|
1126
1132
|
destChain: "hydradx_rococo",
|
|
1127
1133
|
path: "SWAP"
|
|
1128
1134
|
},
|
|
1129
|
-
"hydradx_rococo-LOCAL-
|
|
1135
|
+
"hydradx_rococo-LOCAL-USDT___hydradx_rococo-NATIVE-HDX": {
|
|
1130
1136
|
srcAsset: "hydradx_rococo-LOCAL-USDT",
|
|
1131
|
-
destAsset: "
|
|
1137
|
+
destAsset: "hydradx_rococo-NATIVE-HDX",
|
|
1132
1138
|
srcChain: "hydradx_rococo",
|
|
1133
|
-
destChain: "
|
|
1139
|
+
destChain: "hydradx_rococo",
|
|
1134
1140
|
path: "SWAP"
|
|
1135
1141
|
},
|
|
1136
1142
|
"hydradx_rococo-LOCAL-USDT___hydradx_rococo-LOCAL-DOT": {
|
|
@@ -9217,7 +9223,9 @@
|
|
|
9217
9223
|
priceId: null,
|
|
9218
9224
|
minAmount: "1000000000000",
|
|
9219
9225
|
assetType: "NATIVE",
|
|
9220
|
-
metadata:
|
|
9226
|
+
metadata: {
|
|
9227
|
+
assetId: "0"
|
|
9228
|
+
},
|
|
9221
9229
|
multiChainAsset: null,
|
|
9222
9230
|
hasValue: false,
|
|
9223
9231
|
icon: "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-native-hdx.png"
|
|
@@ -9253,6 +9261,106 @@
|
|
|
9253
9261
|
multiChainAsset: null,
|
|
9254
9262
|
hasValue: false,
|
|
9255
9263
|
icon: "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-local-usdt.png"
|
|
9264
|
+
},
|
|
9265
|
+
"bifrost_dot-LOCAL-PINK": {
|
|
9266
|
+
originChain: "bifrost_dot",
|
|
9267
|
+
slug: "bifrost_dot-LOCAL-PINK",
|
|
9268
|
+
name: "Pink",
|
|
9269
|
+
symbol: "PINK",
|
|
9270
|
+
decimals: 10,
|
|
9271
|
+
priceId: null,
|
|
9272
|
+
minAmount: "100000000",
|
|
9273
|
+
assetType: "LOCAL",
|
|
9274
|
+
metadata: {
|
|
9275
|
+
onChainInfo: {
|
|
9276
|
+
Token2: "10"
|
|
9277
|
+
}
|
|
9278
|
+
},
|
|
9279
|
+
multiChainAsset: "PINK-StatemintPink",
|
|
9280
|
+
hasValue: true,
|
|
9281
|
+
icon: "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/bifrost_dot-local-pink.png"
|
|
9282
|
+
},
|
|
9283
|
+
"astar-LOCAL-PINK": {
|
|
9284
|
+
originChain: "astar",
|
|
9285
|
+
slug: "astar-LOCAL-PINK",
|
|
9286
|
+
name: "Pink",
|
|
9287
|
+
symbol: "PINK",
|
|
9288
|
+
decimals: 10,
|
|
9289
|
+
priceId: null,
|
|
9290
|
+
minAmount: "1",
|
|
9291
|
+
assetType: "LOCAL",
|
|
9292
|
+
metadata: {
|
|
9293
|
+
assetId: "18446744073709551633"
|
|
9294
|
+
},
|
|
9295
|
+
multiChainAsset: "PINK-StatemintPink",
|
|
9296
|
+
hasValue: true,
|
|
9297
|
+
icon: "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/astar-local-pink.png"
|
|
9298
|
+
},
|
|
9299
|
+
"phala-LOCAL-PINK": {
|
|
9300
|
+
originChain: "phala",
|
|
9301
|
+
slug: "phala-LOCAL-PINK",
|
|
9302
|
+
name: "Pink",
|
|
9303
|
+
symbol: "PINK",
|
|
9304
|
+
decimals: 10,
|
|
9305
|
+
priceId: null,
|
|
9306
|
+
minAmount: "100000000",
|
|
9307
|
+
assetType: "LOCAL",
|
|
9308
|
+
metadata: {
|
|
9309
|
+
assetId: "12"
|
|
9310
|
+
},
|
|
9311
|
+
multiChainAsset: "PINK-StatemintPink",
|
|
9312
|
+
hasValue: true,
|
|
9313
|
+
icon: "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/phala-local-pink.png"
|
|
9314
|
+
},
|
|
9315
|
+
"acala-LOCAL-PINK": {
|
|
9316
|
+
originChain: "acala",
|
|
9317
|
+
slug: "acala-LOCAL-PINK",
|
|
9318
|
+
name: "Pink",
|
|
9319
|
+
symbol: "PINK",
|
|
9320
|
+
decimals: 10,
|
|
9321
|
+
priceId: null,
|
|
9322
|
+
minAmount: "1000000000",
|
|
9323
|
+
assetType: "LOCAL",
|
|
9324
|
+
metadata: {
|
|
9325
|
+
onChainInfo: {
|
|
9326
|
+
ForeignAsset: 13
|
|
9327
|
+
}
|
|
9328
|
+
},
|
|
9329
|
+
multiChainAsset: "PINK-StatemintPink",
|
|
9330
|
+
hasValue: true,
|
|
9331
|
+
icon: "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/acala-local-pink.png"
|
|
9332
|
+
},
|
|
9333
|
+
"crust-LOCAL-PINK": {
|
|
9334
|
+
originChain: "crust",
|
|
9335
|
+
slug: "crust-LOCAL-PINK",
|
|
9336
|
+
name: "Pink",
|
|
9337
|
+
symbol: "PINK",
|
|
9338
|
+
decimals: 10,
|
|
9339
|
+
priceId: null,
|
|
9340
|
+
minAmount: "1",
|
|
9341
|
+
assetType: "LOCAL",
|
|
9342
|
+
metadata: {
|
|
9343
|
+
assetId: "64174511183114006009298114091987195453"
|
|
9344
|
+
},
|
|
9345
|
+
multiChainAsset: "PINK-StatemintPink",
|
|
9346
|
+
hasValue: true,
|
|
9347
|
+
icon: "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/crust-local-pink.png"
|
|
9348
|
+
},
|
|
9349
|
+
"darwinia2-LOCAL-PINK": {
|
|
9350
|
+
originChain: "darwinia2",
|
|
9351
|
+
slug: "darwinia2-LOCAL-PINK",
|
|
9352
|
+
name: "Pink",
|
|
9353
|
+
symbol: "PINK",
|
|
9354
|
+
decimals: 10,
|
|
9355
|
+
priceId: null,
|
|
9356
|
+
minAmount: "1",
|
|
9357
|
+
assetType: "LOCAL",
|
|
9358
|
+
metadata: {
|
|
9359
|
+
assetId: "1028"
|
|
9360
|
+
},
|
|
9361
|
+
multiChainAsset: "PINK-StatemintPink",
|
|
9362
|
+
hasValue: true,
|
|
9363
|
+
icon: "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/darwinia2-local-pink.png"
|
|
9256
9364
|
}
|
|
9257
9365
|
};
|
|
9258
9366
|
|
|
@@ -18306,6 +18414,7 @@
|
|
|
18306
18414
|
COMMON_CHAIN_SLUGS["BINANCE"] = "binance";
|
|
18307
18415
|
COMMON_CHAIN_SLUGS["ASTAR_EVM"] = "astarEvm";
|
|
18308
18416
|
COMMON_CHAIN_SLUGS["HYDRADX"] = "hydradx_main";
|
|
18417
|
+
COMMON_CHAIN_SLUGS["HYDRADX_TESTNET"] = "hydradx_rococo";
|
|
18309
18418
|
COMMON_CHAIN_SLUGS["ETHEREUM_SEPOLIA"] = "sepolia_ethereum";
|
|
18310
18419
|
COMMON_CHAIN_SLUGS["CHAINFLIP_POLKADOT"] = "chainflip_dot";
|
|
18311
18420
|
})(exports.COMMON_CHAIN_SLUGS || (exports.COMMON_CHAIN_SLUGS = {}));
|
|
@@ -18319,6 +18428,9 @@
|
|
|
18319
18428
|
COMMON_ASSETS["HDX"] = "hydradx_main-NATIVE-HDX";
|
|
18320
18429
|
COMMON_ASSETS["USDC_ETHEREUM"] = "ethereum-ERC20-USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
18321
18430
|
COMMON_ASSETS["USDC_SEPOLIA"] = "sepolia_ethereum-ERC20-USDC-0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238";
|
|
18431
|
+
COMMON_ASSETS["HDX_TESTNET"] = "hydradx_rococo-NATIVE-HDX";
|
|
18432
|
+
COMMON_ASSETS["USDT_HYDRADX_TESTNET"] = "hydradx_rococo-LOCAL-USDT";
|
|
18433
|
+
COMMON_ASSETS["DOT_HYDRADX_TESTNET"] = "hydradx_rococo-LOCAL-DOT";
|
|
18322
18434
|
})(exports.COMMON_ASSETS || (exports.COMMON_ASSETS = {}));
|
|
18323
18435
|
const _DEFAULT_CHAINS = [exports.COMMON_CHAIN_SLUGS.POLKADOT, exports.COMMON_CHAIN_SLUGS.KUSAMA, exports.COMMON_CHAIN_SLUGS.ETHEREUM];
|
|
18324
18436
|
|
|
@@ -504,6 +504,12 @@
|
|
|
504
504
|
"hydradx_rococo-native-hdx": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-native-hdx.png",
|
|
505
505
|
"hydradx_rococo-local-dot": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-local-dot.png",
|
|
506
506
|
"hydradx_rococo-local-usdt": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-local-usdt.png",
|
|
507
|
+
"bifrost_dot-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/bifrost_dot-local-pink.png",
|
|
508
|
+
"astar-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/astar-local-pink.png",
|
|
509
|
+
"phala-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/phala-local-pink.png",
|
|
510
|
+
"acala-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/acala-local-pink.png",
|
|
511
|
+
"crust-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/crust-local-pink.png",
|
|
512
|
+
"darwinia2-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/darwinia2-local-pink.png",
|
|
507
513
|
"eth-ethereum": "https://dev.sw-chain-list-assets.pages.dev/assets/multi-chain-assets/eth-ethereum.png",
|
|
508
514
|
"ibtc-interbtc": "https://dev.sw-chain-list-assets.pages.dev/assets/multi-chain-assets/ibtc-interbtc.png",
|
|
509
515
|
"glmr-moonbeam": "https://dev.sw-chain-list-assets.pages.dev/assets/multi-chain-assets/glmr-moonbeam.png",
|
package/cjs/data/AssetRef.json
CHANGED
|
@@ -559,11 +559,11 @@
|
|
|
559
559
|
"destChain": "hydradx_rococo",
|
|
560
560
|
"path": "SWAP"
|
|
561
561
|
},
|
|
562
|
-
"hydradx_rococo-LOCAL-
|
|
562
|
+
"hydradx_rococo-LOCAL-USDT___hydradx_rococo-NATIVE-HDX": {
|
|
563
563
|
"srcAsset": "hydradx_rococo-LOCAL-USDT",
|
|
564
|
-
"destAsset": "
|
|
564
|
+
"destAsset": "hydradx_rococo-NATIVE-HDX",
|
|
565
565
|
"srcChain": "hydradx_rococo",
|
|
566
|
-
"destChain": "
|
|
566
|
+
"destChain": "hydradx_rococo",
|
|
567
567
|
"path": "SWAP"
|
|
568
568
|
},
|
|
569
569
|
"hydradx_rococo-LOCAL-USDT___hydradx_rococo-LOCAL-DOT": {
|
package/cjs/data/ChainAsset.json
CHANGED
|
@@ -8073,7 +8073,9 @@
|
|
|
8073
8073
|
"priceId": null,
|
|
8074
8074
|
"minAmount": "1000000000000",
|
|
8075
8075
|
"assetType": "NATIVE",
|
|
8076
|
-
"metadata":
|
|
8076
|
+
"metadata": {
|
|
8077
|
+
"assetId": "0"
|
|
8078
|
+
},
|
|
8077
8079
|
"multiChainAsset": null,
|
|
8078
8080
|
"hasValue": false,
|
|
8079
8081
|
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-native-hdx.png"
|
|
@@ -8109,5 +8111,105 @@
|
|
|
8109
8111
|
"multiChainAsset": null,
|
|
8110
8112
|
"hasValue": false,
|
|
8111
8113
|
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-local-usdt.png"
|
|
8114
|
+
},
|
|
8115
|
+
"bifrost_dot-LOCAL-PINK": {
|
|
8116
|
+
"originChain": "bifrost_dot",
|
|
8117
|
+
"slug": "bifrost_dot-LOCAL-PINK",
|
|
8118
|
+
"name": "Pink",
|
|
8119
|
+
"symbol": "PINK",
|
|
8120
|
+
"decimals": 10,
|
|
8121
|
+
"priceId": null,
|
|
8122
|
+
"minAmount": "100000000",
|
|
8123
|
+
"assetType": "LOCAL",
|
|
8124
|
+
"metadata": {
|
|
8125
|
+
"onChainInfo": {
|
|
8126
|
+
"Token2": "10"
|
|
8127
|
+
}
|
|
8128
|
+
},
|
|
8129
|
+
"multiChainAsset": "PINK-StatemintPink",
|
|
8130
|
+
"hasValue": true,
|
|
8131
|
+
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/bifrost_dot-local-pink.png"
|
|
8132
|
+
},
|
|
8133
|
+
"astar-LOCAL-PINK": {
|
|
8134
|
+
"originChain": "astar",
|
|
8135
|
+
"slug": "astar-LOCAL-PINK",
|
|
8136
|
+
"name": "Pink",
|
|
8137
|
+
"symbol": "PINK",
|
|
8138
|
+
"decimals": 10,
|
|
8139
|
+
"priceId": null,
|
|
8140
|
+
"minAmount": "1",
|
|
8141
|
+
"assetType": "LOCAL",
|
|
8142
|
+
"metadata": {
|
|
8143
|
+
"assetId": "18446744073709551633"
|
|
8144
|
+
},
|
|
8145
|
+
"multiChainAsset": "PINK-StatemintPink",
|
|
8146
|
+
"hasValue": true,
|
|
8147
|
+
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/astar-local-pink.png"
|
|
8148
|
+
},
|
|
8149
|
+
"phala-LOCAL-PINK": {
|
|
8150
|
+
"originChain": "phala",
|
|
8151
|
+
"slug": "phala-LOCAL-PINK",
|
|
8152
|
+
"name": "Pink",
|
|
8153
|
+
"symbol": "PINK",
|
|
8154
|
+
"decimals": 10,
|
|
8155
|
+
"priceId": null,
|
|
8156
|
+
"minAmount": "100000000",
|
|
8157
|
+
"assetType": "LOCAL",
|
|
8158
|
+
"metadata": {
|
|
8159
|
+
"assetId": "12"
|
|
8160
|
+
},
|
|
8161
|
+
"multiChainAsset": "PINK-StatemintPink",
|
|
8162
|
+
"hasValue": true,
|
|
8163
|
+
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/phala-local-pink.png"
|
|
8164
|
+
},
|
|
8165
|
+
"acala-LOCAL-PINK": {
|
|
8166
|
+
"originChain": "acala",
|
|
8167
|
+
"slug": "acala-LOCAL-PINK",
|
|
8168
|
+
"name": "Pink",
|
|
8169
|
+
"symbol": "PINK",
|
|
8170
|
+
"decimals": 10,
|
|
8171
|
+
"priceId": null,
|
|
8172
|
+
"minAmount": "1000000000",
|
|
8173
|
+
"assetType": "LOCAL",
|
|
8174
|
+
"metadata": {
|
|
8175
|
+
"onChainInfo": {
|
|
8176
|
+
"ForeignAsset": 13
|
|
8177
|
+
}
|
|
8178
|
+
},
|
|
8179
|
+
"multiChainAsset": "PINK-StatemintPink",
|
|
8180
|
+
"hasValue": true,
|
|
8181
|
+
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/acala-local-pink.png"
|
|
8182
|
+
},
|
|
8183
|
+
"crust-LOCAL-PINK": {
|
|
8184
|
+
"originChain": "crust",
|
|
8185
|
+
"slug": "crust-LOCAL-PINK",
|
|
8186
|
+
"name": "Pink",
|
|
8187
|
+
"symbol": "PINK",
|
|
8188
|
+
"decimals": 10,
|
|
8189
|
+
"priceId": null,
|
|
8190
|
+
"minAmount": "1",
|
|
8191
|
+
"assetType": "LOCAL",
|
|
8192
|
+
"metadata": {
|
|
8193
|
+
"assetId": "64174511183114006009298114091987195453"
|
|
8194
|
+
},
|
|
8195
|
+
"multiChainAsset": "PINK-StatemintPink",
|
|
8196
|
+
"hasValue": true,
|
|
8197
|
+
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/crust-local-pink.png"
|
|
8198
|
+
},
|
|
8199
|
+
"darwinia2-LOCAL-PINK": {
|
|
8200
|
+
"originChain": "darwinia2",
|
|
8201
|
+
"slug": "darwinia2-LOCAL-PINK",
|
|
8202
|
+
"name": "Pink",
|
|
8203
|
+
"symbol": "PINK",
|
|
8204
|
+
"decimals": 10,
|
|
8205
|
+
"priceId": null,
|
|
8206
|
+
"minAmount": "1",
|
|
8207
|
+
"assetType": "LOCAL",
|
|
8208
|
+
"metadata": {
|
|
8209
|
+
"assetId": "1028"
|
|
8210
|
+
},
|
|
8211
|
+
"multiChainAsset": "PINK-StatemintPink",
|
|
8212
|
+
"hasValue": true,
|
|
8213
|
+
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/darwinia2-local-pink.png"
|
|
8112
8214
|
}
|
|
8113
8215
|
}
|
package/cjs/index.js
CHANGED
|
@@ -42,6 +42,7 @@ exports.COMMON_CHAIN_SLUGS = COMMON_CHAIN_SLUGS;
|
|
|
42
42
|
COMMON_CHAIN_SLUGS["BINANCE"] = "binance";
|
|
43
43
|
COMMON_CHAIN_SLUGS["ASTAR_EVM"] = "astarEvm";
|
|
44
44
|
COMMON_CHAIN_SLUGS["HYDRADX"] = "hydradx_main";
|
|
45
|
+
COMMON_CHAIN_SLUGS["HYDRADX_TESTNET"] = "hydradx_rococo";
|
|
45
46
|
COMMON_CHAIN_SLUGS["ETHEREUM_SEPOLIA"] = "sepolia_ethereum";
|
|
46
47
|
COMMON_CHAIN_SLUGS["CHAINFLIP_POLKADOT"] = "chainflip_dot";
|
|
47
48
|
})(COMMON_CHAIN_SLUGS || (exports.COMMON_CHAIN_SLUGS = COMMON_CHAIN_SLUGS = {}));
|
|
@@ -56,6 +57,9 @@ exports.COMMON_ASSETS = COMMON_ASSETS;
|
|
|
56
57
|
COMMON_ASSETS["HDX"] = "hydradx_main-NATIVE-HDX";
|
|
57
58
|
COMMON_ASSETS["USDC_ETHEREUM"] = "ethereum-ERC20-USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
58
59
|
COMMON_ASSETS["USDC_SEPOLIA"] = "sepolia_ethereum-ERC20-USDC-0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238";
|
|
60
|
+
COMMON_ASSETS["HDX_TESTNET"] = "hydradx_rococo-NATIVE-HDX";
|
|
61
|
+
COMMON_ASSETS["USDT_HYDRADX_TESTNET"] = "hydradx_rococo-LOCAL-USDT";
|
|
62
|
+
COMMON_ASSETS["DOT_HYDRADX_TESTNET"] = "hydradx_rococo-LOCAL-DOT";
|
|
59
63
|
})(COMMON_ASSETS || (exports.COMMON_ASSETS = COMMON_ASSETS = {}));
|
|
60
64
|
const _DEFAULT_CHAINS = [COMMON_CHAIN_SLUGS.POLKADOT, COMMON_CHAIN_SLUGS.KUSAMA, COMMON_CHAIN_SLUGS.ETHEREUM];
|
|
61
65
|
exports._DEFAULT_CHAINS = _DEFAULT_CHAINS;
|
package/cjs/packageInfo.js
CHANGED
package/data/AssetLogoMap.json
CHANGED
|
@@ -504,6 +504,12 @@
|
|
|
504
504
|
"hydradx_rococo-native-hdx": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-native-hdx.png",
|
|
505
505
|
"hydradx_rococo-local-dot": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-local-dot.png",
|
|
506
506
|
"hydradx_rococo-local-usdt": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-local-usdt.png",
|
|
507
|
+
"bifrost_dot-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/bifrost_dot-local-pink.png",
|
|
508
|
+
"astar-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/astar-local-pink.png",
|
|
509
|
+
"phala-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/phala-local-pink.png",
|
|
510
|
+
"acala-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/acala-local-pink.png",
|
|
511
|
+
"crust-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/crust-local-pink.png",
|
|
512
|
+
"darwinia2-local-pink": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/darwinia2-local-pink.png",
|
|
507
513
|
"eth-ethereum": "https://dev.sw-chain-list-assets.pages.dev/assets/multi-chain-assets/eth-ethereum.png",
|
|
508
514
|
"ibtc-interbtc": "https://dev.sw-chain-list-assets.pages.dev/assets/multi-chain-assets/ibtc-interbtc.png",
|
|
509
515
|
"glmr-moonbeam": "https://dev.sw-chain-list-assets.pages.dev/assets/multi-chain-assets/glmr-moonbeam.png",
|
package/data/AssetRef.json
CHANGED
|
@@ -559,11 +559,11 @@
|
|
|
559
559
|
"destChain": "hydradx_rococo",
|
|
560
560
|
"path": "SWAP"
|
|
561
561
|
},
|
|
562
|
-
"hydradx_rococo-LOCAL-
|
|
562
|
+
"hydradx_rococo-LOCAL-USDT___hydradx_rococo-NATIVE-HDX": {
|
|
563
563
|
"srcAsset": "hydradx_rococo-LOCAL-USDT",
|
|
564
|
-
"destAsset": "
|
|
564
|
+
"destAsset": "hydradx_rococo-NATIVE-HDX",
|
|
565
565
|
"srcChain": "hydradx_rococo",
|
|
566
|
-
"destChain": "
|
|
566
|
+
"destChain": "hydradx_rococo",
|
|
567
567
|
"path": "SWAP"
|
|
568
568
|
},
|
|
569
569
|
"hydradx_rococo-LOCAL-USDT___hydradx_rococo-LOCAL-DOT": {
|
package/data/ChainAsset.json
CHANGED
|
@@ -8073,7 +8073,9 @@
|
|
|
8073
8073
|
"priceId": null,
|
|
8074
8074
|
"minAmount": "1000000000000",
|
|
8075
8075
|
"assetType": "NATIVE",
|
|
8076
|
-
"metadata":
|
|
8076
|
+
"metadata": {
|
|
8077
|
+
"assetId": "0"
|
|
8078
|
+
},
|
|
8077
8079
|
"multiChainAsset": null,
|
|
8078
8080
|
"hasValue": false,
|
|
8079
8081
|
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-native-hdx.png"
|
|
@@ -8109,5 +8111,105 @@
|
|
|
8109
8111
|
"multiChainAsset": null,
|
|
8110
8112
|
"hasValue": false,
|
|
8111
8113
|
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-local-usdt.png"
|
|
8114
|
+
},
|
|
8115
|
+
"bifrost_dot-LOCAL-PINK": {
|
|
8116
|
+
"originChain": "bifrost_dot",
|
|
8117
|
+
"slug": "bifrost_dot-LOCAL-PINK",
|
|
8118
|
+
"name": "Pink",
|
|
8119
|
+
"symbol": "PINK",
|
|
8120
|
+
"decimals": 10,
|
|
8121
|
+
"priceId": null,
|
|
8122
|
+
"minAmount": "100000000",
|
|
8123
|
+
"assetType": "LOCAL",
|
|
8124
|
+
"metadata": {
|
|
8125
|
+
"onChainInfo": {
|
|
8126
|
+
"Token2": "10"
|
|
8127
|
+
}
|
|
8128
|
+
},
|
|
8129
|
+
"multiChainAsset": "PINK-StatemintPink",
|
|
8130
|
+
"hasValue": true,
|
|
8131
|
+
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/bifrost_dot-local-pink.png"
|
|
8132
|
+
},
|
|
8133
|
+
"astar-LOCAL-PINK": {
|
|
8134
|
+
"originChain": "astar",
|
|
8135
|
+
"slug": "astar-LOCAL-PINK",
|
|
8136
|
+
"name": "Pink",
|
|
8137
|
+
"symbol": "PINK",
|
|
8138
|
+
"decimals": 10,
|
|
8139
|
+
"priceId": null,
|
|
8140
|
+
"minAmount": "1",
|
|
8141
|
+
"assetType": "LOCAL",
|
|
8142
|
+
"metadata": {
|
|
8143
|
+
"assetId": "18446744073709551633"
|
|
8144
|
+
},
|
|
8145
|
+
"multiChainAsset": "PINK-StatemintPink",
|
|
8146
|
+
"hasValue": true,
|
|
8147
|
+
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/astar-local-pink.png"
|
|
8148
|
+
},
|
|
8149
|
+
"phala-LOCAL-PINK": {
|
|
8150
|
+
"originChain": "phala",
|
|
8151
|
+
"slug": "phala-LOCAL-PINK",
|
|
8152
|
+
"name": "Pink",
|
|
8153
|
+
"symbol": "PINK",
|
|
8154
|
+
"decimals": 10,
|
|
8155
|
+
"priceId": null,
|
|
8156
|
+
"minAmount": "100000000",
|
|
8157
|
+
"assetType": "LOCAL",
|
|
8158
|
+
"metadata": {
|
|
8159
|
+
"assetId": "12"
|
|
8160
|
+
},
|
|
8161
|
+
"multiChainAsset": "PINK-StatemintPink",
|
|
8162
|
+
"hasValue": true,
|
|
8163
|
+
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/phala-local-pink.png"
|
|
8164
|
+
},
|
|
8165
|
+
"acala-LOCAL-PINK": {
|
|
8166
|
+
"originChain": "acala",
|
|
8167
|
+
"slug": "acala-LOCAL-PINK",
|
|
8168
|
+
"name": "Pink",
|
|
8169
|
+
"symbol": "PINK",
|
|
8170
|
+
"decimals": 10,
|
|
8171
|
+
"priceId": null,
|
|
8172
|
+
"minAmount": "1000000000",
|
|
8173
|
+
"assetType": "LOCAL",
|
|
8174
|
+
"metadata": {
|
|
8175
|
+
"onChainInfo": {
|
|
8176
|
+
"ForeignAsset": 13
|
|
8177
|
+
}
|
|
8178
|
+
},
|
|
8179
|
+
"multiChainAsset": "PINK-StatemintPink",
|
|
8180
|
+
"hasValue": true,
|
|
8181
|
+
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/acala-local-pink.png"
|
|
8182
|
+
},
|
|
8183
|
+
"crust-LOCAL-PINK": {
|
|
8184
|
+
"originChain": "crust",
|
|
8185
|
+
"slug": "crust-LOCAL-PINK",
|
|
8186
|
+
"name": "Pink",
|
|
8187
|
+
"symbol": "PINK",
|
|
8188
|
+
"decimals": 10,
|
|
8189
|
+
"priceId": null,
|
|
8190
|
+
"minAmount": "1",
|
|
8191
|
+
"assetType": "LOCAL",
|
|
8192
|
+
"metadata": {
|
|
8193
|
+
"assetId": "64174511183114006009298114091987195453"
|
|
8194
|
+
},
|
|
8195
|
+
"multiChainAsset": "PINK-StatemintPink",
|
|
8196
|
+
"hasValue": true,
|
|
8197
|
+
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/crust-local-pink.png"
|
|
8198
|
+
},
|
|
8199
|
+
"darwinia2-LOCAL-PINK": {
|
|
8200
|
+
"originChain": "darwinia2",
|
|
8201
|
+
"slug": "darwinia2-LOCAL-PINK",
|
|
8202
|
+
"name": "Pink",
|
|
8203
|
+
"symbol": "PINK",
|
|
8204
|
+
"decimals": 10,
|
|
8205
|
+
"priceId": null,
|
|
8206
|
+
"minAmount": "1",
|
|
8207
|
+
"assetType": "LOCAL",
|
|
8208
|
+
"metadata": {
|
|
8209
|
+
"assetId": "1028"
|
|
8210
|
+
},
|
|
8211
|
+
"multiChainAsset": "PINK-StatemintPink",
|
|
8212
|
+
"hasValue": true,
|
|
8213
|
+
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/darwinia2-local-pink.png"
|
|
8112
8214
|
}
|
|
8113
8215
|
}
|
package/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare enum COMMON_CHAIN_SLUGS {
|
|
|
19
19
|
BINANCE = "binance",
|
|
20
20
|
ASTAR_EVM = "astarEvm",
|
|
21
21
|
HYDRADX = "hydradx_main",
|
|
22
|
+
HYDRADX_TESTNET = "hydradx_rococo",
|
|
22
23
|
ETHEREUM_SEPOLIA = "sepolia_ethereum",
|
|
23
24
|
CHAINFLIP_POLKADOT = "chainflip_dot"
|
|
24
25
|
}
|
|
@@ -30,6 +31,9 @@ export declare enum COMMON_ASSETS {
|
|
|
30
31
|
PDOT = "chainflip_dot-NATIVE-pDOT",
|
|
31
32
|
HDX = "hydradx_main-NATIVE-HDX",
|
|
32
33
|
USDC_ETHEREUM = "ethereum-ERC20-USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
33
|
-
USDC_SEPOLIA = "sepolia_ethereum-ERC20-USDC-0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238"
|
|
34
|
+
USDC_SEPOLIA = "sepolia_ethereum-ERC20-USDC-0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
35
|
+
HDX_TESTNET = "hydradx_rococo-NATIVE-HDX",
|
|
36
|
+
USDT_HYDRADX_TESTNET = "hydradx_rococo-LOCAL-USDT",
|
|
37
|
+
DOT_HYDRADX_TESTNET = "hydradx_rococo-LOCAL-DOT"
|
|
34
38
|
}
|
|
35
39
|
export declare const _DEFAULT_CHAINS: string[];
|
package/index.js
CHANGED
|
@@ -28,6 +28,7 @@ export let COMMON_CHAIN_SLUGS;
|
|
|
28
28
|
COMMON_CHAIN_SLUGS["BINANCE"] = "binance";
|
|
29
29
|
COMMON_CHAIN_SLUGS["ASTAR_EVM"] = "astarEvm";
|
|
30
30
|
COMMON_CHAIN_SLUGS["HYDRADX"] = "hydradx_main";
|
|
31
|
+
COMMON_CHAIN_SLUGS["HYDRADX_TESTNET"] = "hydradx_rococo";
|
|
31
32
|
COMMON_CHAIN_SLUGS["ETHEREUM_SEPOLIA"] = "sepolia_ethereum";
|
|
32
33
|
COMMON_CHAIN_SLUGS["CHAINFLIP_POLKADOT"] = "chainflip_dot";
|
|
33
34
|
})(COMMON_CHAIN_SLUGS || (COMMON_CHAIN_SLUGS = {}));
|
|
@@ -41,5 +42,8 @@ export let COMMON_ASSETS;
|
|
|
41
42
|
COMMON_ASSETS["HDX"] = "hydradx_main-NATIVE-HDX";
|
|
42
43
|
COMMON_ASSETS["USDC_ETHEREUM"] = "ethereum-ERC20-USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
43
44
|
COMMON_ASSETS["USDC_SEPOLIA"] = "sepolia_ethereum-ERC20-USDC-0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238";
|
|
45
|
+
COMMON_ASSETS["HDX_TESTNET"] = "hydradx_rococo-NATIVE-HDX";
|
|
46
|
+
COMMON_ASSETS["USDT_HYDRADX_TESTNET"] = "hydradx_rococo-LOCAL-USDT";
|
|
47
|
+
COMMON_ASSETS["DOT_HYDRADX_TESTNET"] = "hydradx_rococo-LOCAL-DOT";
|
|
44
48
|
})(COMMON_ASSETS || (COMMON_ASSETS = {}));
|
|
45
49
|
export const _DEFAULT_CHAINS = [COMMON_CHAIN_SLUGS.POLKADOT, COMMON_CHAIN_SLUGS.KUSAMA, COMMON_CHAIN_SLUGS.ETHEREUM];
|
package/package.json
CHANGED
package/packageInfo.js
CHANGED
|
@@ -7,5 +7,5 @@ export const packageInfo = {
|
|
|
7
7
|
name: '@subwallet/chain-list',
|
|
8
8
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
9
9
|
type: 'esm',
|
|
10
|
-
version: '0.2.48-beta.
|
|
10
|
+
version: '0.2.48-beta.2'
|
|
11
11
|
};
|