Skip to content

Commit 380ff91

Browse files
committed
Add Ink mainnet support
1 parent 176a9f5 commit 380ff91

File tree

4 files changed

+436
-561
lines changed

4 files changed

+436
-561
lines changed

common/src/consts.ts

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export const INITIAL_DEPLOYMENT_BLOCK_BY_NETWORK_AND_CHAIN: NetworkChainBlockMap
5353
Snaxchain: '306315',
5454
Unichain: '8115676', // https://unichain.blockscout.com/tx/0x4d65e33abc388c2d92c71ea01374af935a6615d0e555a7abbdef6c44e04613ba
5555
Worldchain: '5805110', // https://worldscan.org/tx/0x568eb14596296bda3022527cf0e915bfec073613b27c495e695fb9e08652f6fc
56+
Ink: '7711131', // Block of contract creation, https://explorer.inkonchain.com/tx/0x2576b03a4c0de8566778cb3149a0dbc1c8f8dfcf5d87c9f5f96038c4b15e3797
5657
},
5758
['Testnet']: {
5859
Ethereum: '0',

common/src/explorer.ts

+4
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ export const explorerBlock = (network: Network, chainId: ChainId, block: string)
7878
? `https://bigdipper.live/wormhole/blocks/${block}`
7979
: chainId === chainToChainId('Worldchain')
8080
? `https://worldscan.org/block/${block}`
81+
: chainId === chainToChainId('Ink')
82+
? `https://explorer.inkonchain.com/block/${block}`
8183
: ''
8284
: chainId === chainToChainId('Solana')
8385
? `https://explorer.solana.com/${block}?cluster=testnet`
@@ -221,6 +223,8 @@ export const explorerTx = (network: Network, chainId: ChainId, tx: string) =>
221223
? `https://bigdipper.live/wormhole/transactions/${tx}`
222224
: chainId === chainToChainId('Worldchain')
223225
? `https://worldscan.org/tx/${tx}`
226+
: chainId === chainToChainId('Ink')
227+
? `https://explorer.inkonchain.com/tx/${tx}`
224228
: ''
225229
: chainId === chainToChainId('Solana')
226230
? `https://solscan.io/txs/${tx}?cluster=testnet`

0 commit comments

Comments
 (0)