-
-
Notifications
You must be signed in to change notification settings - Fork 926
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Superseed Sepolia and Mainnet (#3119)
* Add Superseed Sepolia * Add Superseed Mainnet * chore: version package (#3075) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
9a4136b
commit ee61159
Showing
5 changed files
with
113 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 | ||
--- | ||
|
||
Add Superseed Sepolia Testnet |
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 | ||
--- | ||
|
||
Add Superseed Mainnet |
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,54 @@ | ||
import { chainConfig } from '../../op-stack/chainConfig.js' | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
const sourceId = 1 // mainnet | ||
|
||
export const superseed = /*#__PURE__*/ defineChain({ | ||
...chainConfig, | ||
id: 5330, | ||
name: 'Superseed', | ||
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://mainnet.superseed.xyz'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Superseed Explorer', | ||
url: 'https://explorer.superseed.xyz', | ||
apiUrl: 'https://explorer.superseed.xyz/api/v2', | ||
}, | ||
}, | ||
contracts: { | ||
...chainConfig.contracts, | ||
disputeGameFactory: { | ||
[sourceId]: { | ||
address: '0x8b097CF1f9BbD9cbFD0DD561858a1FCbC8857Be0', | ||
blockCreated: 20737481, | ||
}, | ||
}, | ||
l2OutputOracle: { | ||
[sourceId]: { | ||
address: '0x693A0F8854F458D282DE3C5b69E8eE5EEE8aA949', | ||
blockCreated: 20737481, | ||
}, | ||
}, | ||
portal: { | ||
[sourceId]: { | ||
address: '0x2c2150aa5c75A24fB93d4fD2F2a895D618054f07', | ||
blockCreated: 20737481, | ||
}, | ||
}, | ||
l1StandardBridge: { | ||
[sourceId]: { | ||
address: '0x8b0576E39F1233679109F9b40cFcC2a7E0901Ede', | ||
blockCreated: 20737481, | ||
}, | ||
}, | ||
multicall3: { | ||
address: '0xcA11bde05977b3631167028862bE2a173976CA11', | ||
}, | ||
}, | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
import { chainConfig } from '../../op-stack/chainConfig.js' | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
const sourceId = 11155111 // sepolia | ||
|
||
export const superseedSepolia = /*#__PURE__*/ defineChain({ | ||
...chainConfig, | ||
id: 53302, | ||
name: 'Superseed Sepolia', | ||
nativeCurrency: { | ||
name: 'Ether', | ||
symbol: 'ETH', | ||
decimals: 18, | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://sepolia.superseed.xyz'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Superseed Sepolia Explorer', | ||
url: 'https://sepolia-explorer.superseed.xyz', | ||
apiUrl: 'https://sepolia-explorer.superseed.xyz/api/v2', | ||
}, | ||
}, | ||
contracts: { | ||
...chainConfig.contracts, | ||
multicall3: { | ||
address: '0xcA11bde05977b3631167028862bE2a173976CA11', | ||
}, | ||
portal: { | ||
[sourceId]: { | ||
address: '0x7A0db8C51432d2C3eb4e8f360a2EeB26FF2809fB', | ||
blockCreated: 5523438, | ||
}, | ||
}, | ||
l1StandardBridge: { | ||
[sourceId]: { | ||
address: '0x2B227A603fAAdB3De0ED050b63ADD232B5f2c28C', | ||
blockCreated: 5523442, | ||
}, | ||
}, | ||
}, | ||
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