@openocean.finance/wallet 1.10.8 → 1.10.9
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/lib/Chains.js +1 -1
- package/lib/TryWalletConnect/index.js +1 -26
- package/package.json +1 -1
package/lib/Chains.js
CHANGED
|
@@ -113,7 +113,7 @@ var chainObj = {
|
|
|
113
113
|
"metis": {
|
|
114
114
|
compiler: 'EVM',
|
|
115
115
|
chainName: "Andromeda (Metis)", chainId: 1088, blockExplorerUrl: "https://andromeda-explorer.metis.io/tx/",
|
|
116
|
-
nativeCurrency: { name: "METIS", symbol: "METIS", decimals: 18, address: "
|
|
116
|
+
nativeCurrency: { name: "METIS", symbol: "METIS", decimals: 18, address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" },
|
|
117
117
|
rpcUrls: ["https://andromeda.metis.io/?owner=1088"]
|
|
118
118
|
},
|
|
119
119
|
"tron": {
|
|
@@ -152,32 +152,7 @@ function link(reqConnectWalletVo, chain) {
|
|
|
152
152
|
case 12:
|
|
153
153
|
res = _c.sent();
|
|
154
154
|
wallet.customPublicKey = new web3_js_1.PublicKey(res);
|
|
155
|
-
|
|
156
|
-
// "https://solana-mainnet.phantom.tech"
|
|
157
|
-
// "https://rpc.ankr.com/solana"
|
|
158
|
-
// https://solana-api.projectserum.com
|
|
159
|
-
// https://mercuria-fronten-1cd8.mainnet.rpcpool.com/
|
|
160
|
-
// "https://rpc.ankr.com/solana/ad9d7bb3250b29d691330e63e3b46778099aca307af8f5e49b2ebc0a470dd848"
|
|
161
|
-
wallet.connection = new web3_js_1.Connection(reqConnectWalletVo.localRpcUrl || "https://solana-mainnet.g.alchemy.com/v2/O2uK_K8FGzQeuRZyI2msw2EgwIGqNoHP"
|
|
162
|
-
// "https://few-silent-choice.solana-mainnet.quiknode.pro/b37eb00eb03a5a5e0ae9d9b7cf535b0b9c0dd6a9/"
|
|
163
|
-
);
|
|
164
|
-
if (res) {
|
|
165
|
-
// connect(wallet);
|
|
166
|
-
}
|
|
167
|
-
else {
|
|
168
|
-
// const message = {
|
|
169
|
-
// 'Sollet': 'wallet_message_40010',
|
|
170
|
-
// 'Coin98 Wallet': 'wallet_message_40011',
|
|
171
|
-
// 'Phantom': 'wallet_message_40013',
|
|
172
|
-
// 'Clover Wallet': 'wallet_message_40017',
|
|
173
|
-
// 'Slope Wallet': 'wallet_message_40019',
|
|
174
|
-
// 'Solflare Wallet': 'wallet_message_40020',
|
|
175
|
-
// };
|
|
176
|
-
// return {
|
|
177
|
-
// code: 401,
|
|
178
|
-
// message: message
|
|
179
|
-
// }
|
|
180
|
-
}
|
|
155
|
+
wallet.connection = new web3_js_1.Connection(reqConnectWalletVo.localRpcUrl || "https://solana-mainnet.rpc.grove.city/v1/83ac2cfd");
|
|
181
156
|
return [3 /*break*/, 27];
|
|
182
157
|
case 13:
|
|
183
158
|
if (!(selectedName === 'tron')) return [3 /*break*/, 15];
|