@circle-fin/app-kit 1.8.1 → 1.9.0

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.
@@ -2243,6 +2243,8 @@ class KitError extends Error {
2243
2243
  Blockchain["Celo_Alfajores_Testnet"] = "Celo_Alfajores_Testnet";
2244
2244
  Blockchain["Codex"] = "Codex";
2245
2245
  Blockchain["Codex_Testnet"] = "Codex_Testnet";
2246
+ Blockchain["Cronos"] = "Cronos";
2247
+ Blockchain["Cronos_Testnet"] = "Cronos_Testnet";
2246
2248
  Blockchain["Edge"] = "Edge";
2247
2249
  Blockchain["Edge_Testnet"] = "Edge_Testnet";
2248
2250
  Blockchain["Ethereum"] = "Ethereum";
@@ -2325,6 +2327,7 @@ var BridgeChain;
2325
2327
  BridgeChain["Avalanche"] = "Avalanche";
2326
2328
  BridgeChain["Base"] = "Base";
2327
2329
  BridgeChain["Codex"] = "Codex";
2330
+ BridgeChain["Cronos"] = "Cronos";
2328
2331
  BridgeChain["Edge"] = "Edge";
2329
2332
  BridgeChain["Ethereum"] = "Ethereum";
2330
2333
  BridgeChain["HyperEVM"] = "HyperEVM";
@@ -2349,6 +2352,7 @@ var BridgeChain;
2349
2352
  BridgeChain["Avalanche_Fuji"] = "Avalanche_Fuji";
2350
2353
  BridgeChain["Base_Sepolia"] = "Base_Sepolia";
2351
2354
  BridgeChain["Codex_Testnet"] = "Codex_Testnet";
2355
+ BridgeChain["Cronos_Testnet"] = "Cronos_Testnet";
2352
2356
  BridgeChain["Edge_Testnet"] = "Edge_Testnet";
2353
2357
  BridgeChain["Ethereum_Sepolia"] = "Ethereum_Sepolia";
2354
2358
  BridgeChain["HyperEVM_Testnet"] = "HyperEVM_Testnet";
@@ -3404,6 +3408,96 @@ var EarnChain;
3404
3408
  }
3405
3409
  });
3406
3410
 
3411
+ /**
3412
+ * Cronos Mainnet chain definition
3413
+ * @remarks
3414
+ * This represents the official production network for the Cronos blockchain.
3415
+ * Cronos is an EVM-compatible blockchain.
3416
+ */ const Cronos = defineChain({
3417
+ type: 'evm',
3418
+ chain: Blockchain.Cronos,
3419
+ name: 'Cronos',
3420
+ title: 'Cronos Mainnet',
3421
+ nativeCurrency: {
3422
+ name: 'Cronos',
3423
+ symbol: 'CRO',
3424
+ decimals: 18
3425
+ },
3426
+ chainId: 25,
3427
+ isTestnet: false,
3428
+ explorerUrl: 'https://cronoscan.com/tx/{hash}',
3429
+ rpcEndpoints: [
3430
+ 'https://evm.cronos.org'
3431
+ ],
3432
+ eurcAddress: '0xA6dE01a2d62C6B5f3525d768f34d276652C554c8',
3433
+ usdcAddress: '0x3D7F2C478aAfdB65542BCB44bCeeC05849999d2D',
3434
+ usdtAddress: null,
3435
+ cctp: {
3436
+ domain: 32,
3437
+ contracts: {
3438
+ v2: {
3439
+ type: 'split',
3440
+ tokenMessenger: '0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d',
3441
+ messageTransmitter: '0x81D40F21F12A8F0E3252Bccb954D722d4c464B64',
3442
+ confirmations: 1,
3443
+ fastConfirmations: 1
3444
+ }
3445
+ },
3446
+ forwarderSupported: {
3447
+ source: false,
3448
+ destination: false
3449
+ }
3450
+ },
3451
+ kitContracts: {
3452
+ bridge: BRIDGE_CONTRACT_EVM_MAINNET
3453
+ }
3454
+ });
3455
+
3456
+ /**
3457
+ * Cronos Testnet chain definition
3458
+ * @remarks
3459
+ * This represents the official test network for the Cronos blockchain.
3460
+ * Cronos is an EVM-compatible blockchain.
3461
+ */ const CronosTestnet = defineChain({
3462
+ type: 'evm',
3463
+ chain: Blockchain.Cronos_Testnet,
3464
+ name: 'Cronos Testnet',
3465
+ title: 'Cronos Testnet',
3466
+ nativeCurrency: {
3467
+ name: 'CRO',
3468
+ symbol: 'tCRO',
3469
+ decimals: 18
3470
+ },
3471
+ chainId: 338,
3472
+ isTestnet: true,
3473
+ explorerUrl: 'https://explorer.cronos.org/testnet/tx/{hash}',
3474
+ rpcEndpoints: [
3475
+ 'https://evm-t3.cronos.org'
3476
+ ],
3477
+ eurcAddress: '0x31f7538adb53cF16350e6B0c89d03D91b7D12c46',
3478
+ usdcAddress: '0xEb33dc5fac03833e132593659e1dE7256aB59794',
3479
+ usdtAddress: null,
3480
+ cctp: {
3481
+ domain: 32,
3482
+ contracts: {
3483
+ v2: {
3484
+ type: 'split',
3485
+ tokenMessenger: '0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA',
3486
+ messageTransmitter: '0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275',
3487
+ confirmations: 1,
3488
+ fastConfirmations: 1
3489
+ }
3490
+ },
3491
+ forwarderSupported: {
3492
+ source: false,
3493
+ destination: false
3494
+ }
3495
+ },
3496
+ kitContracts: {
3497
+ bridge: BRIDGE_CONTRACT_EVM_TESTNET
3498
+ }
3499
+ });
3500
+
3407
3501
  /**
3408
3502
  * Edge Mainnet chain definition
3409
3503
  * @remarks
@@ -5755,6 +5849,8 @@ var Chains = {
5755
5849
  CeloAlfajoresTestnet: CeloAlfajoresTestnet,
5756
5850
  Codex: Codex,
5757
5851
  CodexTestnet: CodexTestnet,
5852
+ Cronos: Cronos,
5853
+ CronosTestnet: CronosTestnet,
5758
5854
  Edge: Edge,
5759
5855
  EdgeTestnet: EdgeTestnet,
5760
5856
  Ethereum: Ethereum,
@@ -7728,6 +7824,7 @@ function parseOrThrow(value, schema, context) {
7728
7824
  [Blockchain.Base]: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
7729
7825
  [Blockchain.Celo]: '0xcebA9300f2b948710d2653dD7B07f33A8B32118C',
7730
7826
  [Blockchain.Codex]: '0xd996633a415985DBd7D6D12f4A4343E31f5037cf',
7827
+ [Blockchain.Cronos]: '0x3D7F2C478aAfdB65542BCB44bCeeC05849999d2D',
7731
7828
  [Blockchain.Edge]: '0x98d2919b9A214E6Fa5384AC81E6864bA686Ad74c',
7732
7829
  [Blockchain.Ethereum]: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
7733
7830
  [Blockchain.Hedera]: '0.0.456858',
@@ -7761,6 +7858,7 @@ function parseOrThrow(value, schema, context) {
7761
7858
  [Blockchain.Avalanche_Fuji]: '0x5425890298aed601595a70AB815c96711a31Bc65',
7762
7859
  [Blockchain.Base_Sepolia]: '0x036CbD53842c5426634e7929541eC2318f3dCF7e',
7763
7860
  [Blockchain.Codex_Testnet]: '0x6d7f141b6819C2c9CC2f818e6ad549E7Ca090F8f',
7861
+ [Blockchain.Cronos_Testnet]: '0xEb33dc5fac03833e132593659e1dE7256aB59794',
7764
7862
  [Blockchain.Edge_Testnet]: '0x2d9F7CAD728051AA35Ecdc472a14cf8cDF5CFD6B',
7765
7863
  [Blockchain.Ethereum_Sepolia]: '0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238',
7766
7864
  [Blockchain.Hedera_Testnet]: '0.0.429274',
@@ -7833,6 +7931,7 @@ function parseOrThrow(value, schema, context) {
7833
7931
  // =========================================================================
7834
7932
  [Blockchain.Avalanche]: '0xc891EB4cbdEFf6e073e859e987815Ed1505c2ACD',
7835
7933
  [Blockchain.Base]: '0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42',
7934
+ [Blockchain.Cronos]: '0xA6dE01a2d62C6B5f3525d768f34d276652C554c8',
7836
7935
  [Blockchain.Ethereum]: '0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c',
7837
7936
  [Blockchain.Solana]: 'HzwqbKZw8HxMN6bF2yFZNrht3c2iXXzpKcFu7uBEDKtr',
7838
7937
  [Blockchain.World_Chain]: '0x1C60ba0A0eD1019e8Eb035E6daF4155A5cE2380B',
@@ -7841,6 +7940,7 @@ function parseOrThrow(value, schema, context) {
7841
7940
  // =========================================================================
7842
7941
  [Blockchain.Arc_Testnet]: '0x89B50855Aa3bE2F677cD6303Cec089B5F319D72a',
7843
7942
  [Blockchain.Base_Sepolia]: '0x808456652fdb597867f38412077A9182bf77359F',
7943
+ [Blockchain.Cronos_Testnet]: '0x31f7538adb53cF16350e6B0c89d03D91b7D12c46',
7844
7944
  [Blockchain.Ethereum_Sepolia]: '0x08210F9170F89Ab7658F0B5E3fF39b0E03C594D4'
7845
7945
  }
7846
7946
  };
@@ -8645,7 +8745,7 @@ function parseOrThrow(value, schema, context) {
8645
8745
  }
8646
8746
 
8647
8747
  var name = "@circle-fin/unified-balance-kit";
8648
- var version = "1.2.1";
8748
+ var version = "1.2.2";
8649
8749
  var pkg = {
8650
8750
  name: name,
8651
8751
  version: version};
@@ -658,6 +658,8 @@ declare enum Blockchain {
658
658
  Celo_Alfajores_Testnet = "Celo_Alfajores_Testnet",
659
659
  Codex = "Codex",
660
660
  Codex_Testnet = "Codex_Testnet",
661
+ Cronos = "Cronos",
662
+ Cronos_Testnet = "Cronos_Testnet",
661
663
  Edge = "Edge",
662
664
  Edge_Testnet = "Edge_Testnet",
663
665
  Ethereum = "Ethereum",
@@ -658,6 +658,8 @@ declare enum Blockchain {
658
658
  Celo_Alfajores_Testnet = "Celo_Alfajores_Testnet",
659
659
  Codex = "Codex",
660
660
  Codex_Testnet = "Codex_Testnet",
661
+ Cronos = "Cronos",
662
+ Cronos_Testnet = "Cronos_Testnet",
661
663
  Edge = "Edge",
662
664
  Edge_Testnet = "Edge_Testnet",
663
665
  Ethereum = "Ethereum",
@@ -658,6 +658,8 @@ declare enum Blockchain {
658
658
  Celo_Alfajores_Testnet = "Celo_Alfajores_Testnet",
659
659
  Codex = "Codex",
660
660
  Codex_Testnet = "Codex_Testnet",
661
+ Cronos = "Cronos",
662
+ Cronos_Testnet = "Cronos_Testnet",
661
663
  Edge = "Edge",
662
664
  Edge_Testnet = "Edge_Testnet",
663
665
  Ethereum = "Ethereum",
@@ -2237,6 +2237,8 @@ class KitError extends Error {
2237
2237
  Blockchain["Celo_Alfajores_Testnet"] = "Celo_Alfajores_Testnet";
2238
2238
  Blockchain["Codex"] = "Codex";
2239
2239
  Blockchain["Codex_Testnet"] = "Codex_Testnet";
2240
+ Blockchain["Cronos"] = "Cronos";
2241
+ Blockchain["Cronos_Testnet"] = "Cronos_Testnet";
2240
2242
  Blockchain["Edge"] = "Edge";
2241
2243
  Blockchain["Edge_Testnet"] = "Edge_Testnet";
2242
2244
  Blockchain["Ethereum"] = "Ethereum";
@@ -2319,6 +2321,7 @@ var BridgeChain;
2319
2321
  BridgeChain["Avalanche"] = "Avalanche";
2320
2322
  BridgeChain["Base"] = "Base";
2321
2323
  BridgeChain["Codex"] = "Codex";
2324
+ BridgeChain["Cronos"] = "Cronos";
2322
2325
  BridgeChain["Edge"] = "Edge";
2323
2326
  BridgeChain["Ethereum"] = "Ethereum";
2324
2327
  BridgeChain["HyperEVM"] = "HyperEVM";
@@ -2343,6 +2346,7 @@ var BridgeChain;
2343
2346
  BridgeChain["Avalanche_Fuji"] = "Avalanche_Fuji";
2344
2347
  BridgeChain["Base_Sepolia"] = "Base_Sepolia";
2345
2348
  BridgeChain["Codex_Testnet"] = "Codex_Testnet";
2349
+ BridgeChain["Cronos_Testnet"] = "Cronos_Testnet";
2346
2350
  BridgeChain["Edge_Testnet"] = "Edge_Testnet";
2347
2351
  BridgeChain["Ethereum_Sepolia"] = "Ethereum_Sepolia";
2348
2352
  BridgeChain["HyperEVM_Testnet"] = "HyperEVM_Testnet";
@@ -3398,6 +3402,96 @@ var EarnChain;
3398
3402
  }
3399
3403
  });
3400
3404
 
3405
+ /**
3406
+ * Cronos Mainnet chain definition
3407
+ * @remarks
3408
+ * This represents the official production network for the Cronos blockchain.
3409
+ * Cronos is an EVM-compatible blockchain.
3410
+ */ const Cronos = defineChain({
3411
+ type: 'evm',
3412
+ chain: Blockchain.Cronos,
3413
+ name: 'Cronos',
3414
+ title: 'Cronos Mainnet',
3415
+ nativeCurrency: {
3416
+ name: 'Cronos',
3417
+ symbol: 'CRO',
3418
+ decimals: 18
3419
+ },
3420
+ chainId: 25,
3421
+ isTestnet: false,
3422
+ explorerUrl: 'https://cronoscan.com/tx/{hash}',
3423
+ rpcEndpoints: [
3424
+ 'https://evm.cronos.org'
3425
+ ],
3426
+ eurcAddress: '0xA6dE01a2d62C6B5f3525d768f34d276652C554c8',
3427
+ usdcAddress: '0x3D7F2C478aAfdB65542BCB44bCeeC05849999d2D',
3428
+ usdtAddress: null,
3429
+ cctp: {
3430
+ domain: 32,
3431
+ contracts: {
3432
+ v2: {
3433
+ type: 'split',
3434
+ tokenMessenger: '0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d',
3435
+ messageTransmitter: '0x81D40F21F12A8F0E3252Bccb954D722d4c464B64',
3436
+ confirmations: 1,
3437
+ fastConfirmations: 1
3438
+ }
3439
+ },
3440
+ forwarderSupported: {
3441
+ source: false,
3442
+ destination: false
3443
+ }
3444
+ },
3445
+ kitContracts: {
3446
+ bridge: BRIDGE_CONTRACT_EVM_MAINNET
3447
+ }
3448
+ });
3449
+
3450
+ /**
3451
+ * Cronos Testnet chain definition
3452
+ * @remarks
3453
+ * This represents the official test network for the Cronos blockchain.
3454
+ * Cronos is an EVM-compatible blockchain.
3455
+ */ const CronosTestnet = defineChain({
3456
+ type: 'evm',
3457
+ chain: Blockchain.Cronos_Testnet,
3458
+ name: 'Cronos Testnet',
3459
+ title: 'Cronos Testnet',
3460
+ nativeCurrency: {
3461
+ name: 'CRO',
3462
+ symbol: 'tCRO',
3463
+ decimals: 18
3464
+ },
3465
+ chainId: 338,
3466
+ isTestnet: true,
3467
+ explorerUrl: 'https://explorer.cronos.org/testnet/tx/{hash}',
3468
+ rpcEndpoints: [
3469
+ 'https://evm-t3.cronos.org'
3470
+ ],
3471
+ eurcAddress: '0x31f7538adb53cF16350e6B0c89d03D91b7D12c46',
3472
+ usdcAddress: '0xEb33dc5fac03833e132593659e1dE7256aB59794',
3473
+ usdtAddress: null,
3474
+ cctp: {
3475
+ domain: 32,
3476
+ contracts: {
3477
+ v2: {
3478
+ type: 'split',
3479
+ tokenMessenger: '0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA',
3480
+ messageTransmitter: '0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275',
3481
+ confirmations: 1,
3482
+ fastConfirmations: 1
3483
+ }
3484
+ },
3485
+ forwarderSupported: {
3486
+ source: false,
3487
+ destination: false
3488
+ }
3489
+ },
3490
+ kitContracts: {
3491
+ bridge: BRIDGE_CONTRACT_EVM_TESTNET
3492
+ }
3493
+ });
3494
+
3401
3495
  /**
3402
3496
  * Edge Mainnet chain definition
3403
3497
  * @remarks
@@ -5749,6 +5843,8 @@ var Chains = /*#__PURE__*/Object.freeze({
5749
5843
  CeloAlfajoresTestnet: CeloAlfajoresTestnet,
5750
5844
  Codex: Codex,
5751
5845
  CodexTestnet: CodexTestnet,
5846
+ Cronos: Cronos,
5847
+ CronosTestnet: CronosTestnet,
5752
5848
  Edge: Edge,
5753
5849
  EdgeTestnet: EdgeTestnet,
5754
5850
  Ethereum: Ethereum,
@@ -7722,6 +7818,7 @@ function parseOrThrow(value, schema, context) {
7722
7818
  [Blockchain.Base]: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
7723
7819
  [Blockchain.Celo]: '0xcebA9300f2b948710d2653dD7B07f33A8B32118C',
7724
7820
  [Blockchain.Codex]: '0xd996633a415985DBd7D6D12f4A4343E31f5037cf',
7821
+ [Blockchain.Cronos]: '0x3D7F2C478aAfdB65542BCB44bCeeC05849999d2D',
7725
7822
  [Blockchain.Edge]: '0x98d2919b9A214E6Fa5384AC81E6864bA686Ad74c',
7726
7823
  [Blockchain.Ethereum]: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
7727
7824
  [Blockchain.Hedera]: '0.0.456858',
@@ -7755,6 +7852,7 @@ function parseOrThrow(value, schema, context) {
7755
7852
  [Blockchain.Avalanche_Fuji]: '0x5425890298aed601595a70AB815c96711a31Bc65',
7756
7853
  [Blockchain.Base_Sepolia]: '0x036CbD53842c5426634e7929541eC2318f3dCF7e',
7757
7854
  [Blockchain.Codex_Testnet]: '0x6d7f141b6819C2c9CC2f818e6ad549E7Ca090F8f',
7855
+ [Blockchain.Cronos_Testnet]: '0xEb33dc5fac03833e132593659e1dE7256aB59794',
7758
7856
  [Blockchain.Edge_Testnet]: '0x2d9F7CAD728051AA35Ecdc472a14cf8cDF5CFD6B',
7759
7857
  [Blockchain.Ethereum_Sepolia]: '0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238',
7760
7858
  [Blockchain.Hedera_Testnet]: '0.0.429274',
@@ -7827,6 +7925,7 @@ function parseOrThrow(value, schema, context) {
7827
7925
  // =========================================================================
7828
7926
  [Blockchain.Avalanche]: '0xc891EB4cbdEFf6e073e859e987815Ed1505c2ACD',
7829
7927
  [Blockchain.Base]: '0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42',
7928
+ [Blockchain.Cronos]: '0xA6dE01a2d62C6B5f3525d768f34d276652C554c8',
7830
7929
  [Blockchain.Ethereum]: '0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c',
7831
7930
  [Blockchain.Solana]: 'HzwqbKZw8HxMN6bF2yFZNrht3c2iXXzpKcFu7uBEDKtr',
7832
7931
  [Blockchain.World_Chain]: '0x1C60ba0A0eD1019e8Eb035E6daF4155A5cE2380B',
@@ -7835,6 +7934,7 @@ function parseOrThrow(value, schema, context) {
7835
7934
  // =========================================================================
7836
7935
  [Blockchain.Arc_Testnet]: '0x89B50855Aa3bE2F677cD6303Cec089B5F319D72a',
7837
7936
  [Blockchain.Base_Sepolia]: '0x808456652fdb597867f38412077A9182bf77359F',
7937
+ [Blockchain.Cronos_Testnet]: '0x31f7538adb53cF16350e6B0c89d03D91b7D12c46',
7838
7938
  [Blockchain.Ethereum_Sepolia]: '0x08210F9170F89Ab7658F0B5E3fF39b0E03C594D4'
7839
7939
  }
7840
7940
  };
@@ -8639,7 +8739,7 @@ function parseOrThrow(value, schema, context) {
8639
8739
  }
8640
8740
 
8641
8741
  var name = "@circle-fin/unified-balance-kit";
8642
- var version = "1.2.1";
8742
+ var version = "1.2.2";
8643
8743
  var pkg = {
8644
8744
  name: name,
8645
8745
  version: version};