@circle-fin/app-kit 1.11.0 → 1.12.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/chains.d.cts CHANGED
@@ -94,6 +94,8 @@ declare enum Blockchain {
94
94
  World_Chain_Sepolia = "World_Chain_Sepolia",
95
95
  XDC = "XDC",
96
96
  XDC_Apothem = "XDC_Apothem",
97
+ X_Layer = "X_Layer",
98
+ X_Layer_Testnet = "X_Layer_Testnet",
97
99
  ZKSync_Era = "ZKSync_Era",
98
100
  ZKSync_Sepolia = "ZKSync_Sepolia"
99
101
  }
@@ -1338,7 +1340,7 @@ declare const PolygonAmoy: {
1338
1340
  readonly chainId: 80002;
1339
1341
  readonly isTestnet: true;
1340
1342
  readonly explorerUrl: "https://amoy.polygonscan.com/tx/{hash}";
1341
- readonly rpcEndpoints: readonly ["https://rpc-amoy.polygon.technology"];
1343
+ readonly rpcEndpoints: readonly ["https://polygon-amoy-bor-rpc.publicnode.com", "https://polygon-amoy.drpc.org"];
1342
1344
  readonly eurcAddress: null;
1343
1345
  readonly usdcAddress: "0x41e94eb019c0762f9bfcf9fb1e58725bfb0e7582";
1344
1346
  readonly usdtAddress: null;
@@ -2060,4 +2062,96 @@ declare const XDCApothem: {
2060
2062
  };
2061
2063
  };
2062
2064
 
2063
- export { Arbitrum, ArbitrumSepolia, ArcTestnet, Avalanche, AvalancheFuji, Base, BaseSepolia, Codex, CodexTestnet, Ethereum, EthereumSepolia, HyperEVM, HyperEVMTestnet, Ink, InkTestnet, Linea, LineaSepolia, Optimism, OptimismSepolia, Plume, PlumeTestnet, Polygon, PolygonAmoy, Sei, SeiTestnet, Solana, SolanaDevnet, Sonic, SonicTestnet, Unichain, UnichainSepolia, WorldChain, WorldChainSepolia, XDC, XDCApothem };
2065
+ /**
2066
+ * X Layer Mainnet chain definition
2067
+ * @remarks
2068
+ * This represents the official production network for the X Layer blockchain.
2069
+ * X Layer is an EVM-compatible OP Stack Layer-2 blockchain built by OKX,
2070
+ * using OKB as its native gas token. (Migrated from Polygon zkEVM/CDK to the
2071
+ * OP Stack on 2025-10-27; older docs describing it as zkEVM are obsolete.)
2072
+ */
2073
+ declare const XLayer: {
2074
+ readonly type: "evm";
2075
+ readonly chain: Blockchain.X_Layer;
2076
+ readonly name: "X Layer";
2077
+ readonly title: "X Layer Mainnet";
2078
+ readonly nativeCurrency: {
2079
+ readonly name: "OKB";
2080
+ readonly symbol: "OKB";
2081
+ readonly decimals: 18;
2082
+ };
2083
+ readonly chainId: 196;
2084
+ readonly isTestnet: false;
2085
+ readonly explorerUrl: "https://www.oklink.com/xlayer/tx/{hash}";
2086
+ readonly rpcEndpoints: readonly ["https://xlayerrpc.okx.com"];
2087
+ readonly eurcAddress: null;
2088
+ readonly usdcAddress: "0xB6CEceAB302E2E4948951eE7843FC24E92933061";
2089
+ readonly usdtAddress: null;
2090
+ readonly cctp: {
2091
+ readonly domain: 37;
2092
+ readonly contracts: {
2093
+ readonly v2: {
2094
+ readonly type: "split";
2095
+ readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
2096
+ readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
2097
+ readonly confirmations: 65;
2098
+ readonly fastConfirmations: 1;
2099
+ };
2100
+ };
2101
+ readonly forwarderSupported: {
2102
+ readonly source: false;
2103
+ readonly destination: false;
2104
+ };
2105
+ };
2106
+ readonly kitContracts: {
2107
+ readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
2108
+ };
2109
+ };
2110
+
2111
+ /**
2112
+ * X Layer Testnet chain definition
2113
+ * @remarks
2114
+ * This represents the official test network for the X Layer blockchain.
2115
+ * X Layer is an EVM-compatible OP Stack Layer-2 blockchain built by OKX,
2116
+ * using OKB as its native gas token. (Migrated from Polygon zkEVM/CDK to the
2117
+ * OP Stack on 2025-10-27; older docs describing it as zkEVM are obsolete.)
2118
+ */
2119
+ declare const XLayerTestnet: {
2120
+ readonly type: "evm";
2121
+ readonly chain: Blockchain.X_Layer_Testnet;
2122
+ readonly name: "X Layer Testnet";
2123
+ readonly title: "X Layer Testnet";
2124
+ readonly nativeCurrency: {
2125
+ readonly name: "OKB";
2126
+ readonly symbol: "OKB";
2127
+ readonly decimals: 18;
2128
+ };
2129
+ readonly chainId: 1952;
2130
+ readonly isTestnet: true;
2131
+ readonly explorerUrl: "https://web3.okx.com/explorer/x-layer-testnet/tx/{hash}";
2132
+ readonly rpcEndpoints: readonly ["https://testrpc.xlayer.tech"];
2133
+ readonly eurcAddress: null;
2134
+ readonly usdcAddress: "0xDec90b78111Ba2fc6FC6d84d8B9ec159A2d4b9B3";
2135
+ readonly usdtAddress: null;
2136
+ readonly cctp: {
2137
+ readonly domain: 37;
2138
+ readonly contracts: {
2139
+ readonly v2: {
2140
+ readonly type: "split";
2141
+ readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
2142
+ readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
2143
+ readonly confirmations: 65;
2144
+ readonly fastConfirmations: 1;
2145
+ };
2146
+ };
2147
+ readonly forwarderSupported: {
2148
+ readonly source: false;
2149
+ readonly destination: false;
2150
+ };
2151
+ };
2152
+ readonly kitContracts: {
2153
+ readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
2154
+ };
2155
+ };
2156
+
2157
+ export { Arbitrum, ArbitrumSepolia, ArcTestnet, Avalanche, AvalancheFuji, Base, BaseSepolia, Codex, CodexTestnet, Ethereum, EthereumSepolia, HyperEVM, HyperEVMTestnet, Ink, InkTestnet, Linea, LineaSepolia, Optimism, OptimismSepolia, Plume, PlumeTestnet, Polygon, PolygonAmoy, Sei, SeiTestnet, Solana, SolanaDevnet, Sonic, SonicTestnet, Unichain, UnichainSepolia, WorldChain, WorldChainSepolia, XDC, XDCApothem, XLayer, XLayerTestnet };
package/chains.d.mts CHANGED
@@ -94,6 +94,8 @@ declare enum Blockchain {
94
94
  World_Chain_Sepolia = "World_Chain_Sepolia",
95
95
  XDC = "XDC",
96
96
  XDC_Apothem = "XDC_Apothem",
97
+ X_Layer = "X_Layer",
98
+ X_Layer_Testnet = "X_Layer_Testnet",
97
99
  ZKSync_Era = "ZKSync_Era",
98
100
  ZKSync_Sepolia = "ZKSync_Sepolia"
99
101
  }
@@ -1338,7 +1340,7 @@ declare const PolygonAmoy: {
1338
1340
  readonly chainId: 80002;
1339
1341
  readonly isTestnet: true;
1340
1342
  readonly explorerUrl: "https://amoy.polygonscan.com/tx/{hash}";
1341
- readonly rpcEndpoints: readonly ["https://rpc-amoy.polygon.technology"];
1343
+ readonly rpcEndpoints: readonly ["https://polygon-amoy-bor-rpc.publicnode.com", "https://polygon-amoy.drpc.org"];
1342
1344
  readonly eurcAddress: null;
1343
1345
  readonly usdcAddress: "0x41e94eb019c0762f9bfcf9fb1e58725bfb0e7582";
1344
1346
  readonly usdtAddress: null;
@@ -2060,4 +2062,96 @@ declare const XDCApothem: {
2060
2062
  };
2061
2063
  };
2062
2064
 
2063
- export { Arbitrum, ArbitrumSepolia, ArcTestnet, Avalanche, AvalancheFuji, Base, BaseSepolia, Codex, CodexTestnet, Ethereum, EthereumSepolia, HyperEVM, HyperEVMTestnet, Ink, InkTestnet, Linea, LineaSepolia, Optimism, OptimismSepolia, Plume, PlumeTestnet, Polygon, PolygonAmoy, Sei, SeiTestnet, Solana, SolanaDevnet, Sonic, SonicTestnet, Unichain, UnichainSepolia, WorldChain, WorldChainSepolia, XDC, XDCApothem };
2065
+ /**
2066
+ * X Layer Mainnet chain definition
2067
+ * @remarks
2068
+ * This represents the official production network for the X Layer blockchain.
2069
+ * X Layer is an EVM-compatible OP Stack Layer-2 blockchain built by OKX,
2070
+ * using OKB as its native gas token. (Migrated from Polygon zkEVM/CDK to the
2071
+ * OP Stack on 2025-10-27; older docs describing it as zkEVM are obsolete.)
2072
+ */
2073
+ declare const XLayer: {
2074
+ readonly type: "evm";
2075
+ readonly chain: Blockchain.X_Layer;
2076
+ readonly name: "X Layer";
2077
+ readonly title: "X Layer Mainnet";
2078
+ readonly nativeCurrency: {
2079
+ readonly name: "OKB";
2080
+ readonly symbol: "OKB";
2081
+ readonly decimals: 18;
2082
+ };
2083
+ readonly chainId: 196;
2084
+ readonly isTestnet: false;
2085
+ readonly explorerUrl: "https://www.oklink.com/xlayer/tx/{hash}";
2086
+ readonly rpcEndpoints: readonly ["https://xlayerrpc.okx.com"];
2087
+ readonly eurcAddress: null;
2088
+ readonly usdcAddress: "0xB6CEceAB302E2E4948951eE7843FC24E92933061";
2089
+ readonly usdtAddress: null;
2090
+ readonly cctp: {
2091
+ readonly domain: 37;
2092
+ readonly contracts: {
2093
+ readonly v2: {
2094
+ readonly type: "split";
2095
+ readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
2096
+ readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
2097
+ readonly confirmations: 65;
2098
+ readonly fastConfirmations: 1;
2099
+ };
2100
+ };
2101
+ readonly forwarderSupported: {
2102
+ readonly source: false;
2103
+ readonly destination: false;
2104
+ };
2105
+ };
2106
+ readonly kitContracts: {
2107
+ readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
2108
+ };
2109
+ };
2110
+
2111
+ /**
2112
+ * X Layer Testnet chain definition
2113
+ * @remarks
2114
+ * This represents the official test network for the X Layer blockchain.
2115
+ * X Layer is an EVM-compatible OP Stack Layer-2 blockchain built by OKX,
2116
+ * using OKB as its native gas token. (Migrated from Polygon zkEVM/CDK to the
2117
+ * OP Stack on 2025-10-27; older docs describing it as zkEVM are obsolete.)
2118
+ */
2119
+ declare const XLayerTestnet: {
2120
+ readonly type: "evm";
2121
+ readonly chain: Blockchain.X_Layer_Testnet;
2122
+ readonly name: "X Layer Testnet";
2123
+ readonly title: "X Layer Testnet";
2124
+ readonly nativeCurrency: {
2125
+ readonly name: "OKB";
2126
+ readonly symbol: "OKB";
2127
+ readonly decimals: 18;
2128
+ };
2129
+ readonly chainId: 1952;
2130
+ readonly isTestnet: true;
2131
+ readonly explorerUrl: "https://web3.okx.com/explorer/x-layer-testnet/tx/{hash}";
2132
+ readonly rpcEndpoints: readonly ["https://testrpc.xlayer.tech"];
2133
+ readonly eurcAddress: null;
2134
+ readonly usdcAddress: "0xDec90b78111Ba2fc6FC6d84d8B9ec159A2d4b9B3";
2135
+ readonly usdtAddress: null;
2136
+ readonly cctp: {
2137
+ readonly domain: 37;
2138
+ readonly contracts: {
2139
+ readonly v2: {
2140
+ readonly type: "split";
2141
+ readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
2142
+ readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
2143
+ readonly confirmations: 65;
2144
+ readonly fastConfirmations: 1;
2145
+ };
2146
+ };
2147
+ readonly forwarderSupported: {
2148
+ readonly source: false;
2149
+ readonly destination: false;
2150
+ };
2151
+ };
2152
+ readonly kitContracts: {
2153
+ readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
2154
+ };
2155
+ };
2156
+
2157
+ export { Arbitrum, ArbitrumSepolia, ArcTestnet, Avalanche, AvalancheFuji, Base, BaseSepolia, Codex, CodexTestnet, Ethereum, EthereumSepolia, HyperEVM, HyperEVMTestnet, Ink, InkTestnet, Linea, LineaSepolia, Optimism, OptimismSepolia, Plume, PlumeTestnet, Polygon, PolygonAmoy, Sei, SeiTestnet, Solana, SolanaDevnet, Sonic, SonicTestnet, Unichain, UnichainSepolia, WorldChain, WorldChainSepolia, XDC, XDCApothem, XLayer, XLayerTestnet };
package/chains.d.ts CHANGED
@@ -94,6 +94,8 @@ declare enum Blockchain {
94
94
  World_Chain_Sepolia = "World_Chain_Sepolia",
95
95
  XDC = "XDC",
96
96
  XDC_Apothem = "XDC_Apothem",
97
+ X_Layer = "X_Layer",
98
+ X_Layer_Testnet = "X_Layer_Testnet",
97
99
  ZKSync_Era = "ZKSync_Era",
98
100
  ZKSync_Sepolia = "ZKSync_Sepolia"
99
101
  }
@@ -1338,7 +1340,7 @@ declare const PolygonAmoy: {
1338
1340
  readonly chainId: 80002;
1339
1341
  readonly isTestnet: true;
1340
1342
  readonly explorerUrl: "https://amoy.polygonscan.com/tx/{hash}";
1341
- readonly rpcEndpoints: readonly ["https://rpc-amoy.polygon.technology"];
1343
+ readonly rpcEndpoints: readonly ["https://polygon-amoy-bor-rpc.publicnode.com", "https://polygon-amoy.drpc.org"];
1342
1344
  readonly eurcAddress: null;
1343
1345
  readonly usdcAddress: "0x41e94eb019c0762f9bfcf9fb1e58725bfb0e7582";
1344
1346
  readonly usdtAddress: null;
@@ -2060,4 +2062,96 @@ declare const XDCApothem: {
2060
2062
  };
2061
2063
  };
2062
2064
 
2063
- export { Arbitrum, ArbitrumSepolia, ArcTestnet, Avalanche, AvalancheFuji, Base, BaseSepolia, Codex, CodexTestnet, Ethereum, EthereumSepolia, HyperEVM, HyperEVMTestnet, Ink, InkTestnet, Linea, LineaSepolia, Optimism, OptimismSepolia, Plume, PlumeTestnet, Polygon, PolygonAmoy, Sei, SeiTestnet, Solana, SolanaDevnet, Sonic, SonicTestnet, Unichain, UnichainSepolia, WorldChain, WorldChainSepolia, XDC, XDCApothem };
2065
+ /**
2066
+ * X Layer Mainnet chain definition
2067
+ * @remarks
2068
+ * This represents the official production network for the X Layer blockchain.
2069
+ * X Layer is an EVM-compatible OP Stack Layer-2 blockchain built by OKX,
2070
+ * using OKB as its native gas token. (Migrated from Polygon zkEVM/CDK to the
2071
+ * OP Stack on 2025-10-27; older docs describing it as zkEVM are obsolete.)
2072
+ */
2073
+ declare const XLayer: {
2074
+ readonly type: "evm";
2075
+ readonly chain: Blockchain.X_Layer;
2076
+ readonly name: "X Layer";
2077
+ readonly title: "X Layer Mainnet";
2078
+ readonly nativeCurrency: {
2079
+ readonly name: "OKB";
2080
+ readonly symbol: "OKB";
2081
+ readonly decimals: 18;
2082
+ };
2083
+ readonly chainId: 196;
2084
+ readonly isTestnet: false;
2085
+ readonly explorerUrl: "https://www.oklink.com/xlayer/tx/{hash}";
2086
+ readonly rpcEndpoints: readonly ["https://xlayerrpc.okx.com"];
2087
+ readonly eurcAddress: null;
2088
+ readonly usdcAddress: "0xB6CEceAB302E2E4948951eE7843FC24E92933061";
2089
+ readonly usdtAddress: null;
2090
+ readonly cctp: {
2091
+ readonly domain: 37;
2092
+ readonly contracts: {
2093
+ readonly v2: {
2094
+ readonly type: "split";
2095
+ readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
2096
+ readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
2097
+ readonly confirmations: 65;
2098
+ readonly fastConfirmations: 1;
2099
+ };
2100
+ };
2101
+ readonly forwarderSupported: {
2102
+ readonly source: false;
2103
+ readonly destination: false;
2104
+ };
2105
+ };
2106
+ readonly kitContracts: {
2107
+ readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
2108
+ };
2109
+ };
2110
+
2111
+ /**
2112
+ * X Layer Testnet chain definition
2113
+ * @remarks
2114
+ * This represents the official test network for the X Layer blockchain.
2115
+ * X Layer is an EVM-compatible OP Stack Layer-2 blockchain built by OKX,
2116
+ * using OKB as its native gas token. (Migrated from Polygon zkEVM/CDK to the
2117
+ * OP Stack on 2025-10-27; older docs describing it as zkEVM are obsolete.)
2118
+ */
2119
+ declare const XLayerTestnet: {
2120
+ readonly type: "evm";
2121
+ readonly chain: Blockchain.X_Layer_Testnet;
2122
+ readonly name: "X Layer Testnet";
2123
+ readonly title: "X Layer Testnet";
2124
+ readonly nativeCurrency: {
2125
+ readonly name: "OKB";
2126
+ readonly symbol: "OKB";
2127
+ readonly decimals: 18;
2128
+ };
2129
+ readonly chainId: 1952;
2130
+ readonly isTestnet: true;
2131
+ readonly explorerUrl: "https://web3.okx.com/explorer/x-layer-testnet/tx/{hash}";
2132
+ readonly rpcEndpoints: readonly ["https://testrpc.xlayer.tech"];
2133
+ readonly eurcAddress: null;
2134
+ readonly usdcAddress: "0xDec90b78111Ba2fc6FC6d84d8B9ec159A2d4b9B3";
2135
+ readonly usdtAddress: null;
2136
+ readonly cctp: {
2137
+ readonly domain: 37;
2138
+ readonly contracts: {
2139
+ readonly v2: {
2140
+ readonly type: "split";
2141
+ readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
2142
+ readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
2143
+ readonly confirmations: 65;
2144
+ readonly fastConfirmations: 1;
2145
+ };
2146
+ };
2147
+ readonly forwarderSupported: {
2148
+ readonly source: false;
2149
+ readonly destination: false;
2150
+ };
2151
+ };
2152
+ readonly kitContracts: {
2153
+ readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
2154
+ };
2155
+ };
2156
+
2157
+ export { Arbitrum, ArbitrumSepolia, ArcTestnet, Avalanche, AvalancheFuji, Base, BaseSepolia, Codex, CodexTestnet, Ethereum, EthereumSepolia, HyperEVM, HyperEVMTestnet, Ink, InkTestnet, Linea, LineaSepolia, Optimism, OptimismSepolia, Plume, PlumeTestnet, Polygon, PolygonAmoy, Sei, SeiTestnet, Solana, SolanaDevnet, Sonic, SonicTestnet, Unichain, UnichainSepolia, WorldChain, WorldChainSepolia, XDC, XDCApothem, XLayer, XLayerTestnet };
package/chains.mjs CHANGED
@@ -122,6 +122,8 @@ import { z } from 'zod';
122
122
  Blockchain["World_Chain_Sepolia"] = "World_Chain_Sepolia";
123
123
  Blockchain["XDC"] = "XDC";
124
124
  Blockchain["XDC_Apothem"] = "XDC_Apothem";
125
+ Blockchain["X_Layer"] = "X_Layer";
126
+ Blockchain["X_Layer_Testnet"] = "X_Layer_Testnet";
125
127
  Blockchain["ZKSync_Era"] = "ZKSync_Era";
126
128
  Blockchain["ZKSync_Sepolia"] = "ZKSync_Sepolia";
127
129
  })(Blockchain || (Blockchain = {}));
@@ -175,6 +177,7 @@ var BridgeChain;
175
177
  BridgeChain["Unichain"] = "Unichain";
176
178
  BridgeChain["World_Chain"] = "World_Chain";
177
179
  BridgeChain["XDC"] = "XDC";
180
+ BridgeChain["X_Layer"] = "X_Layer";
178
181
  // Testnet chains with CCTPv2 support
179
182
  BridgeChain["Arc_Testnet"] = "Arc_Testnet";
180
183
  BridgeChain["Arbitrum_Sepolia"] = "Arbitrum_Sepolia";
@@ -200,6 +203,7 @@ var BridgeChain;
200
203
  BridgeChain["Unichain_Sepolia"] = "Unichain_Sepolia";
201
204
  BridgeChain["World_Chain_Sepolia"] = "World_Chain_Sepolia";
202
205
  BridgeChain["XDC_Apothem"] = "XDC_Apothem";
206
+ BridgeChain["X_Layer_Testnet"] = "X_Layer_Testnet";
203
207
  })(BridgeChain || (BridgeChain = {}));
204
208
  var UnifiedBalanceChain;
205
209
  (function(UnifiedBalanceChain) {
@@ -2737,7 +2741,8 @@ var EarnChain;
2737
2741
  isTestnet: true,
2738
2742
  explorerUrl: 'https://amoy.polygonscan.com/tx/{hash}',
2739
2743
  rpcEndpoints: [
2740
- 'https://rpc-amoy.polygon.technology'
2744
+ 'https://polygon-amoy-bor-rpc.publicnode.com',
2745
+ 'https://polygon-amoy.drpc.org'
2741
2746
  ],
2742
2747
  eurcAddress: null,
2743
2748
  usdcAddress: '0x41e94eb019c0762f9bfcf9fb1e58725bfb0e7582',
@@ -3602,6 +3607,104 @@ var EarnChain;
3602
3607
  }
3603
3608
  });
3604
3609
 
3610
+ /**
3611
+ * X Layer Mainnet chain definition
3612
+ * @remarks
3613
+ * This represents the official production network for the X Layer blockchain.
3614
+ * X Layer is an EVM-compatible OP Stack Layer-2 blockchain built by OKX,
3615
+ * using OKB as its native gas token. (Migrated from Polygon zkEVM/CDK to the
3616
+ * OP Stack on 2025-10-27; older docs describing it as zkEVM are obsolete.)
3617
+ */ const XLayer = defineChain({
3618
+ type: 'evm',
3619
+ chain: Blockchain.X_Layer,
3620
+ name: 'X Layer',
3621
+ title: 'X Layer Mainnet',
3622
+ nativeCurrency: {
3623
+ name: 'OKB',
3624
+ symbol: 'OKB',
3625
+ decimals: 18
3626
+ },
3627
+ chainId: 196,
3628
+ isTestnet: false,
3629
+ explorerUrl: 'https://www.oklink.com/xlayer/tx/{hash}',
3630
+ rpcEndpoints: [
3631
+ 'https://xlayerrpc.okx.com'
3632
+ ],
3633
+ eurcAddress: null,
3634
+ usdcAddress: '0xB6CEceAB302E2E4948951eE7843FC24E92933061',
3635
+ usdtAddress: null,
3636
+ cctp: {
3637
+ domain: 37,
3638
+ contracts: {
3639
+ v2: {
3640
+ type: 'split',
3641
+ tokenMessenger: '0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d',
3642
+ messageTransmitter: '0x81D40F21F12A8F0E3252Bccb954D722d4c464B64',
3643
+ confirmations: 65,
3644
+ fastConfirmations: 1
3645
+ }
3646
+ },
3647
+ forwarderSupported: {
3648
+ source: false,
3649
+ destination: false
3650
+ }
3651
+ },
3652
+ kitContracts: {
3653
+ bridge: BRIDGE_CONTRACT_EVM_MAINNET
3654
+ }
3655
+ });
3656
+
3657
+ /**
3658
+ * X Layer Testnet chain definition
3659
+ * @remarks
3660
+ * This represents the official test network for the X Layer blockchain.
3661
+ * X Layer is an EVM-compatible OP Stack Layer-2 blockchain built by OKX,
3662
+ * using OKB as its native gas token. (Migrated from Polygon zkEVM/CDK to the
3663
+ * OP Stack on 2025-10-27; older docs describing it as zkEVM are obsolete.)
3664
+ */ const XLayerTestnet = defineChain({
3665
+ type: 'evm',
3666
+ chain: Blockchain.X_Layer_Testnet,
3667
+ name: 'X Layer Testnet',
3668
+ title: 'X Layer Testnet',
3669
+ nativeCurrency: {
3670
+ name: 'OKB',
3671
+ symbol: 'OKB',
3672
+ decimals: 18
3673
+ },
3674
+ chainId: 1952,
3675
+ isTestnet: true,
3676
+ // Deliberately not oklink.com (used for mainnet): viem's bundled OKLink
3677
+ // testnet URL targets the deprecated pre-rebrand chain ID 195, not this
3678
+ // chain's ID (1952). Verified against the internal chain-expansion-scripts
3679
+ // config (`v2config.sandbox.yml`) — do not "normalize" this to match mainnet.
3680
+ explorerUrl: 'https://web3.okx.com/explorer/x-layer-testnet/tx/{hash}',
3681
+ rpcEndpoints: [
3682
+ 'https://testrpc.xlayer.tech'
3683
+ ],
3684
+ eurcAddress: null,
3685
+ usdcAddress: '0xDec90b78111Ba2fc6FC6d84d8B9ec159A2d4b9B3',
3686
+ usdtAddress: null,
3687
+ cctp: {
3688
+ domain: 37,
3689
+ contracts: {
3690
+ v2: {
3691
+ type: 'split',
3692
+ tokenMessenger: '0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA',
3693
+ messageTransmitter: '0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275',
3694
+ confirmations: 65,
3695
+ fastConfirmations: 1
3696
+ }
3697
+ },
3698
+ forwarderSupported: {
3699
+ source: false,
3700
+ destination: false
3701
+ }
3702
+ },
3703
+ kitContracts: {
3704
+ bridge: BRIDGE_CONTRACT_EVM_TESTNET
3705
+ }
3706
+ });
3707
+
3605
3708
  /**
3606
3709
  * ZKSync Era Mainnet chain definition
3607
3710
  * @remarks
@@ -4069,5 +4172,5 @@ const swapTokenEnumSchema = z.enum([
4069
4172
  * ```
4070
4173
  */ z.string().transform((value)=>value.toUpperCase()).pipe(swapTokenEnumSchema);
4071
4174
 
4072
- export { Arbitrum, ArbitrumSepolia, ArcTestnet, Avalanche, AvalancheFuji, Base, BaseSepolia, Codex, CodexTestnet, Ethereum, EthereumSepolia, HyperEVM, HyperEVMTestnet, Ink, InkTestnet, Linea, LineaSepolia, Optimism, OptimismSepolia, Plume, PlumeTestnet, Polygon, PolygonAmoy, Sei, SeiTestnet, Solana, SolanaDevnet, Sonic, SonicTestnet, Unichain, UnichainSepolia, WorldChain, WorldChainSepolia, XDC, XDCApothem };
4175
+ export { Arbitrum, ArbitrumSepolia, ArcTestnet, Avalanche, AvalancheFuji, Base, BaseSepolia, Codex, CodexTestnet, Ethereum, EthereumSepolia, HyperEVM, HyperEVMTestnet, Ink, InkTestnet, Linea, LineaSepolia, Optimism, OptimismSepolia, Plume, PlumeTestnet, Polygon, PolygonAmoy, Sei, SeiTestnet, Solana, SolanaDevnet, Sonic, SonicTestnet, Unichain, UnichainSepolia, WorldChain, WorldChainSepolia, XDC, XDCApothem, XLayer, XLayerTestnet };
4073
4176
  //# sourceMappingURL=chains.mjs.map