From fab0a9e7d350e94d41a8d82ab67c4c58dfa52b14 Mon Sep 17 00:00:00 2001 From: Bruce Riley Date: Mon, 6 Jan 2025 14:49:18 -0600 Subject: [PATCH] Seievm Support --- core/base/src/constants/contracts/core.ts | 1 + core/base/src/constants/contracts/tokenBridge.ts | 1 + core/base/src/constants/finality.ts | 1 + core/base/src/constants/nativeChainIds.ts | 1 + core/base/src/constants/rpc.ts | 1 + 5 files changed, 5 insertions(+) diff --git a/core/base/src/constants/contracts/core.ts b/core/base/src/constants/contracts/core.ts index 76bc90237..951b95b09 100644 --- a/core/base/src/constants/contracts/core.ts +++ b/core/base/src/constants/contracts/core.ts @@ -85,6 +85,7 @@ export const coreBridgeContracts = [[ ["Scroll", "0x055F47F1250012C6B20c436570a76e52c17Af2D5"], ["Blast", "0x473e002D7add6fB67a4964F13bFd61280Ca46886"], ["Berachain", "0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"], + ["Seievm", "0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"], ["Snaxchain", "0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"], ["Unichain", "0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"], ["Worldchain", "0xe5E02cD12B6FcA153b0d7fF4bF55730AE7B3C93A"], diff --git a/core/base/src/constants/contracts/tokenBridge.ts b/core/base/src/constants/contracts/tokenBridge.ts index ca360e21f..1bdc7b77c 100644 --- a/core/base/src/constants/contracts/tokenBridge.ts +++ b/core/base/src/constants/contracts/tokenBridge.ts @@ -77,6 +77,7 @@ export const tokenBridgeContracts = [[ ["Blast", "0x430855B4D43b8AEB9D2B9869B74d58dda79C0dB2"], ["Xlayer", "0xdA91a06299BBF302091B053c6B9EF86Eff0f930D"], ["Berachain", "0xa10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a"], + ["Seievm", "0x23908A62110e21C04F3A4e011d24F901F911744A"], ["Snaxchain", "0xa10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a"], ["Unichain", "0xa10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a"], ["Worldchain", "0x430855B4D43b8AEB9D2B9869B74d58dda79C0dB2"], diff --git a/core/base/src/constants/finality.ts b/core/base/src/constants/finality.ts index cfaf53c91..6f9d59633 100644 --- a/core/base/src/constants/finality.ts +++ b/core/base/src/constants/finality.ts @@ -60,6 +60,7 @@ const finalityThresholds = [ ["Xpla", 0], ["Injective", 0], ["Berachain", 1], + ["Seievm", 1], ["Snaxchain", 512], ["Unichain", 512], ["Ink", 512], diff --git a/core/base/src/constants/nativeChainIds.ts b/core/base/src/constants/nativeChainIds.ts index 2715d7bb6..05712d5e4 100644 --- a/core/base/src/constants/nativeChainIds.ts +++ b/core/base/src/constants/nativeChainIds.ts @@ -108,6 +108,7 @@ const chainNetworkNativeChainIdEntries = [ ["Mantle", 5003n], // Sepolia testnet ["Scroll", 534351n], ["Berachain", 80084n], // Testnet v2 + ["Seievm", 1328n], ["Snaxchain", 13001n], ["Unichain", 1301n], ["Worldchain", 4801n], diff --git a/core/base/src/constants/rpc.ts b/core/base/src/constants/rpc.ts index 38af0145d..8c894cf55 100644 --- a/core/base/src/constants/rpc.ts +++ b/core/base/src/constants/rpc.ts @@ -84,6 +84,7 @@ const rpcConfig = [[ ["Acala", "https://eth-rpc-acala-testnet.aca-staging.network"], ["Blast", "https://sepolia.blast.io"], ["Berachain", "https://artio.rpc.berachain.com"], + ["Seievm", "https://evm-rpc-testnet.sei-apis.com/"], ["Linea", "https://rpc.sepolia.linea.build"], ["Xlayer", "https://testrpc.xlayer.tech/"], ["Scroll", "https://rpc.ankr.com/scroll_sepolia_testnet"],