@openocean.finance/wallet 1.0.0 → 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.
Files changed (2) hide show
  1. package/lib/Chains.js +95 -0
  2. package/package.json +1 -1
package/lib/Chains.js CHANGED
@@ -251,6 +251,57 @@ var EthereumChainParams = {
251
251
  rpcUrls: ["https://data-seed-prebsc-1-s1.binance.org:8545"],
252
252
  blockExplorerUrls: ["https://testnet.bscscan.com/"],
253
253
  },
254
+ ], kava: [
255
+ {
256
+ chainId: "0x8ae",
257
+ chainName: "Kava EVM",
258
+ nativeCurrency: {
259
+ name: "KAVA",
260
+ symbol: "KAVA",
261
+ decimals: 18,
262
+ },
263
+ rpcUrls: ["https://evm.kava.io"],
264
+ blockExplorerUrls: ["https://explorer.kava.io"],
265
+ },
266
+ ],
267
+ celo: [
268
+ {
269
+ chainId: "0xa4ec",
270
+ chainName: "Celo Network",
271
+ nativeCurrency: {
272
+ name: "CELO",
273
+ symbol: "CELO",
274
+ decimals: 18,
275
+ },
276
+ rpcUrls: ["https://forno.celo.org"],
277
+ blockExplorerUrls: ["https://explorer.celo.org"],
278
+ },
279
+ ],
280
+ klaytn: [
281
+ {
282
+ chainId: "0x2019",
283
+ chainName: "Klaytn Cypress",
284
+ nativeCurrency: {
285
+ name: "KLAY",
286
+ symbol: "KLAY",
287
+ decimals: 18,
288
+ },
289
+ rpcUrls: ["https://public-node-api.klaytnapi.com/v1/cypress"],
290
+ blockExplorerUrls: ["https://scope.klaytn.com"],
291
+ },
292
+ ],
293
+ zksync: [
294
+ {
295
+ chainId: "0x118",
296
+ chainName: "zkSync Era Testnet",
297
+ nativeCurrency: {
298
+ name: "Ethereum",
299
+ symbol: "ETH",
300
+ decimals: 18,
301
+ },
302
+ rpcUrls: ["https://zksync2-testnet.zksync.dev"],
303
+ blockExplorerUrls: ["https://goerli.explorer.zksync.io"],
304
+ },
254
305
  ],
255
306
  };
256
307
  exports.EthereumChainParams = EthereumChainParams;
@@ -482,6 +533,50 @@ var chainObj = {
482
533
  blockExplorerUrl: '',
483
534
  compiler: 'COSMOS',
484
535
  },
536
+ "kava": {
537
+ chainName: "Kava Mainnet",
538
+ chainId: 2222,
539
+ blockExplorerUrl: "https://explorer.kava.io/tx/",
540
+ nativeCurrency: { name: "KAVA", symbol: "KAVA", decimals: 18, address: "0x0000000000000000000000000000000000000000" },
541
+ popularToken: [],
542
+ rpcUrls: [
543
+ "https://evm.kava.io"
544
+ ],
545
+ compiler: 'EVM'
546
+ },
547
+ "celo": {
548
+ chainName: "Celo Mainnet",
549
+ chainId: 42220,
550
+ blockExplorerUrl: "https://explorer.celo.org/tx/",
551
+ nativeCurrency: { name: "CELO", symbol: "CELO", decimals: 18, address: "0x471EcE3750Da237f93B8E339c536989b8978a438" },
552
+ popularToken: [],
553
+ rpcUrls: [
554
+ "https://forno.celo.org"
555
+ ],
556
+ compiler: 'EVM'
557
+ },
558
+ "klaytn": {
559
+ chainName: "Klaytn Cypress Mainnet",
560
+ chainId: 8217,
561
+ blockExplorerUrl: "https://explorer.celo.org/tx/",
562
+ nativeCurrency: { name: "KLAY", symbol: "KLAY", decimals: 18, address: "0x471EcE3750Da237f93B8E339c536989b8978a438" },
563
+ popularToken: [],
564
+ rpcUrls: [
565
+ "https://public-node-api.klaytnapi.com/v1/cypress"
566
+ ],
567
+ compiler: 'EVM'
568
+ },
569
+ "zksync": {
570
+ chainName: "zkSync Era Testnet",
571
+ chainId: 280,
572
+ blockExplorerUrl: "https://goerli.explorer.zksync.io/tx/",
573
+ nativeCurrency: { name: "ETH", symbol: "ETH", decimals: 18, address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" },
574
+ popularToken: [],
575
+ rpcUrls: [
576
+ "https://zksync2-testnet.zksync.dev"
577
+ ],
578
+ compiler: 'EVM'
579
+ }
485
580
  };
486
581
  var Chains = /** @class */ (function () {
487
582
  function Chains() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/wallet",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A multi-chain wallets manager",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {