diff --git a/components/TokenListTable.tsx b/components/TokenListTable.tsx index 874592eb7..a9b764fb0 100644 --- a/components/TokenListTable.tsx +++ b/components/TokenListTable.tsx @@ -8,6 +8,8 @@ const explorers = { '420': 'https://goerli-optimism.etherscan.io', '11155111': 'https://sepolia.etherscan.io/', '11155420': 'https://sepolia-optimism.etherscan.io/', + '1750' : 'https://explorer.metall2.com/', + '1740' : 'https://testnet.explorer.metall2.com/', } export function TokenListTable({ diff --git a/pages/chain/addresses.mdx b/pages/chain/addresses.mdx index e0142fce3..e990342d0 100644 --- a/pages/chain/addresses.mdx +++ b/pages/chain/addresses.mdx @@ -27,13 +27,13 @@ This page is automatically generated from packages in the [superchain-registry]( -### OP Mainnet (L2) +### Metal L2 (L2) - + -### OP Mainnet Legacy Contracts (L2) +### Metal L2 Legacy Contracts (L2) - + ## Testnet (Sepolia) @@ -41,6 +41,6 @@ This page is automatically generated from packages in the [superchain-registry]( -### OP Sepolia (L2) +### Metal L2 Testnet (L2) - + diff --git a/pages/chain/differences.mdx b/pages/chain/differences.mdx index 784911879..c066bb902 100644 --- a/pages/chain/differences.mdx +++ b/pages/chain/differences.mdx @@ -1,15 +1,15 @@ --- -title: Differences between Ethereum and OP Mainnet +title: Differences between Ethereum and Metal L2 lang: en-US -description: Learn the minor differences between the behavior of OP Mainnet and Ethereum. +description: Learn the minor differences between the behavior of Metal L2 and Ethereum. --- import { Callout } from 'nextra/components' -# Differences between Ethereum and OP Mainnet +# Differences between Ethereum and Metal L2 -OP Mainnet is designed to be [EVM equivalent](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306) and introduces as few changes as possible to the Ethereum protocol. -However, there are some minor differences between the behavior of Ethereum and OP Mainnet that developers should be aware of. +Metal L2 is designed to be [EVM equivalent](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306) and introduces as few changes as possible to the Ethereum protocol. +However, there are some minor differences between the behavior of Ethereum and Metal L2 that developers should be aware of. ## Opcodes @@ -52,15 +52,15 @@ In all other cases, the transaction sender address is set according to the same ### Transaction Fees -Transactions on OP Mainnet must pay for an [L1 data fee](/stack/transactions/fees#the-l1-data-fee) on top of the standard [execution gas fee](/stack/transactions/fees#execution-gas-fee) you would expect on Ethereum. -Refer to the guide on [OP Mainnet Transaction Fees](/stack/transactions/fees) for more information. +Transactions on Metal L2 must pay for an [L1 data fee](/stack/transactions/fees#the-l1-data-fee) on top of the standard [execution gas fee](/stack/transactions/fees#execution-gas-fee) you would expect on Ethereum. +Refer to the guide on [Metal L2 Transaction Fees](/stack/transactions/fees) for more information. ### EIP-1559 Parameters -The base fee on OP Mainnet is, like Ethereum, computed via the [EIP-1559](https://notes.ethereum.org/@vbuterin/eip-1559-faq) mechanism. -The EIP-1559 parameters used by OP Mainnet differ from those used by Ethereum as follows. +The base fee on Metal L2 is, like Ethereum, computed via the [EIP-1559](https://notes.ethereum.org/@vbuterin/eip-1559-faq) mechanism. +The EIP-1559 parameters used by Metal L2 differ from those used by Ethereum as follows. -| Parameter | OP Mainnet value | Ethereum value (for reference) | +| Parameter | Metal L2 value | Ethereum value (for reference) | | ------------------------------------- | ---------------: | -----------------------------: | | Block gas limit | 30,000,000 gas | 30,000,000 gas | | Block gas target | 5,000,000 gas | 15,000,000 gas | @@ -72,6 +72,6 @@ The EIP-1559 parameters used by OP Mainnet differ from those used by Ethereum as ### Mempool Rules -Unlike Ethereum, OP Mainnet does not have a large public mempool. -The OP Mainnet Sequencer mempool is currently only visible to the Sequencer. +Unlike Ethereum, Metal L2 does not have a large public mempool. +The Metal L2 Sequencer mempool is currently only visible to the Sequencer. The Sequencer executes transactions from the mempool in priority fee order (highest fee first). diff --git a/public/img/icons/arrow-left-right.svg b/public/img/icons/arrow-left-right.svg index 5b28e5604..93ae89f26 100644 --- a/public/img/icons/arrow-left-right.svg +++ b/public/img/icons/arrow-left-right.svg @@ -1,3 +1,10 @@ - - + + + + + + + + + diff --git a/public/img/icons/asterisk.svg b/public/img/icons/asterisk.svg index 265ba2966..1fd584502 100644 --- a/public/img/icons/asterisk.svg +++ b/public/img/icons/asterisk.svg @@ -1,3 +1,3 @@ - - + + diff --git a/public/img/icons/book.svg b/public/img/icons/book.svg index 319af9d04..f3adab939 100644 --- a/public/img/icons/book.svg +++ b/public/img/icons/book.svg @@ -1,3 +1,3 @@ - - + + diff --git a/public/img/icons/build.svg b/public/img/icons/build.svg index 8eb42f3be..e47d748e0 100644 --- a/public/img/icons/build.svg +++ b/public/img/icons/build.svg @@ -1,3 +1,10 @@ + + + + + + + diff --git a/public/img/icons/computer-line.svg b/public/img/icons/computer-line.svg index aa5e84778..bdb34cf23 100644 --- a/public/img/icons/computer-line.svg +++ b/public/img/icons/computer-line.svg @@ -1 +1,3 @@ - \ No newline at end of file + + + diff --git a/public/img/icons/file-edit-line.svg b/public/img/icons/file-edit-line.svg index bc5a8705d..8458db442 100644 --- a/public/img/icons/file-edit-line.svg +++ b/public/img/icons/file-edit-line.svg @@ -1 +1,3 @@ - \ No newline at end of file + + + diff --git a/public/img/icons/gear.svg b/public/img/icons/gear.svg index 11017ea1b..e8a586a93 100644 --- a/public/img/icons/gear.svg +++ b/public/img/icons/gear.svg @@ -1,3 +1,10 @@ - - + + + + + + + + + diff --git a/public/img/icons/government-line.svg b/public/img/icons/government-line.svg index 445ba0b23..7af06fcb1 100644 --- a/public/img/icons/government-line.svg +++ b/public/img/icons/government-line.svg @@ -1 +1,3 @@ - \ No newline at end of file + + + diff --git a/public/img/icons/instance-line.svg b/public/img/icons/instance-line.svg index 6e6fe254a..afd77ae80 100644 --- a/public/img/icons/instance-line.svg +++ b/public/img/icons/instance-line.svg @@ -1 +1,3 @@ - \ No newline at end of file + + + diff --git a/public/img/icons/link.svg b/public/img/icons/link.svg index d7a335f66..8c4ac3e78 100644 --- a/public/img/icons/link.svg +++ b/public/img/icons/link.svg @@ -1,3 +1,10 @@ + + + + + + + diff --git a/public/img/icons/news-line.svg b/public/img/icons/news-line.svg index 25d50f800..7a0d35b6b 100644 --- a/public/img/icons/news-line.svg +++ b/public/img/icons/news-line.svg @@ -1 +1,3 @@ - \ No newline at end of file + + + diff --git a/public/img/icons/person.svg b/public/img/icons/person.svg index a8f8735cb..4c3cf502d 100644 --- a/public/img/icons/person.svg +++ b/public/img/icons/person.svg @@ -1,3 +1,10 @@ + + + + + + + diff --git a/public/img/icons/question-answer-line.svg b/public/img/icons/question-answer-line.svg index 962011f72..8c4ad1007 100644 --- a/public/img/icons/question-answer-line.svg +++ b/public/img/icons/question-answer-line.svg @@ -1 +1,3 @@ - + + + diff --git a/public/img/icons/rocket-2-line.svg b/public/img/icons/rocket-2-line.svg index 98cd668e1..05374a543 100644 --- a/public/img/icons/rocket-2-line.svg +++ b/public/img/icons/rocket-2-line.svg @@ -1 +1,3 @@ - \ No newline at end of file + + + diff --git a/public/img/icons/shapes.svg b/public/img/icons/shapes.svg index c0167e2ea..515edcf3b 100644 --- a/public/img/icons/shapes.svg +++ b/public/img/icons/shapes.svg @@ -1,3 +1,10 @@ + + + + + + + diff --git a/public/img/icons/stack-line.svg b/public/img/icons/stack-line.svg index 712f04f6a..cacd6e073 100644 --- a/public/img/icons/stack-line.svg +++ b/public/img/icons/stack-line.svg @@ -1 +1,3 @@ - \ No newline at end of file + + + diff --git a/public/img/icons/stack.svg b/public/img/icons/stack.svg index 2e7eb49e6..195121999 100644 --- a/public/img/icons/stack.svg +++ b/public/img/icons/stack.svg @@ -1,3 +1,10 @@ + + + + + + + diff --git a/public/img/icons/terminal-window-line.svg b/public/img/icons/terminal-window-line.svg index e56c05668..153be36db 100644 --- a/public/img/icons/terminal-window-line.svg +++ b/public/img/icons/terminal-window-line.svg @@ -1 +1,3 @@ - \ No newline at end of file + + + diff --git a/public/img/icons/tools.svg b/public/img/icons/tools.svg index bec111a13..3a5a7f1f1 100644 --- a/public/img/icons/tools.svg +++ b/public/img/icons/tools.svg @@ -1,3 +1,3 @@ - - + + diff --git a/public/img/icons/wallet.svg b/public/img/icons/wallet.svg index 4c5afab75..4888a93cd 100644 --- a/public/img/icons/wallet.svg +++ b/public/img/icons/wallet.svg @@ -1,3 +1,10 @@ - - \ No newline at end of file + + + + + + + + + diff --git a/theme.config.tsx b/theme.config.tsx index 7c4341e51..8fb98156a 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -90,7 +90,7 @@ const config: DocsThemeConfig = { const { asPath } = useRouter() if (asPath !== '/') { return { - titleTemplate: '%s | Optimism Docs' + titleTemplate: '%s | Metal L2 Docs' } } }, diff --git a/utils/constants.ts b/utils/constants.ts index 40165a5dc..4d1bfc86e 100644 --- a/utils/constants.ts +++ b/utils/constants.ts @@ -49,4 +49,10 @@ export const CHAIN_CONSTANTS = { 11155420: { explorer: 'https://sepolia-optimism.etherscan.io', }, + 1750: { + explorer: 'https://explorer.metall2.com', + }, + 1740: { + explorer: 'https://testnet.explorer.metall2.com', + }, }