-
-
Notifications
You must be signed in to change notification settings - Fork 868
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3354c46
commit 3af06fe
Showing
3 changed files
with
44 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 Funki 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,38 @@ | ||
import { chainConfig } from '../../op-stack/chainConfig.js' | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
const sourceId = 1 // mainnet | ||
|
||
export const funkiMainnet = /*#__PURE__*/ defineChain({ | ||
...chainConfig, | ||
id: 33979, | ||
network: 'funkiMainnet', | ||
name: 'Funki', | ||
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc-mainnet.funkichain.com'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Funki Mainnet Explorer', | ||
url: 'https://funkiscan.io', | ||
}, | ||
}, | ||
contracts: { | ||
...chainConfig.contracts, | ||
l2OutputOracleProxy: { | ||
[sourceId]: { | ||
address: '0x1A9aE6486caEc0504657351ac473B3dF8A1367cb', | ||
}, | ||
}, | ||
l1StandardBridge: { | ||
[sourceId]: { | ||
address: '0x64F1e21412f61e9Ceda3b65FcFC5A4739c7eBBeE', | ||
blockCreated: 20325722, | ||
}, | ||
}, | ||
}, | ||
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