-
-
Notifications
You must be signed in to change notification settings - Fork 823
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Ink Sepolia support (#2942)
* Adding in Ink Sepolia support * Added in changeset
- Loading branch information
1 parent
e6905ba
commit 12347cf
Showing
5 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"viem": patch | ||
--- | ||
|
||
Added Ink Sepolia chain configurations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import { chainConfig } from '../../op-stack/chainConfig.js' | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
const sourceId = 11_155_111 // sepolia | ||
|
||
export const inkSepolia = /*#__PURE__*/ defineChain({ | ||
...chainConfig, | ||
id: 763373, | ||
name: 'Ink Sepolia', | ||
nativeCurrency: { name: 'Sepolia Ether', symbol: 'ETH', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc-gel-sepolia.inkonchain.com'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Blockscout', | ||
url: 'https://explorer-sepolia.inkonchain.com/', | ||
apiUrl: 'https://explorer-sepolia.inkonchain.com/api/v2', | ||
}, | ||
}, | ||
contracts: { | ||
...chainConfig.contracts, | ||
disputeGameFactory: { | ||
[sourceId]: { | ||
address: '0x860e626c700af381133d9f4af31412a2d1db3d5d', | ||
}, | ||
}, | ||
portal: { | ||
[sourceId]: { | ||
address: '0x5c1d29c6c9c8b0800692acc95d700bcb4966a1d7', | ||
}, | ||
}, | ||
l1StandardBridge: { | ||
[sourceId]: { | ||
address: '0x33f60714bbd74d62b66d79213c348614de51901c', | ||
}, | ||
}, | ||
}, | ||
testnet: true, | ||
sourceId, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters