Skip to content

Commit

Permalink
Add Seievm support
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-riley committed Jan 8, 2025
1 parent 3fef774 commit 3d6cbad
Show file tree
Hide file tree
Showing 10 changed files with 316 additions and 307 deletions.
1 change: 1 addition & 0 deletions common/src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export const INITIAL_DEPLOYMENT_BLOCK_BY_NETWORK_AND_CHAIN: NetworkChainBlockMap
Wormchain: '4495661',
PolygonSepolia: '2379275',
Berachain: '1473347',
Seievm: '142153268', // Block of contract creation
Snaxchain: '482557',
Unichain: '254961', // Block of contract creation
Worldchain: '4487948', // Block of contract creation
Expand Down
4 changes: 4 additions & 0 deletions common/src/explorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ export const explorerBlock = (network: Network, chainId: ChainId, block: string)
? `https://sepolia.lineascan.build/block/${block}`
: chainId === chainToChainId('Berachain')
? `https://bartio.beratrail.io/block/${block}`
: chainId === chainToChainId('Seievm')
? `https://seitrace.com/block/${block}?chain=atlantic-2`
: chainId === chainToChainId('Snaxchain')
? `https://explorer-snaxchain-s50q0kjngn.t.conduit.xyz/${block}`
: chainId === chainToChainId('Unichain')
Expand Down Expand Up @@ -271,6 +273,8 @@ export const explorerTx = (network: Network, chainId: ChainId, tx: string) =>
? `https://sepolia.lineascan.build/tx/${tx}`
: chainId === chainToChainId('Berachain')
? `https://bartio.beratrail.io/tx/${tx}`
: chainId === chainToChainId('Seievm')
? `https://seitrace.com/tx/${tx}?chain=atlantic-2`
: chainId === chainToChainId('Snaxchain')
? `https://explorer-snaxchain-s50q0kjngn.t.conduit.xyz/tx/${tx}`
: chainId === chainToChainId('Unichain')
Expand Down
2 changes: 1 addition & 1 deletion dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@types/node": "^18.6.4",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@wormhole-foundation/sdk-icons": "^1.3.1",
"@wormhole-foundation/sdk-icons": "^1.3.3",
"buffer": "^6.0.3",
"numeral": "^2.0.6",
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@injectivelabs/sdk-ts": "^1.0.368",
"@mysten/sui.js": "^0.50.1",
"@terra-money/terra.js": "^3.1.3",
"@wormhole-foundation/sdk": "^1.3.1",
"@wormhole-foundation/sdk": "^1.3.3",
"@xpla/xpla.js": "^0.2.3",
"aptos": "1.5.0",
"dotenv": "^16.0.3",
Expand Down
596 changes: 298 additions & 298 deletions package-lock.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
},
"dependencies": {
"@google-cloud/functions-framework": "^3.4.0",
"@wormhole-foundation/sdk-base": "^1.3.1",
"@wormhole-foundation/sdk-definitions": "^1.3.1",
"@wormhole-foundation/sdk-evm": "^1.3.1",
"@wormhole-foundation/sdk-evm-core": "^1.3.1",
"@wormhole-foundation/sdk-icons": "^1.3.1",
"@wormhole-foundation/sdk-solana": "^1.3.1",
"@wormhole-foundation/sdk-solana-core": "^1.3.1",
"@wormhole-foundation/sdk-base": "^1.3.3",
"@wormhole-foundation/sdk-definitions": "^1.3.3",
"@wormhole-foundation/sdk-evm": "^1.3.3",
"@wormhole-foundation/sdk-evm-core": "^1.3.3",
"@wormhole-foundation/sdk-icons": "^1.3.3",
"@wormhole-foundation/sdk-solana": "^1.3.3",
"@wormhole-foundation/sdk-solana-core": "^1.3.3",
"axios": "^1.5.0"
}
}
1 change: 1 addition & 0 deletions watcher/src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export const RPCS_BY_CHAIN: { [key in Network]: { [key in Chain]?: string } } =
Sepolia: process.env.SEPOLIA_RPC,
PolygonSepolia: process.env.POLYGON_SEPOLIA_RPC || 'https://rpc-amoy.polygon.technology',
Berachain: process.env.BERACHAIN_RPC || 'https://bartio.rpc.berachain.com',
Seievm: process.env.SEI_EVM_RPC || 'https://evm-rpc-testnet.sei-apis.com',
Snaxchain: process.env.SNAXCHAIN_RPC || 'https://rpc-snaxchain-s50q0kjngn.t.conduit.xyz',
Unichain: process.env.UNICHAIN_RPC || 'https://sepolia.unichain.org',
Worldchain: process.env.WORLDCHAIN_RPC || 'https://worldchain-sepolia.g.alchemy.com/public',
Expand Down
1 change: 1 addition & 0 deletions watcher/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const supportedChains: Chain[] =
'Holesky',
'PolygonSepolia',
'Berachain',
'Seievm',
'Snaxchain',
'Unichain',
'Worldchain',
Expand Down
1 change: 1 addition & 0 deletions watcher/src/watchers/EVMWatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export class EVMWatcher extends Watcher {
chain === 'MonadDevnet' ||
chain === 'Ink' ||
chain === 'HyperEVM' ||
chain === 'Seievm' ||
chain === 'Xlayer'
) {
this.maximumBatchSize = 10;
Expand Down
1 change: 1 addition & 0 deletions watcher/src/watchers/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export function makeFinalizedWatcher(network: Network, chainName: Chain): Watche
chainName === 'Blast' ||
chainName === 'Xlayer' ||
chainName === 'Berachain' ||
chainName === 'Seievm' ||
chainName === 'Snaxchain' ||
chainName === 'Unichain' ||
chainName === 'Worldchain' ||
Expand Down

0 comments on commit 3d6cbad

Please sign in to comment.