@pioneer-platform/pioneer-discovery 8.15.17 → 8.15.25
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/CHANGELOG.md +8 -0
- package/lib/generatedAssetData.json +22 -0
- package/package.json +2 -2
- package/scripts/generate-native-assets.js +52 -1
package/CHANGELOG.md
CHANGED
|
@@ -135,6 +135,28 @@
|
|
|
135
135
|
"type": "native",
|
|
136
136
|
"color": "#579A89"
|
|
137
137
|
},
|
|
138
|
+
"bip122:00040fe8ec8471911baa1db1266ea15d/slip44:133": {
|
|
139
|
+
"symbol": "ZEC",
|
|
140
|
+
"name": "Zcash",
|
|
141
|
+
"chainId": "bip122:00040fe8ec8471911baa1db1266ea15d",
|
|
142
|
+
"icon": "https://pioneers.dev/coins/zcash.png",
|
|
143
|
+
"assetId": "bip122:00040fe8ec8471911baa1db1266ea15d/slip44:133",
|
|
144
|
+
"decimals": 8,
|
|
145
|
+
"isNative": true,
|
|
146
|
+
"type": "native",
|
|
147
|
+
"color": "#F4B728"
|
|
148
|
+
},
|
|
149
|
+
"solana:5eykt4usfv8p8njdtrepy1vzqkqzkvdp/solana:so11111111111111111111111111111111111111112": {
|
|
150
|
+
"symbol": "SOL",
|
|
151
|
+
"name": "Solana",
|
|
152
|
+
"chainId": "solana:5eykt4usfv8p8njdtrepy1vzqkqzkvdp",
|
|
153
|
+
"icon": "https://pioneers.dev/coins/solana.png",
|
|
154
|
+
"assetId": "solana:5eykt4usfv8p8njdtrepy1vzqkqzkvdp/solana:so11111111111111111111111111111111111111112",
|
|
155
|
+
"decimals": 9,
|
|
156
|
+
"isNative": true,
|
|
157
|
+
"type": "native",
|
|
158
|
+
"color": "#14F195"
|
|
159
|
+
},
|
|
138
160
|
"eip155:43114/slip44:60": {
|
|
139
161
|
"symbol": "AVAX",
|
|
140
162
|
"name": "Avalanche",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pioneer-platform/pioneer-discovery",
|
|
3
|
-
"version": "8.15.
|
|
3
|
+
"version": "8.15.25",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"types": "./lib/main.d.ts",
|
|
6
6
|
"_moduleAliases": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"gitHead": "a76012f6693a12181c4744e53e977a9eaeef0ed3",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@pioneer-platform/pioneer-caip": "^9.10.
|
|
31
|
+
"@pioneer-platform/pioneer-caip": "^9.10.3",
|
|
32
32
|
"ethers": "5.7.2"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
// Native gas assets configuration
|
|
16
|
-
// Format: { symbol, name, chainId (CAIP), icon URL, decimals }
|
|
16
|
+
// Format: { symbol, name, chainId (CAIP), icon URL, decimals, explorer URLs }
|
|
17
17
|
const NATIVE_GAS_ASSETS = [
|
|
18
18
|
{
|
|
19
19
|
symbol: 'BTC',
|
|
@@ -21,6 +21,9 @@ const NATIVE_GAS_ASSETS = [
|
|
|
21
21
|
chainId: 'bip122:000000000019d6689c085ae165831e93',
|
|
22
22
|
icon: 'https://assets.coingecko.com/coins/images/1/small/bitcoin.png?1547033579',
|
|
23
23
|
decimals: 8,
|
|
24
|
+
explorer: 'https://blockstream.info',
|
|
25
|
+
explorerAddressLink: 'https://blockstream.info/address/{{address}}',
|
|
26
|
+
explorerTxLink: 'https://blockstream.info/tx/{{txid}}',
|
|
24
27
|
},
|
|
25
28
|
{
|
|
26
29
|
symbol: 'ETH',
|
|
@@ -28,6 +31,9 @@ const NATIVE_GAS_ASSETS = [
|
|
|
28
31
|
chainId: 'eip155:1',
|
|
29
32
|
icon: 'https://assets.coingecko.com/coins/images/279/large/ethereum.png?1595348880',
|
|
30
33
|
decimals: 18,
|
|
34
|
+
explorer: 'https://etherscan.io',
|
|
35
|
+
explorerAddressLink: 'https://etherscan.io/address/{{address}}',
|
|
36
|
+
explorerTxLink: 'https://etherscan.io/tx/{{txid}}',
|
|
31
37
|
},
|
|
32
38
|
{
|
|
33
39
|
symbol: 'ATOM',
|
|
@@ -35,6 +41,9 @@ const NATIVE_GAS_ASSETS = [
|
|
|
35
41
|
chainId: 'cosmos:cosmoshub-4',
|
|
36
42
|
icon: 'https://assets.coingecko.com/coins/images/16724/thumb/atom.png',
|
|
37
43
|
decimals: 6,
|
|
44
|
+
explorer: 'https://www.mintscan.io/cosmos',
|
|
45
|
+
explorerAddressLink: 'https://www.mintscan.io/cosmos/address/{{address}}',
|
|
46
|
+
explorerTxLink: 'https://www.mintscan.io/cosmos/tx/{{txid}}',
|
|
38
47
|
},
|
|
39
48
|
{
|
|
40
49
|
symbol: 'OSMO',
|
|
@@ -42,6 +51,9 @@ const NATIVE_GAS_ASSETS = [
|
|
|
42
51
|
chainId: 'cosmos:osmosis-1',
|
|
43
52
|
icon: 'https://assets.coingecko.com/coins/images/16724/thumb/osmo.png',
|
|
44
53
|
decimals: 6,
|
|
54
|
+
explorer: 'https://www.mintscan.io/osmosis',
|
|
55
|
+
explorerAddressLink: 'https://www.mintscan.io/osmosis/address/{{address}}',
|
|
56
|
+
explorerTxLink: 'https://www.mintscan.io/osmosis/tx/{{txid}}',
|
|
45
57
|
},
|
|
46
58
|
{
|
|
47
59
|
symbol: 'RUNE',
|
|
@@ -49,6 +61,9 @@ const NATIVE_GAS_ASSETS = [
|
|
|
49
61
|
chainId: 'cosmos:thorchain-mainnet-v1',
|
|
50
62
|
icon: 'https://assets.coingecko.com/coins/images/6595/thumb/RUNE.png',
|
|
51
63
|
decimals: 8,
|
|
64
|
+
explorer: 'https://thorchain.net',
|
|
65
|
+
explorerAddressLink: 'https://thorchain.net/address/{{address}}',
|
|
66
|
+
explorerTxLink: 'https://thorchain.net/tx/{{txid}}',
|
|
52
67
|
},
|
|
53
68
|
{
|
|
54
69
|
symbol: 'CACAO',
|
|
@@ -56,6 +71,9 @@ const NATIVE_GAS_ASSETS = [
|
|
|
56
71
|
chainId: 'cosmos:mayachain-mainnet-v1',
|
|
57
72
|
icon: 'https://assets.coingecko.com/coins/images/25662/small/cacao.png',
|
|
58
73
|
decimals: 10,
|
|
74
|
+
explorer: 'https://explorer.mayachain.info',
|
|
75
|
+
explorerAddressLink: 'https://explorer.mayachain.info/address/{{address}}',
|
|
76
|
+
explorerTxLink: 'https://explorer.mayachain.info/tx/{{txid}}',
|
|
59
77
|
},
|
|
60
78
|
{
|
|
61
79
|
symbol: 'LTC',
|
|
@@ -63,6 +81,9 @@ const NATIVE_GAS_ASSETS = [
|
|
|
63
81
|
chainId: 'bip122:12a765e31ffd4059bada1e25190f6e98',
|
|
64
82
|
icon: 'https://assets.coingecko.com/coins/images/16724/thumb/ltc.png',
|
|
65
83
|
decimals: 8,
|
|
84
|
+
explorer: 'https://blockchair.com/litecoin',
|
|
85
|
+
explorerAddressLink: 'https://blockchair.com/litecoin/address/{{address}}',
|
|
86
|
+
explorerTxLink: 'https://blockchair.com/litecoin/transaction/{{txid}}',
|
|
66
87
|
},
|
|
67
88
|
{
|
|
68
89
|
symbol: 'BCH',
|
|
@@ -70,6 +91,9 @@ const NATIVE_GAS_ASSETS = [
|
|
|
70
91
|
chainId: 'bip122:000000000000000000651ef99cb9fcbe',
|
|
71
92
|
icon: 'https://assets.coingecko.com/coins/images/780/thumb/bitcoin-cash-circle.png?1594689492',
|
|
72
93
|
decimals: 8,
|
|
94
|
+
explorer: 'https://blockchair.com/bitcoin-cash',
|
|
95
|
+
explorerAddressLink: 'https://blockchair.com/bitcoin-cash/address/{{address}}',
|
|
96
|
+
explorerTxLink: 'https://blockchair.com/bitcoin-cash/transaction/{{txid}}',
|
|
73
97
|
},
|
|
74
98
|
{
|
|
75
99
|
symbol: 'DOGE',
|
|
@@ -77,6 +101,9 @@ const NATIVE_GAS_ASSETS = [
|
|
|
77
101
|
chainId: 'bip122:00000000001a91e3dace36e2be3bf030',
|
|
78
102
|
icon: 'https://assets.coingecko.com/coins/images/5/small/dogecoin.png?1547792256',
|
|
79
103
|
decimals: 8,
|
|
104
|
+
explorer: 'https://blockchair.com/dogecoin',
|
|
105
|
+
explorerAddressLink: 'https://blockchair.com/dogecoin/address/{{address}}',
|
|
106
|
+
explorerTxLink: 'https://blockchair.com/dogecoin/transaction/{{txid}}',
|
|
80
107
|
},
|
|
81
108
|
{
|
|
82
109
|
symbol: 'DASH',
|
|
@@ -84,6 +111,9 @@ const NATIVE_GAS_ASSETS = [
|
|
|
84
111
|
chainId: 'bip122:000007d91d1254d60e2dd1ae58038307',
|
|
85
112
|
icon: 'https://assets.coingecko.com/coins/images/19/small/dash-logo.png?1548385930',
|
|
86
113
|
decimals: 8,
|
|
114
|
+
explorer: 'https://blockchair.com/dash',
|
|
115
|
+
explorerAddressLink: 'https://blockchair.com/dash/address/{{address}}',
|
|
116
|
+
explorerTxLink: 'https://blockchair.com/dash/transaction/{{txid}}',
|
|
87
117
|
},
|
|
88
118
|
{
|
|
89
119
|
symbol: 'BNB',
|
|
@@ -91,6 +121,9 @@ const NATIVE_GAS_ASSETS = [
|
|
|
91
121
|
chainId: 'binance:bnb-beacon-chain',
|
|
92
122
|
icon: 'https://assets.coingecko.com/coins/images/825/thumb/binance-coin-logo.png?1547034615',
|
|
93
123
|
decimals: 8,
|
|
124
|
+
explorer: 'https://explorer.bnbchain.org',
|
|
125
|
+
explorerAddressLink: 'https://explorer.bnbchain.org/address/{{address}}',
|
|
126
|
+
explorerTxLink: 'https://explorer.bnbchain.org/tx/{{txid}}',
|
|
94
127
|
},
|
|
95
128
|
{
|
|
96
129
|
symbol: 'AVAX',
|
|
@@ -98,6 +131,9 @@ const NATIVE_GAS_ASSETS = [
|
|
|
98
131
|
chainId: 'eip155:43114',
|
|
99
132
|
icon: 'https://assets.coingecko.com/coins/images/12559/small/coin-round-red.png?1604021818',
|
|
100
133
|
decimals: 18,
|
|
134
|
+
explorer: 'https://snowtrace.io',
|
|
135
|
+
explorerAddressLink: 'https://snowtrace.io/address/{{address}}',
|
|
136
|
+
explorerTxLink: 'https://snowtrace.io/tx/{{txid}}',
|
|
101
137
|
},
|
|
102
138
|
{
|
|
103
139
|
symbol: 'MATIC',
|
|
@@ -105,6 +141,9 @@ const NATIVE_GAS_ASSETS = [
|
|
|
105
141
|
chainId: 'eip155:137',
|
|
106
142
|
icon: 'https://assets.coingecko.com/coins/images/4713/small/matic-token-icon.png?1624446912',
|
|
107
143
|
decimals: 18,
|
|
144
|
+
explorer: 'https://polygonscan.com',
|
|
145
|
+
explorerAddressLink: 'https://polygonscan.com/address/{{address}}',
|
|
146
|
+
explorerTxLink: 'https://polygonscan.com/tx/{{txid}}',
|
|
108
147
|
},
|
|
109
148
|
{
|
|
110
149
|
symbol: 'ARB',
|
|
@@ -112,6 +151,9 @@ const NATIVE_GAS_ASSETS = [
|
|
|
112
151
|
chainId: 'eip155:42161',
|
|
113
152
|
icon: 'https://assets.coingecko.com/coins/images/16547/small/photo_2023-03-29_21.47.00.jpeg?1680097630',
|
|
114
153
|
decimals: 18,
|
|
154
|
+
explorer: 'https://arbiscan.io',
|
|
155
|
+
explorerAddressLink: 'https://arbiscan.io/address/{{address}}',
|
|
156
|
+
explorerTxLink: 'https://arbiscan.io/tx/{{txid}}',
|
|
115
157
|
},
|
|
116
158
|
{
|
|
117
159
|
symbol: 'OP',
|
|
@@ -119,6 +161,9 @@ const NATIVE_GAS_ASSETS = [
|
|
|
119
161
|
chainId: 'eip155:10',
|
|
120
162
|
icon: 'https://assets.coingecko.com/coins/images/25244/small/Optimism.png?1660904599',
|
|
121
163
|
decimals: 18,
|
|
164
|
+
explorer: 'https://optimistic.etherscan.io',
|
|
165
|
+
explorerAddressLink: 'https://optimistic.etherscan.io/address/{{address}}',
|
|
166
|
+
explorerTxLink: 'https://optimistic.etherscan.io/tx/{{txid}}',
|
|
122
167
|
},
|
|
123
168
|
{
|
|
124
169
|
symbol: 'BASE',
|
|
@@ -126,6 +171,9 @@ const NATIVE_GAS_ASSETS = [
|
|
|
126
171
|
chainId: 'eip155:8453',
|
|
127
172
|
icon: 'https://assets.coingecko.com/coins/images/279/large/ethereum.png?1595348880', // Using ETH icon as Base uses ETH
|
|
128
173
|
decimals: 18,
|
|
174
|
+
explorer: 'https://basescan.org',
|
|
175
|
+
explorerAddressLink: 'https://basescan.org/address/{{address}}',
|
|
176
|
+
explorerTxLink: 'https://basescan.org/tx/{{txid}}',
|
|
129
177
|
},
|
|
130
178
|
];
|
|
131
179
|
|
|
@@ -166,6 +214,9 @@ function generateNativeAssetData() {
|
|
|
166
214
|
decimals: asset.decimals,
|
|
167
215
|
isNative: true, // Mark as native gas asset for easy filtering
|
|
168
216
|
type: 'native',
|
|
217
|
+
explorer: asset.explorer,
|
|
218
|
+
explorerAddressLink: asset.explorerAddressLink,
|
|
219
|
+
explorerTxLink: asset.explorerTxLink,
|
|
169
220
|
};
|
|
170
221
|
}
|
|
171
222
|
|