-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🪴 Add Arb-Nova, Mantle and Linea chains (#1114)
* adding chains * Lint --------- Co-authored-by: yivlad <[email protected]>
- Loading branch information
Showing
7 changed files
with
87 additions
and
1 deletion.
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,8 @@ | ||
@@ -0,0 +1,5 @@ | ||
--- | ||
"@usedapp/core": patch | ||
--- | ||
|
||
⛓ Add Linea Testnet to chain ID | ||
⛓ Add Mantle Testnet to chain ID | ||
⛓ Add Arbitrum Nova to chain ID |
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
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
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,23 @@ | ||
import { Chain } from '../../constants' | ||
import { getAddressLink, getTransactionLink } from '../../helpers/chainExplorerLink' | ||
|
||
const lineaExplorerUrl = 'https://explorer.goerli.linea.build' | ||
|
||
export const LineaTestnet: Chain = { | ||
chainId: 59140, | ||
chainName: 'Linea Testnet', | ||
isTestChain: true, | ||
isLocalChain: false, | ||
multicallAddress: '0x9901f3053527a58B8C210B144f53CbeA7b6E23Fb', | ||
rpcUrl: 'https://rpc.goerli.linea.build', | ||
nativeCurrency: { | ||
name: 'Linea Ether', | ||
symbol: 'ETH', | ||
decimals: 18, | ||
}, | ||
blockExplorerUrl: lineaExplorerUrl, | ||
getExplorerAddressLink: getAddressLink(lineaExplorerUrl), | ||
getExplorerTransactionLink: getTransactionLink(lineaExplorerUrl), | ||
} | ||
|
||
export default { LineaTestnet } |
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,24 @@ | ||
import { Chain } from '../../constants' | ||
import { getAddressLink, getTransactionLink } from '../../helpers/chainExplorerLink' | ||
|
||
const mantleExplorerUrl = 'https://explorer.testnet.mantle.xyz' | ||
|
||
export const MantleTestnet: Chain = { | ||
chainId: 5001, | ||
chainName: 'Mantle Testnet', | ||
isTestChain: true, | ||
isLocalChain: false, | ||
multicallAddress: '0x7eeFb76E4D201Eb7157c140F39E2992D53F71da7', | ||
multicall2Address: '0xd875b6E583cba79183be68E0af7cBad053338C95', | ||
rpcUrl: 'https://rpc.testnet.mantle.xyz', | ||
nativeCurrency: { | ||
name: 'Testnet BitDAO', | ||
symbol: 'BIT', | ||
decimals: 18, | ||
}, | ||
blockExplorerUrl: mantleExplorerUrl, | ||
getExplorerAddressLink: getAddressLink(mantleExplorerUrl), | ||
getExplorerTransactionLink: getTransactionLink(mantleExplorerUrl), | ||
} | ||
|
||
export default { MantleTestnet } |
8dad4e5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://example.usedapp.io as production
🚀 Deployed on https://646e616a71d0810fa035b7f1--usedapp-example.netlify.app
8dad4e5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://usedapp.io as production
🚀 Deployed on https://646e616ff621540f8daba904--usedapp-website.netlify.app