This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: added linea support * feat: add multicall info for linea mainnet * feat: change etherscan explorer urls
- Loading branch information
Showing
4 changed files
with
60 additions
and
3 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 @@ | ||
--- | ||
"@wagmi/chains": patch | ||
--- | ||
|
||
Added Linea support |
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 { Chain } from './types' | ||
|
||
export const linea = { | ||
id: 59_144, | ||
name: 'Linea Mainnet', | ||
network: 'linea-mainnet', | ||
nativeCurrency: { name: 'Linea Ether', symbol: 'ETH', decimals: 18 }, | ||
rpcUrls: { | ||
infura: { | ||
http: ['https://linea-mainnet.infura.io/v3'], | ||
webSocket: ['wss://linea-mainnet.infura.io/ws/v3'], | ||
}, | ||
default: { | ||
http: ['https://rpc.linea.build'], | ||
webSocket: ['wss://rpc.linea.build'], | ||
}, | ||
public: { | ||
http: ['https://rpc.linea.build'], | ||
webSocket: ['wss://rpc.linea.build'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Etherscan', | ||
url: 'https://lineascan.build', | ||
}, | ||
etherscan: { | ||
name: 'Etherscan', | ||
url: 'https://lineascan.build', | ||
}, | ||
blockscout: { | ||
name: 'Blockscout', | ||
url: 'https://explorer.linea.build', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xcA11bde05977b3631167028862bE2a173976CA11', | ||
blockCreated: 42, | ||
}, | ||
}, | ||
testnet: false, | ||
} as const satisfies Chain |
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