@openocean.finance/wallet 1.0.4 → 1.0.6
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 +8 -8
- package/lib/Wallets/index.js +2 -2
- package/package.json +1 -1
package/lib/Chains.js
CHANGED
|
@@ -293,15 +293,15 @@ var EthereumChainParams = {
|
|
|
293
293
|
],
|
|
294
294
|
zksync: [
|
|
295
295
|
{
|
|
296
|
-
chainId: "
|
|
297
|
-
chainName: "zkSync Era
|
|
296
|
+
chainId: "0x144",
|
|
297
|
+
chainName: "zkSync Era Mainnet",
|
|
298
298
|
nativeCurrency: {
|
|
299
299
|
name: "Ethereum",
|
|
300
300
|
symbol: "ETH",
|
|
301
301
|
decimals: 18,
|
|
302
302
|
},
|
|
303
|
-
rpcUrls: ["https://
|
|
304
|
-
blockExplorerUrls: ["https://
|
|
303
|
+
rpcUrls: ["https://mainnet.era.zksync.io"],
|
|
304
|
+
blockExplorerUrls: ["https://explorer.zksync.io"],
|
|
305
305
|
},
|
|
306
306
|
],
|
|
307
307
|
};
|
|
@@ -568,13 +568,13 @@ var chainObj = {
|
|
|
568
568
|
compiler: 'EVM'
|
|
569
569
|
},
|
|
570
570
|
"zksync": {
|
|
571
|
-
chainName: "zkSync Era
|
|
572
|
-
chainId:
|
|
573
|
-
blockExplorerUrl: "https://
|
|
571
|
+
chainName: "zkSync Era Mainnet",
|
|
572
|
+
chainId: 324,
|
|
573
|
+
blockExplorerUrl: "https://explorer.zksync.io/tx/",
|
|
574
574
|
nativeCurrency: { name: "ETH", symbol: "ETH", decimals: 18, address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" },
|
|
575
575
|
popularToken: [],
|
|
576
576
|
rpcUrls: [
|
|
577
|
-
"https://
|
|
577
|
+
"https://mainnet.era.zksync.io"
|
|
578
578
|
],
|
|
579
579
|
compiler: 'EVM'
|
|
580
580
|
}
|
package/lib/Wallets/index.js
CHANGED
|
@@ -40,12 +40,12 @@ var UnstoppableDomains_1 = __importDefault(require("./UnstoppableDomains"));
|
|
|
40
40
|
var MyNearWallet_1 = __importDefault(require("./MyNearWallet"));
|
|
41
41
|
var MeteorWallet_1 = __importDefault(require("./MeteorWallet"));
|
|
42
42
|
var SenderWallet_1 = __importDefault(require("./SenderWallet"));
|
|
43
|
-
|
|
43
|
+
// import LedgerWallet from "./LedgerWallet";
|
|
44
44
|
var WalletObj = {
|
|
45
45
|
MetaMask: new MetaMask_1.default(),
|
|
46
46
|
CryptoCom: new CryptoCom_1.default(),
|
|
47
47
|
TrustWallet: new TrustWallet_1.default(),
|
|
48
|
-
LedgerWallet: new
|
|
48
|
+
// LedgerWallet: new LedgerWallet(),
|
|
49
49
|
OKXWallet: new OKXWallet_1.default(),
|
|
50
50
|
BscWallet: new BscWallet_1.default(),
|
|
51
51
|
UnstoppableDomains: new UnstoppableDomains_1.default(),
|