@circle-fin/app-kit 1.0.1 → 1.1.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.
package/index.mjs CHANGED
@@ -3218,6 +3218,8 @@ var Blockchain;
3218
3218
  Blockchain["Celo_Alfajores_Testnet"] = "Celo_Alfajores_Testnet";
3219
3219
  Blockchain["Codex"] = "Codex";
3220
3220
  Blockchain["Codex_Testnet"] = "Codex_Testnet";
3221
+ Blockchain["Edge"] = "Edge";
3222
+ Blockchain["Edge_Testnet"] = "Edge_Testnet";
3221
3223
  Blockchain["Ethereum"] = "Ethereum";
3222
3224
  Blockchain["Ethereum_Sepolia"] = "Ethereum_Sepolia";
3223
3225
  Blockchain["Hedera"] = "Hedera";
@@ -3230,6 +3232,8 @@ var Blockchain;
3230
3232
  Blockchain["Linea_Sepolia"] = "Linea_Sepolia";
3231
3233
  Blockchain["Monad"] = "Monad";
3232
3234
  Blockchain["Monad_Testnet"] = "Monad_Testnet";
3235
+ Blockchain["Morph"] = "Morph";
3236
+ Blockchain["Morph_Testnet"] = "Morph_Testnet";
3233
3237
  Blockchain["NEAR"] = "NEAR";
3234
3238
  Blockchain["NEAR_Testnet"] = "NEAR_Testnet";
3235
3239
  Blockchain["Noble"] = "Noble";
@@ -3433,11 +3437,13 @@ var BridgeChain;
3433
3437
  BridgeChain["Avalanche"] = "Avalanche";
3434
3438
  BridgeChain["Base"] = "Base";
3435
3439
  BridgeChain["Codex"] = "Codex";
3440
+ BridgeChain["Edge"] = "Edge";
3436
3441
  BridgeChain["Ethereum"] = "Ethereum";
3437
3442
  BridgeChain["HyperEVM"] = "HyperEVM";
3438
3443
  BridgeChain["Ink"] = "Ink";
3439
3444
  BridgeChain["Linea"] = "Linea";
3440
3445
  BridgeChain["Monad"] = "Monad";
3446
+ BridgeChain["Morph"] = "Morph";
3441
3447
  BridgeChain["Optimism"] = "Optimism";
3442
3448
  BridgeChain["Plume"] = "Plume";
3443
3449
  BridgeChain["Polygon"] = "Polygon";
@@ -3453,11 +3459,13 @@ var BridgeChain;
3453
3459
  BridgeChain["Avalanche_Fuji"] = "Avalanche_Fuji";
3454
3460
  BridgeChain["Base_Sepolia"] = "Base_Sepolia";
3455
3461
  BridgeChain["Codex_Testnet"] = "Codex_Testnet";
3462
+ BridgeChain["Edge_Testnet"] = "Edge_Testnet";
3456
3463
  BridgeChain["Ethereum_Sepolia"] = "Ethereum_Sepolia";
3457
3464
  BridgeChain["HyperEVM_Testnet"] = "HyperEVM_Testnet";
3458
3465
  BridgeChain["Ink_Testnet"] = "Ink_Testnet";
3459
3466
  BridgeChain["Linea_Sepolia"] = "Linea_Sepolia";
3460
3467
  BridgeChain["Monad_Testnet"] = "Monad_Testnet";
3468
+ BridgeChain["Morph_Testnet"] = "Morph_Testnet";
3461
3469
  BridgeChain["Optimism_Sepolia"] = "Optimism_Sepolia";
3462
3470
  BridgeChain["Plume_Testnet"] = "Plume_Testnet";
3463
3471
  BridgeChain["Polygon_Amoy_Testnet"] = "Polygon_Amoy_Testnet";
@@ -4267,6 +4275,94 @@ const CodexTestnet = defineChain({
4267
4275
  },
4268
4276
  });
4269
4277
 
4278
+ /**
4279
+ * Edge Mainnet chain definition
4280
+ * @remarks
4281
+ * This represents the official production network for the Edge blockchain.
4282
+ * Edge is an EVM-compatible blockchain.
4283
+ */
4284
+ const Edge = defineChain({
4285
+ type: 'evm',
4286
+ chain: Blockchain.Edge,
4287
+ name: 'Edge',
4288
+ title: 'Edge Mainnet',
4289
+ nativeCurrency: {
4290
+ name: 'Ether',
4291
+ symbol: 'ETH',
4292
+ decimals: 18,
4293
+ },
4294
+ chainId: 3343,
4295
+ isTestnet: false,
4296
+ explorerUrl: 'https://pro.edgex.exchange/en-US/explorer/tx/{hash}',
4297
+ rpcEndpoints: ['https://edge-mainnet.g.alchemy.com/public'],
4298
+ eurcAddress: null,
4299
+ usdcAddress: '0x98d2919b9A214E6Fa5384AC81E6864bA686Ad74c',
4300
+ usdtAddress: null,
4301
+ cctp: {
4302
+ domain: 28,
4303
+ contracts: {
4304
+ v2: {
4305
+ type: 'split',
4306
+ tokenMessenger: '0x98706A006bc632Df31CAdFCBD43F38887ce2ca5c',
4307
+ messageTransmitter: '0x5b61381Fc9e58E70EfC13a4A97516997019198ee',
4308
+ confirmations: 65,
4309
+ fastConfirmations: 1,
4310
+ },
4311
+ },
4312
+ forwarderSupported: {
4313
+ source: true,
4314
+ destination: true,
4315
+ },
4316
+ },
4317
+ kitContracts: {
4318
+ bridge: '0x6D1AaE1c34Aeb582022916a67f2A655C6f4eDFF2', //Unique bridge address as CCTP address for Edge is also unique
4319
+ },
4320
+ });
4321
+
4322
+ /**
4323
+ * Edge Testnet chain definition
4324
+ * @remarks
4325
+ * This represents the official test network for the Edge blockchain.
4326
+ * Edge is an EVM-compatible blockchain.
4327
+ */
4328
+ const EdgeTestnet = defineChain({
4329
+ type: 'evm',
4330
+ chain: Blockchain.Edge_Testnet,
4331
+ name: 'Edge Testnet',
4332
+ title: 'Edge Testnet',
4333
+ nativeCurrency: {
4334
+ name: 'Ether',
4335
+ symbol: 'ETH',
4336
+ decimals: 18,
4337
+ },
4338
+ chainId: 33431,
4339
+ isTestnet: true,
4340
+ explorerUrl: 'https://edge-testnet.explorer.alchemy.com/tx/{hash}',
4341
+ rpcEndpoints: ['https://edge-testnet.g.alchemy.com/public'],
4342
+ eurcAddress: null,
4343
+ usdcAddress: '0x2d9F7CAD728051AA35Ecdc472a14cf8cDF5CFD6B',
4344
+ usdtAddress: null,
4345
+ cctp: {
4346
+ domain: 28,
4347
+ contracts: {
4348
+ v2: {
4349
+ type: 'split',
4350
+ tokenMessenger: '0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA',
4351
+ messageTransmitter: '0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275',
4352
+ confirmations: 65,
4353
+ fastConfirmations: 1,
4354
+ },
4355
+ },
4356
+ forwarderSupported: {
4357
+ source: true,
4358
+ destination: true,
4359
+ },
4360
+ },
4361
+ kitContracts: {
4362
+ bridge: BRIDGE_CONTRACT_EVM_TESTNET,
4363
+ },
4364
+ });
4365
+
4270
4366
  /**
4271
4367
  * Ethereum Mainnet chain definition
4272
4368
  * @remarks
@@ -4778,6 +4874,94 @@ const MonadTestnet = defineChain({
4778
4874
  },
4779
4875
  });
4780
4876
 
4877
+ /**
4878
+ * Morph Mainnet chain definition
4879
+ * @remarks
4880
+ * This represents the official production network for the Morph blockchain.
4881
+ * Morph is an EVM-compatible Layer-2 blockchain built on the OP Stack.
4882
+ */
4883
+ const Morph = defineChain({
4884
+ type: 'evm',
4885
+ chain: Blockchain.Morph,
4886
+ name: 'Morph',
4887
+ title: 'Morph Mainnet',
4888
+ nativeCurrency: {
4889
+ name: 'Ether',
4890
+ symbol: 'ETH',
4891
+ decimals: 18,
4892
+ },
4893
+ chainId: 2818,
4894
+ isTestnet: false,
4895
+ explorerUrl: 'https://explorer.morph.network/tx/{hash}',
4896
+ rpcEndpoints: ['https://rpc.morphl2.io'],
4897
+ eurcAddress: null,
4898
+ usdcAddress: '0xCfb1186F4e93D60E60a8bDd997427D1F33bc372B',
4899
+ usdtAddress: null,
4900
+ cctp: {
4901
+ domain: 30,
4902
+ contracts: {
4903
+ v2: {
4904
+ type: 'split',
4905
+ tokenMessenger: '0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d',
4906
+ messageTransmitter: '0x81D40F21F12A8F0E3252Bccb954D722d4c464B64',
4907
+ confirmations: 64,
4908
+ fastConfirmations: 1,
4909
+ },
4910
+ },
4911
+ forwarderSupported: {
4912
+ source: false,
4913
+ destination: false,
4914
+ },
4915
+ },
4916
+ kitContracts: {
4917
+ bridge: BRIDGE_CONTRACT_EVM_MAINNET,
4918
+ },
4919
+ });
4920
+
4921
+ /**
4922
+ * Morph Hoodi Testnet chain definition
4923
+ * @remarks
4924
+ * This represents the official test network for the Morph blockchain.
4925
+ * Morph is an EVM-compatible Layer-2 blockchain built on the OP Stack.
4926
+ */
4927
+ const MorphTestnet = defineChain({
4928
+ type: 'evm',
4929
+ chain: Blockchain.Morph_Testnet,
4930
+ name: 'Morph Hoodi',
4931
+ title: 'Morph Hoodi Testnet',
4932
+ nativeCurrency: {
4933
+ name: 'Ether',
4934
+ symbol: 'ETH',
4935
+ decimals: 18,
4936
+ },
4937
+ chainId: 2910,
4938
+ isTestnet: true,
4939
+ explorerUrl: 'https://explorer-hoodi.morphl2.io/tx/{hash}',
4940
+ rpcEndpoints: ['https://rpc-hoodi.morphl2.io'],
4941
+ eurcAddress: null,
4942
+ usdcAddress: '0x7433b41C6c5e1d58D4Da99483609520255ab661B',
4943
+ usdtAddress: null,
4944
+ cctp: {
4945
+ domain: 30,
4946
+ contracts: {
4947
+ v2: {
4948
+ type: 'split',
4949
+ tokenMessenger: '0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA',
4950
+ messageTransmitter: '0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275',
4951
+ confirmations: 64,
4952
+ fastConfirmations: 1,
4953
+ },
4954
+ },
4955
+ forwarderSupported: {
4956
+ source: false,
4957
+ destination: false,
4958
+ },
4959
+ },
4960
+ kitContracts: {
4961
+ bridge: BRIDGE_CONTRACT_EVM_TESTNET,
4962
+ },
4963
+ });
4964
+
4781
4965
  /**
4782
4966
  * NEAR Protocol Mainnet chain definition
4783
4967
  * @remarks
@@ -5978,6 +6162,8 @@ var Chains = /*#__PURE__*/Object.freeze({
5978
6162
  CeloAlfajoresTestnet: CeloAlfajoresTestnet,
5979
6163
  Codex: Codex,
5980
6164
  CodexTestnet: CodexTestnet,
6165
+ Edge: Edge,
6166
+ EdgeTestnet: EdgeTestnet,
5981
6167
  Ethereum: Ethereum,
5982
6168
  EthereumSepolia: EthereumSepolia,
5983
6169
  Hedera: Hedera,
@@ -5990,6 +6176,8 @@ var Chains = /*#__PURE__*/Object.freeze({
5990
6176
  LineaSepolia: LineaSepolia,
5991
6177
  Monad: Monad,
5992
6178
  MonadTestnet: MonadTestnet,
6179
+ Morph: Morph,
6180
+ MorphTestnet: MorphTestnet,
5993
6181
  NEAR: NEAR,
5994
6182
  NEARTestnet: NEARTestnet,
5995
6183
  Noble: Noble,
@@ -7986,12 +8174,14 @@ const USDC = {
7986
8174
  [Blockchain.Base]: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
7987
8175
  [Blockchain.Celo]: '0xcebA9300f2b948710d2653dD7B07f33A8B32118C',
7988
8176
  [Blockchain.Codex]: '0xd996633a415985DBd7D6D12f4A4343E31f5037cf',
8177
+ [Blockchain.Edge]: '0x98d2919b9A214E6Fa5384AC81E6864bA686Ad74c',
7989
8178
  [Blockchain.Ethereum]: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
7990
8179
  [Blockchain.Hedera]: '0.0.456858',
7991
8180
  [Blockchain.HyperEVM]: '0xb88339CB7199b77E23DB6E890353E22632Ba630f',
7992
8181
  [Blockchain.Ink]: '0x2D270e6886d130D724215A266106e6832161EAEd',
7993
8182
  [Blockchain.Linea]: '0x176211869ca2b568f2a7d4ee941e073a821ee1ff',
7994
8183
  [Blockchain.Monad]: '0x754704Bc059F8C67012fEd69BC8A327a5aafb603',
8184
+ [Blockchain.Morph]: '0xCfb1186F4e93D60E60a8bDd997427D1F33bc372B',
7995
8185
  [Blockchain.NEAR]: '17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1',
7996
8186
  [Blockchain.Noble]: 'uusdc',
7997
8187
  [Blockchain.Optimism]: '0x0b2c639c533813f4aa9d7837caf62653d097ff85',
@@ -8014,12 +8204,14 @@ const USDC = {
8014
8204
  [Blockchain.Avalanche_Fuji]: '0x5425890298aed601595a70AB815c96711a31Bc65',
8015
8205
  [Blockchain.Base_Sepolia]: '0x036CbD53842c5426634e7929541eC2318f3dCF7e',
8016
8206
  [Blockchain.Codex_Testnet]: '0x6d7f141b6819C2c9CC2f818e6ad549E7Ca090F8f',
8207
+ [Blockchain.Edge_Testnet]: '0x2d9F7CAD728051AA35Ecdc472a14cf8cDF5CFD6B',
8017
8208
  [Blockchain.Ethereum_Sepolia]: '0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238',
8018
8209
  [Blockchain.Hedera_Testnet]: '0.0.429274',
8019
8210
  [Blockchain.HyperEVM_Testnet]: '0x2B3370eE501B4a559b57D449569354196457D8Ab',
8020
8211
  [Blockchain.Ink_Testnet]: '0xFabab97dCE620294D2B0b0e46C68964e326300Ac',
8021
8212
  [Blockchain.Linea_Sepolia]: '0xfece4462d57bd51a6a552365a011b95f0e16d9b7',
8022
8213
  [Blockchain.Monad_Testnet]: '0x534b2f3A21130d7a60830c2Df862319e593943A3',
8214
+ [Blockchain.Morph_Testnet]: '0x7433b41C6c5e1d58D4Da99483609520255ab661B',
8023
8215
  [Blockchain.NEAR_Testnet]: '3e2210e1184b45b64c8a434c0a7e7b23cc04ea7eb7a6c3c32520d03d4afcb8af',
8024
8216
  [Blockchain.Noble_Testnet]: 'uusdc',
8025
8217
  [Blockchain.Optimism_Sepolia]: '0x5fd84259d66Cd46123540766Be93DFE6D43130D7',
@@ -9008,7 +9200,7 @@ function buildForwardingHookData() {
9008
9200
  }
9009
9201
 
9010
9202
  var name$1 = "@circle-fin/bridge-kit";
9011
- var version$2 = "1.6.1";
9203
+ var version$2 = "1.7.0";
9012
9204
  var pkg$2 = {
9013
9205
  name: name$1,
9014
9206
  version: version$2};
@@ -13098,7 +13290,7 @@ function dispatchStepEvent(name, step, provider, invocation) {
13098
13290
  }
13099
13291
  }
13100
13292
 
13101
- var version$1 = "1.4.1";
13293
+ var version$1 = "1.5.0";
13102
13294
  var pkg$1 = {
13103
13295
  version: version$1};
13104
13296
 
@@ -15842,7 +16034,7 @@ const createBridgeKit = (context) => {
15842
16034
  };
15843
16035
 
15844
16036
  var name = "@circle-fin/swap-kit";
15845
- var version = "1.0.0";
16037
+ var version = "1.0.1";
15846
16038
  var pkg = {
15847
16039
  name: name,
15848
16040
  version: version};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@circle-fin/app-kit",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "engines": {
5
5
  "node": ">=16.0.0"
6
6
  },
@@ -8,8 +8,8 @@
8
8
  "module": "./index.mjs",
9
9
  "types": "./index.d.ts",
10
10
  "dependencies": {
11
- "@circle-fin/bridge-kit": "1.6.1",
12
- "@circle-fin/swap-kit": "1.0.0",
11
+ "@circle-fin/bridge-kit": "1.7.0",
12
+ "@circle-fin/swap-kit": "1.0.1",
13
13
  "zod": "3.25.67",
14
14
  "@ethersproject/address": "^5.8.0",
15
15
  "@ethersproject/bytes": "^5.8.0",