Skip to content

Commit 3d6cbad

Browse files
committed
Add Seievm support
1 parent 3fef774 commit 3d6cbad

File tree

10 files changed

+316
-307
lines changed

10 files changed

+316
-307
lines changed

common/src/consts.ts

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export const INITIAL_DEPLOYMENT_BLOCK_BY_NETWORK_AND_CHAIN: NetworkChainBlockMap
8383
Wormchain: '4495661',
8484
PolygonSepolia: '2379275',
8585
Berachain: '1473347',
86+
Seievm: '142153268', // Block of contract creation
8687
Snaxchain: '482557',
8788
Unichain: '254961', // Block of contract creation
8889
Worldchain: '4487948', // Block of contract creation

common/src/explorer.ts

+4
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ export const explorerBlock = (network: Network, chainId: ChainId, block: string)
132132
? `https://sepolia.lineascan.build/block/${block}`
133133
: chainId === chainToChainId('Berachain')
134134
? `https://bartio.beratrail.io/block/${block}`
135+
: chainId === chainToChainId('Seievm')
136+
? `https://seitrace.com/block/${block}?chain=atlantic-2`
135137
: chainId === chainToChainId('Snaxchain')
136138
? `https://explorer-snaxchain-s50q0kjngn.t.conduit.xyz/${block}`
137139
: chainId === chainToChainId('Unichain')
@@ -271,6 +273,8 @@ export const explorerTx = (network: Network, chainId: ChainId, tx: string) =>
271273
? `https://sepolia.lineascan.build/tx/${tx}`
272274
: chainId === chainToChainId('Berachain')
273275
? `https://bartio.beratrail.io/tx/${tx}`
276+
: chainId === chainToChainId('Seievm')
277+
? `https://seitrace.com/tx/${tx}?chain=atlantic-2`
274278
: chainId === chainToChainId('Snaxchain')
275279
? `https://explorer-snaxchain-s50q0kjngn.t.conduit.xyz/tx/${tx}`
276280
: chainId === chainToChainId('Unichain')

dashboard/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@types/node": "^18.6.4",
1818
"@types/react": "^18.0.15",
1919
"@types/react-dom": "^18.0.6",
20-
"@wormhole-foundation/sdk-icons": "^1.3.1",
20+
"@wormhole-foundation/sdk-icons": "^1.3.3",
2121
"buffer": "^6.0.3",
2222
"numeral": "^2.0.6",
2323
"react": "^18.2.0",

database/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@injectivelabs/sdk-ts": "^1.0.368",
1616
"@mysten/sui.js": "^0.50.1",
1717
"@terra-money/terra.js": "^3.1.3",
18-
"@wormhole-foundation/sdk": "^1.3.1",
18+
"@wormhole-foundation/sdk": "^1.3.3",
1919
"@xpla/xpla.js": "^0.2.3",
2020
"aptos": "1.5.0",
2121
"dotenv": "^16.0.3",

package-lock.json

+298-298
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
},
2626
"dependencies": {
2727
"@google-cloud/functions-framework": "^3.4.0",
28-
"@wormhole-foundation/sdk-base": "^1.3.1",
29-
"@wormhole-foundation/sdk-definitions": "^1.3.1",
30-
"@wormhole-foundation/sdk-evm": "^1.3.1",
31-
"@wormhole-foundation/sdk-evm-core": "^1.3.1",
32-
"@wormhole-foundation/sdk-icons": "^1.3.1",
33-
"@wormhole-foundation/sdk-solana": "^1.3.1",
34-
"@wormhole-foundation/sdk-solana-core": "^1.3.1",
28+
"@wormhole-foundation/sdk-base": "^1.3.3",
29+
"@wormhole-foundation/sdk-definitions": "^1.3.3",
30+
"@wormhole-foundation/sdk-evm": "^1.3.3",
31+
"@wormhole-foundation/sdk-evm-core": "^1.3.3",
32+
"@wormhole-foundation/sdk-icons": "^1.3.3",
33+
"@wormhole-foundation/sdk-solana": "^1.3.3",
34+
"@wormhole-foundation/sdk-solana-core": "^1.3.3",
3535
"axios": "^1.5.0"
3636
}
3737
}

watcher/src/consts.ts

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export const RPCS_BY_CHAIN: { [key in Network]: { [key in Chain]?: string } } =
102102
Sepolia: process.env.SEPOLIA_RPC,
103103
PolygonSepolia: process.env.POLYGON_SEPOLIA_RPC || 'https://rpc-amoy.polygon.technology',
104104
Berachain: process.env.BERACHAIN_RPC || 'https://bartio.rpc.berachain.com',
105+
Seievm: process.env.SEI_EVM_RPC || 'https://evm-rpc-testnet.sei-apis.com',
105106
Snaxchain: process.env.SNAXCHAIN_RPC || 'https://rpc-snaxchain-s50q0kjngn.t.conduit.xyz',
106107
Unichain: process.env.UNICHAIN_RPC || 'https://sepolia.unichain.org',
107108
Worldchain: process.env.WORLDCHAIN_RPC || 'https://worldchain-sepolia.g.alchemy.com/public',

watcher/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const supportedChains: Chain[] =
5353
'Holesky',
5454
'PolygonSepolia',
5555
'Berachain',
56+
'Seievm',
5657
'Snaxchain',
5758
'Unichain',
5859
'Worldchain',

watcher/src/watchers/EVMWatcher.ts

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export class EVMWatcher extends Watcher {
5353
chain === 'MonadDevnet' ||
5454
chain === 'Ink' ||
5555
chain === 'HyperEVM' ||
56+
chain === 'Seievm' ||
5657
chain === 'Xlayer'
5758
) {
5859
this.maximumBatchSize = 10;

watcher/src/watchers/utils.ts

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export function makeFinalizedWatcher(network: Network, chainName: Chain): Watche
4141
chainName === 'Blast' ||
4242
chainName === 'Xlayer' ||
4343
chainName === 'Berachain' ||
44+
chainName === 'Seievm' ||
4445
chainName === 'Snaxchain' ||
4546
chainName === 'Unichain' ||
4647
chainName === 'Worldchain' ||

0 commit comments

Comments
 (0)