From b65d34dac6e7bb07f134de08387c5fb547bdd8c3 Mon Sep 17 00:00:00 2001 From: paulgnz Date: Mon, 22 Jul 2024 16:25:21 -0700 Subject: [PATCH 01/11] metal updates --- pages/_meta.json | 20 +++---- pages/builders/app-developers/overview.mdx | 40 +++++++------- pages/chain/_meta.json | 4 +- pages/chain/getting-started.mdx | 28 +++++----- pages/connect/contribute/style-guide.mdx | 2 +- pages/index.mdx | 30 +++++----- pages/stack/_meta.json | 2 +- .../protocol/fault-proofs/challenger.mdx | 2 +- public/img/icons/500-page.svg | 2 +- public/img/icons/arrow-left-right.svg | 2 +- public/img/icons/asterisk.svg | 2 +- public/img/icons/book.svg | 2 +- public/img/icons/build.svg | 2 +- public/img/icons/favicon.ico | Bin 15406 -> 15406 bytes public/img/icons/gear.svg | 2 +- public/img/icons/link.svg | 2 +- public/img/icons/person.svg | 2 +- public/img/icons/shapes.svg | 2 +- public/img/icons/stack.svg | 2 +- public/img/icons/tools.svg | 2 +- .../op-stack/protocol/transaction-flow.svg | 2 +- .../op-stack/protocol/tx-overall-process.svg | 2 +- public/logos/logo-docs-dark.svg | 2 +- public/logos/logo-docs-light.svg | 2 +- public/logos/metal-logo-docs-dark.svg | 33 +++++++++++ public/logos/metal-logo-docs-light.svg | 33 +++++++++++ styles/colors.css | 2 +- styles/global.css | 2 +- styles/theme.css | 8 ++- theme.config.tsx | 52 ++++++++++++++---- 30 files changed, 197 insertions(+), 91 deletions(-) create mode 100644 public/logos/metal-logo-docs-dark.svg create mode 100644 public/logos/metal-logo-docs-light.svg diff --git a/pages/_meta.json b/pages/_meta.json index 647eda8a5..76d49465e 100644 --- a/pages/_meta.json +++ b/pages/_meta.json @@ -43,16 +43,16 @@ "href": "https://app.optimism.io/faucet?utm_source=docs", "newWindow": true }, - "gas": { - "title": "Gas Tracker", + "bridge": { + "title": "Bridge", "type": "page", - "href": "https://optimistic.grafana.net/public-dashboards/c84a5a9924fe4e14b270a42a8651ceb8?orgId=1&refresh=5m", + "href": "https://bridge.metall2.com/", "newWindow": true }, - "status": { - "title": "Status", + "explorer": { + "title": "Explorer", "type": "page", - "href": "https://status.optimism.io/", + "href": "https://explorer.metall2.com/", "newWindow": true }, @@ -65,16 +65,16 @@ "display": "children" }, - "+++ OP MAINNET": { + "+++ METAL L2 MAINNET": { "title": "", "type": "separator" }, - "--- OP MAINNET": { - "title": "OP MAINNET", + "--- METAL L2 MAINNET": { + "title": "METAL L2 MAINNET", "type": "separator" }, "chain": { - "title": "OP Mainnet", + "title": "METAL L2 Mainnet", "display": "children" }, diff --git a/pages/builders/app-developers/overview.mdx b/pages/builders/app-developers/overview.mdx index b42ed8018..afa96dcaf 100644 --- a/pages/builders/app-developers/overview.mdx +++ b/pages/builders/app-developers/overview.mdx @@ -1,45 +1,45 @@ --- title: App Developer Overview lang: en-US -description: Learn about deploying contracts, cross-chain messaging, and tutorials to help you build applications on OP Mainnet. +description: Learn about deploying contracts, cross-chain messaging, and tutorials to help you build applications on Metal L2. --- import { Cards, Card } from 'nextra/components' # App Developer Overview -If you're a developer looking to build on OP Mainnet, you've come to the right place. -In this area of the Optimism Docs you'll find everything you need to know about building OP Mainnet applications. +If you're a developer looking to build on Metal L2, you've come to the right place. +In this area of the Metal L2 Docs you'll find everything you need to know about building Metal L2 applications for deployment on the Superchains Banking Layer, Metal L2. ## Getting Started -If you're brand new to OP Mainnet, try starting with the guide on [deploying a basic contract](/chain/getting-started). +If you're brand new to Metal L2, try starting with the guide on [deploying a basic contract](/chain/getting-started). It'll get you familiar with the basic steps required to get a contract deployed to the network. -OP Mainnet is [EVM equivalent](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306) so you can feel confident that your existing Ethereum smart contract skills will carry over to OP Mainnet. -Just make sure to be aware of the few small [differences between Ethereum and OP Mainnet](/chain/differences). +Metal L2 is [EVM equivalent](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306) so you can feel confident that your existing Ethereum smart contract skills will carry over to Metal L2. +Just make sure to be aware of the few small [differences between Ethereum and Metal L2](/chain/differences). -You might also want to check out the [testing on OP Networks guide](/chain/testing/testing-apps) and the tutorial on [running a local development environment](/chain/testing/dev-node) to help you feel totally confident in your OP Mainnet deployment. +You might also want to check out the [testing on Metal L2 guide](/chain/testing/testing-apps) and the tutorial on [running a local development environment](/chain/testing/dev-node) to help you feel totally confident in your Metal L2 deployment. - } /> + } /> - } /> + } /> - } /> + } /> ## Bridging and Messaging -Looking to build an application that sends ETH, tokens, or data between OP Mainnet and Ethereum? +Looking to build an application that sends ETH, tokens, or data between Metal L2 and Ethereum? You'll find some useful guides and tutorials in this area of the docs. -For instance, if you want to learn how to bridge a token from Ethereum to OP Mainnet (or vice versa!), you should check out the [Standard Token Bridge](bridging/standard-bridge). +For instance, if you want to learn how to bridge a token from Ethereum to Metal L2 (or vice versa!), you should check out the [Standard Token Bridge](bridging/standard-bridge). If you're looking for something more advanced, take a look at the guide on [sending data between L1 and L2](bridging/messaging). Contracts on one chain can trigger contract functions on the other chain, it's pretty cool! -The Standard Token Bridge for OP Mainnet even uses this same message-passing infrastructure under the hood. +The Standard Token Bridge for Metal L2 even uses this same message-passing infrastructure under the hood. - } /> + } /> } /> @@ -48,21 +48,21 @@ The Standard Token Bridge for OP Mainnet even uses this same message-passing inf ## Tutorials -If you're a bit more familiar with OP Mainnet and Ethereum, you can try walking through one of the tutorials put together by the Optimism community. +If you're a bit more familiar with Metal L2 and Ethereum, you can try walking through one of the tutorials put together by the Optimism community. They'll help you get a head start when building your first Optimistic project. | Tutorial Name | Description | Difficulty Level | | --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | -| [Deploying Your First Contract on OP Mainnet](tutorials/first-contract) | Learn how to deploy your first contract to OP Mainnet with Remix and MetaMask. | 🟢 Easy | +| [Deploying Your First Contract on Metal L2](tutorials/first-contract) | Learn how to deploy your first contract to Metal L2 with Remix and MetaMask. | 🟢 Easy | | [Deploying Your Contracts for Free on the Superchain](tutorials/deploy-for-free) | Learn how to deploy your contracts for free on the Superchain using the Superchain Developer Console | 🟢 Easy | -| [Bridging ETH With the Optimism SDK](tutorials/cross-dom-bridge-eth) | Learn how to use the Optimism SDK to transfer ETH between Layer 1 (Ethereum or Sepolia) and Layer 2 (OP Mainnet or OP Sepolia). | 🟢 Easy | -| [Bridging ERC-20 Tokens With the Optimism SDK](tutorials/cross-dom-bridge-erc20) | Learn how to use the Optimism SDK to transfer ERC-20 tokens between Layer 1 (Ethereum or Sepolia) and Layer 2 (OP Mainnet or OP Sepolia). | 🟢 Easy | +| [Bridging ETH With the Optimism SDK](tutorials/cross-dom-bridge-eth) | Learn how to use the Optimism SDK to transfer ETH between Layer 1 (Ethereum or Sepolia) and Layer 2 (Metal L2 or Metal L2 Testnet). | 🟢 Easy | +| [Bridging ERC-20 Tokens With the Optimism SDK](tutorials/cross-dom-bridge-erc20) | Learn how to use the Optimism SDK to transfer ERC-20 tokens between Layer 1 (Ethereum or Sepolia) and Layer 2 (Metal L2 or Metal L2 Testnet). | 🟢 Easy | | [Bridging your Standard ERC-20 token using the Standard Bridge](tutorials/standard-bridge-standard-token) | Learn how to bridge your standard ERC-20 token to layer 2 using the standard bridge. | 🟡 Medium | | [Bridging your Custom ERC-20 token using the Standard Bridge](tutorials/standard-bridge-custom-token) | Learn how to bridge your custom ERC-20 token to layer 2 using the standard bridge. | 🟡 Medium | | [Tracing Deposits and Withdrawals With the Optimism SDK](tutorials/sdk-trace-txns) | Learn how to use the Optimism SDK to trace deposits and withdrawals. | 🟢 Easy | | [Viewing Deposits and Withdrawals by Address With the Optimism SDK](tutorials/sdk-view-txns) | Learn how to use the Optimism SDK to view deposits and withdrawals by address. | 🟢 Easy | -| [Estimating Transaction Costs With the Optimism SDK](tutorials/sdk-view-txns) | Learn how to use the Optimism SDK to estimate the cost of a transaction on OP Mainnet. | 🟢 Easy | -| [Sending OP Mainnet Transactions from Ethereum](tutorials/send-tx-from-eth) | Learn how to send transactions to OP Mainnet from Ethereum. | 🟢 Easy | +| [Estimating Transaction Costs With the Optimism SDK](tutorials/sdk-view-txns) | Learn how to use the Optimism SDK to estimate the cost of a transaction on Metal L2. | 🟢 Easy | +| [Sending Metal L2 Transactions from Ethereum](tutorials/send-tx-from-eth) | Learn how to send transactions to Metal L2 from Ethereum. | 🟢 Easy | You can also [suggest a new tutorial](https://github.com/ethereum-optimism/docs/issues/new?assignees=\&labels=tutorial%2Cdocumentation%2Ccommunity-request\&projects=\&template=suggest_tutorial.yaml\&title=%5BTUTORIAL%5D+Add+PR+title) if you have something specific in mind. We'd love to grow this list! diff --git a/pages/chain/_meta.json b/pages/chain/_meta.json index 120d2dc16..443084db6 100644 --- a/pages/chain/_meta.json +++ b/pages/chain/_meta.json @@ -1,6 +1,6 @@ { - "getting-started": "Getting Started: OP Mainnet", - "differences": "Differences Between Ethereum and OP Mainnet", + "getting-started": "Getting Started: Metal L2", + "differences": "Differences Between Ethereum and Metal L2", "networks": "Networks and RPC Endpoints", "addresses": "Contract Addresses", "tokenlist": "Bridged Token Addresses", diff --git a/pages/chain/getting-started.mdx b/pages/chain/getting-started.mdx index 1c3958856..6b88ea67f 100644 --- a/pages/chain/getting-started.mdx +++ b/pages/chain/getting-started.mdx @@ -1,36 +1,36 @@ --- -title: Getting Started Developing for OP Mainnet +title: Getting Started Developing for Metal L2 lang: en-US -description: Learn the basics of OP Mainnet development. +description: Learn the basics of Metal L2 development. --- import { Steps } from 'nextra/components' -# Getting Started Developing for OP Mainnet +# Getting Started Developing for Metal L2 -This guide explains the basics of OP Mainnet development. -OP Mainnet is [EVM equivalent](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306), meaning we run a slightly modified version of the same `geth` you run on mainnet. -Therefore, the differences between OP Mainnet development and Ethereum development are minor. +This guide explains the basics of Metal L2 development. +Metal L2 is [EVM equivalent](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306), meaning we run a slightly modified version of the same `geth` you run on mainnet. +Therefore, the differences between Metal L2 development and Ethereum development are minor. But a few differences [do exist](/chain/differences). -## OP Mainnet and OP Sepolia Endpoint URLs +## Metal L2 and Metal L2 Testnet Endpoint URLs To access any Ethereum type network you need an endpoint. [These providers](/builders/tools/connect/rpc-providers) support our networks. ### Network Choice -For development purposes we recommend you use either a local development node or [OP Sepolia](https://sepolia-optimism.etherscan.io). +For development purposes we recommend you use either a local development node or [Metal L2 Testnet](https://testnet.explorer.metall2.com/). That way you don't need to spend real money. -If you need ETH on OP Sepolia for testing purposes, [you can use this faucet](https://app.optimism.io/faucet?utm_source=docs). +If you need ETH on Metal L2 Testnet for testing purposes, [you can use this faucet](https://app.optimism.io/faucet?utm_source=docs). -## Interacting with Contracts on OP Mainnet or OP Sepolia +## Interacting with Contracts on Metal L2 or Metal L2 Testnet -We have Hardhat's Greeter contract on OP Sepolia at address [0x9d334aFBa83865E67a9219830ADA57aaA9406681](https://sepolia-optimism.etherscan.io/address/0x9d334aFBa83865E67a9219830ADA57aaA9406681#code). +We have Hardhat's Greeter contract on Metal L2 Testnet at address [0xacc0cAB1F524F34012fb766f582e3AB2049f2bC5](https://testnet.explorer.metall2.com/address/0xacc0cAB1F524F34012fb766f582e3AB2049f2bC5#code). You can verify your development stack configuration by interacting with it. ## Development Stacks -As you can see in the different development stacks below, the way you deploy contracts and interact with them on OP Mainnet or OP Sepolia is almost identical to the way you do it with L1 Ethereum. +As you can see in the different development stacks below, the way you deploy contracts and interact with them on Metal L2 or Metal L2 Testnet is almost identical to the way you do it with L1 Ethereum. The most visible difference is that you have to specify a different endpoint (of course). The list of other differences is [here](differences). @@ -52,7 +52,7 @@ Not only is it faster, but such EVMs often have extra features, such as the [abi ### Debug Before Deploying After you are done with that development, debug your decentralized application using either a [development node](/chain/testing/dev-node) or the [Sepolia test network](/chain/networks). -This lets you debug parts that are OP Mainnet specific such as calls to bridges to transfer ETH or tokens between layers. +This lets you debug parts that are Metal L2 specific such as calls to bridges to transfer ETH or tokens between layers. Only when you have a version that works well on a test network should you deploy to the production network, where every transaction has a cost. @@ -62,4 +62,4 @@ You don't have to upload your source code to [block explorers](/builders/tools/b On the test network, it lets you issue queries and transactions from the explorer's user interface. On the production network, it lets users know exactly what your contract does, which is conducive to trust. -Just remember, if you use [the Etherscan API](https://explorer.optimism.io/apis), you need one API key for OP Mainnet and a separate one for OP Sepolia. +You can find the explorer API for testnet here: https://testnet.explorer.metall2.com/api-docs diff --git a/pages/connect/contribute/style-guide.mdx b/pages/connect/contribute/style-guide.mdx index c9c38067b..f86efd8c1 100644 --- a/pages/connect/contribute/style-guide.mdx +++ b/pages/connect/contribute/style-guide.mdx @@ -256,7 +256,7 @@ import Image from 'next/image' /> ``` -* Icons come from [Remix](https://remixicon.com/) to maintain consistency across the docs. Use Optimism Red `FF0420` to color icons before downloading and store icons in `public/img/icons` directory. +* Icons come from [Remix](https://remixicon.com/) to maintain consistency across the docs. Use Metal L2 Yellow `FF0420` to color icons before downloading and store icons in `public/img/icons` directory. ### Videos diff --git a/pages/index.mdx b/pages/index.mdx index 3d15e72b9..3334103e7 100644 --- a/pages/index.mdx +++ b/pages/index.mdx @@ -1,25 +1,24 @@ --- -title: Welcome to the Optimism Docs +title: Welcome to the Metal L2 Docs lang: en-US -description: Learn about the Optimism Collective, the Optimism Docs, and how to get started building with Optimism. +description: Learn about the Metal DAO, the Metal L2 Docs, and how to get started building with Metal L2. --- import { Cards, Card } from 'nextra/components' -# Welcome to the Optimism Docs +# Welcome to the Metal L2 Docs -Welcome to the Optimism Docs, the unified home of the [Optimism Collective's](/connect/resources/glossary#optimism-collective) technical documentation and information about the [OP Stack](/stack/getting-started). -Information about the Optimism Collective's governance, community, and mission can be found on the [Optimism Community Hub](https://community.optimism.io/docs/governance/). +Welcome to Metal L2 Docs, the unified home of [Metal L2's](/connect/resources/glossary#metal-l2) technical documentation and information about the [OP Stack](/stack/getting-started) that Metal L2 is built on. + +Information about Metal DAO's governance, community, and mission can be found on the [Metal L2 Website](https://metall2.com). ## Guides for Builders -Whether you're a developer building a app on OP Mainnet, a node operator running an OP Mainnet node, or a chain operator launching your own OP Stack chain, you'll find everything you need to get started right here. +Whether you're a developer building a app on Metal L2 or a node operator running a Metal L2 node you'll find everything you need to get started right here. } /> - } /> - } /> } /> @@ -29,7 +28,7 @@ Whether you're a developer building a app on OP Mainnet, a node operator running ## Featured Tools -Check out these amazing tools, so you can get building with Optimism. +Check out these amazing tools, so you can get building with Metal L2. } /> @@ -41,15 +40,18 @@ Check out these amazing tools, so you can get building with Optimism. } /> -## Learn About Optimism +## Learn About Metal L2 + +Metal L2 is an [EVM equivalent](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306) Layer 2 blockchain connected to Ethereum built on the Superchain using the OP Stack. + +The OP Stack is the standardized, shared, and open-source development stack for the Superchain that makes it easy for production-ready Layer 2 blockchains just like Metal L2 to benefit from shared security, scalability, interoperability, ecosystem support and economic efficiency. -OP Mainnet is an [EVM equivalent](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306) Layer 2 blockchain connected to Ethereum. -The OP Stack is the standardized, shared, and open-source development stack that makes it easy to spin up your own production-ready Layer 2 blockchain just like OP Mainnet. The Superchain is a network of OP Stack chains that share a bridging protocol, governance system, and more. -We've got you covered with these detailed guides to help you learn all about Optimism's tech stack. + +These documents should have you covered with detailed guides to help you learn all about Metal L2's tech stack. - } /> + } /> } /> diff --git a/pages/stack/_meta.json b/pages/stack/_meta.json index 98eefb94c..b4de87ce1 100644 --- a/pages/stack/_meta.json +++ b/pages/stack/_meta.json @@ -1,5 +1,5 @@ { - "getting-started": "Getting Started: OP Stack", + "getting-started": "About: OP Stack", "differences": "Differences Between Ethereum and OP Stack Chains", "components": "OP Stack Components", "explainer": "Superchain Explainer", diff --git a/pages/stack/protocol/fault-proofs/challenger.mdx b/pages/stack/protocol/fault-proofs/challenger.mdx index 3f23d83f3..540d7b579 100644 --- a/pages/stack/protocol/fault-proofs/challenger.mdx +++ b/pages/stack/protocol/fault-proofs/challenger.mdx @@ -31,7 +31,7 @@ graph TD; OPP -->|Resolves Claims| DG DG -->|Claims Paid| Bonds[Bonds for Challenger and Proposer] - classDef default fill:#00,stroke:#FF0420,stroke-width:2px; + classDef default fill:#00,stroke:#FC9237,stroke-width:2px; ``` diff --git a/public/img/icons/500-page.svg b/public/img/icons/500-page.svg index c4d5a70ae..db313120f 100644 --- a/public/img/icons/500-page.svg +++ b/public/img/icons/500-page.svg @@ -1,4 +1,4 @@ - + diff --git a/public/img/icons/arrow-left-right.svg b/public/img/icons/arrow-left-right.svg index 855c0cfde..5b28e5604 100644 --- a/public/img/icons/arrow-left-right.svg +++ b/public/img/icons/arrow-left-right.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/icons/asterisk.svg b/public/img/icons/asterisk.svg index 23ddf52f3..265ba2966 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 0f528f646..319af9d04 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 ecee209ec..8eb42f3be 100644 --- a/public/img/icons/build.svg +++ b/public/img/icons/build.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/icons/favicon.ico b/public/img/icons/favicon.ico index 7abd812e5c9ddb92b0a692e0d8f93de1c5bbcf69..cfce4d51d019115672190256dd1a2d20dc46b9ed 100644 GIT binary patch literal 15406 zcmeHN33Qaz6&?_!SS%>+7Q!MFs?;DZ=g84e6;Y#9u%#e^`w=`Y!J=5L97BPaK!}pi zKoTc{2@r^32Zc1jXhK62B3m|+$-*RrtdqjXa3nTlT1iC^`3Lj|F(PY z_rG`l_wIY|S19@^u22jes-Wjc#lis!#eE8eV&urq{P=4X3MG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)vao&sw4exkF7IFuJ2t2JoUJZp&rJ^!Z|~-gRsj6 zv1OO77tgnIjpA~_mvhIqP>-)ur@DT6gMD}T*KD0m_~(5-+yBh*z<>OBk&RSOPJ+c? zw=s}toNA-0*~v##w?1)HmhaS$0dKu&ePr=P_WA5jalT@mPtV)Gp6x4JKDEip`n$Ej z2?08>}?ATe!X{7KDE+ z_52t5x-Qjs_v~UUblKX!Vp-oSo;x+U4&7NQc_cZz9FR@EE?uhjt6KD94+EokV5(*Z!<)4iVJU_;`n{>&UFyd}qJ3J} z2NM1kFV*io@r*UrHnAGv5y=e+kzmayh5>OSy;gC*p6X9HoB0(Wd+{oX@0(wh*Pr h?`Jmp-^#eNC40u<_S!nLtn&9Wg(Q0a-Fr&|?*aktr)mHI diff --git a/public/img/icons/gear.svg b/public/img/icons/gear.svg index 785011111..11017ea1b 100644 --- a/public/img/icons/gear.svg +++ b/public/img/icons/gear.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/icons/link.svg b/public/img/icons/link.svg index aee73d0ae..d7a335f66 100644 --- a/public/img/icons/link.svg +++ b/public/img/icons/link.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/icons/person.svg b/public/img/icons/person.svg index 43b61f3b2..a8f8735cb 100644 --- a/public/img/icons/person.svg +++ b/public/img/icons/person.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/icons/shapes.svg b/public/img/icons/shapes.svg index 0c877815c..c0167e2ea 100644 --- a/public/img/icons/shapes.svg +++ b/public/img/icons/shapes.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/icons/stack.svg b/public/img/icons/stack.svg index 7d8464feb..2e7eb49e6 100644 --- a/public/img/icons/stack.svg +++ b/public/img/icons/stack.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/icons/tools.svg b/public/img/icons/tools.svg index 4bd4bcd87..bec111a13 100644 --- a/public/img/icons/tools.svg +++ b/public/img/icons/tools.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/op-stack/protocol/transaction-flow.svg b/public/img/op-stack/protocol/transaction-flow.svg index df18cac0a..8a2d4410b 100644 --- a/public/img/op-stack/protocol/transaction-flow.svg +++ b/public/img/op-stack/protocol/transaction-flow.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/public/img/op-stack/protocol/tx-overall-process.svg b/public/img/op-stack/protocol/tx-overall-process.svg index df18cac0a..8a2d4410b 100644 --- a/public/img/op-stack/protocol/tx-overall-process.svg +++ b/public/img/op-stack/protocol/tx-overall-process.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/public/logos/logo-docs-dark.svg b/public/logos/logo-docs-dark.svg index 6f96aae8e..521726786 100644 --- a/public/logos/logo-docs-dark.svg +++ b/public/logos/logo-docs-dark.svg @@ -1,4 +1,4 @@ - + diff --git a/public/logos/logo-docs-light.svg b/public/logos/logo-docs-light.svg index 63ab1156f..4d2432713 100644 --- a/public/logos/logo-docs-light.svg +++ b/public/logos/logo-docs-light.svg @@ -1,4 +1,4 @@ - + diff --git a/public/logos/metal-logo-docs-dark.svg b/public/logos/metal-logo-docs-dark.svg new file mode 100644 index 000000000..c3de09398 --- /dev/null +++ b/public/logos/metal-logo-docs-dark.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/logos/metal-logo-docs-light.svg b/public/logos/metal-logo-docs-light.svg new file mode 100644 index 000000000..d8739e003 --- /dev/null +++ b/public/logos/metal-logo-docs-light.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/styles/colors.css b/styles/colors.css index d3edc18d2..0f171c9f5 100644 --- a/styles/colors.css +++ b/styles/colors.css @@ -106,7 +106,7 @@ --op-red-200: #FFD1D5; --op-red-300: #FF99A1; --op-red-400: #FF5C6C; - --op-red-500: #FF0420; + --op-red-500: #FC9237; --op-red-600: #B80018; --op-red-700: #700013; --op-red-800: #330009; diff --git a/styles/global.css b/styles/global.css index 498779c39..00206fcc6 100644 --- a/styles/global.css +++ b/styles/global.css @@ -64,7 +64,7 @@ div.custom-callouts { border-radius: 4px; } a.callout-link { - color: #006be6; + color: #FC9237; text-decoration: underline; } diff --git a/styles/theme.css b/styles/theme.css index c82741b6f..7e8861d1c 100644 --- a/styles/theme.css +++ b/styles/theme.css @@ -127,6 +127,11 @@ nav a span { /* Links */ a.nx-underline { text-decoration: none; + color:#FC9237; +} + +a.nx-underline:hover { + text-decoration: underline; } @@ -243,7 +248,7 @@ pre { /* in-content external links */ .nextra-content a[target="_blank"]:after { - content: url('data:image/svg+xml,'); + content: url('data:image/svg+xml,'); padding-left: 5px; margin-right: 2px; } @@ -313,3 +318,4 @@ table tr { :is(html[class~=dark]) .nextra-toc .divider { border-top: 1px solid var(--op-neutral-700); } + diff --git a/theme.config.tsx b/theme.config.tsx index 4f6b263e7..323a0f5f7 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -8,19 +8,51 @@ import "@feelback/react/styles/feelback.css" const config: DocsThemeConfig = { logo: ( <> - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ), darkMode: true, project: { - link: 'https://github.com/ethereum-optimism/docs', + link: 'https://github.com/MetalPay/metal-l2-docs', }, - docsRepositoryBase: 'https://github.com/ethereum-optimism/docs/blob/main/', + docsRepositoryBase: 'https://github.com/MetalPay/metal-l2-docs/docs/blob/main/', footer: { - text: 'OP Documentation', + text: 'Metal L2 Documentation', }, sidebar: { defaultMenuCollapseLevel: 1, @@ -66,16 +98,16 @@ const config: DocsThemeConfig = { const { asPath, defaultLocale, locale } = useRouter() const { frontMatter } = useConfig() const url = - 'https://docs.optimism.io' + + 'https://docs.metall2.com' + (defaultLocale === locale ? asPath : `/${locale}${asPath}`) return ( <> - + From bc03920192aba75965d7070c782657d803987e82 Mon Sep 17 00:00:00 2001 From: paulgnz Date: Mon, 22 Jul 2024 16:28:52 -0700 Subject: [PATCH 02/11] update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 62aeb0d12..564796b3a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Optimism Docs +# Metal L2 Docs -This repo houses the Optimism Docs located at [docs.optimism.io](https://docs.optimism.io/). All documentation-related updates and new content will be tracked and maintained in this repo. +This repo houses the Metal L2 Docs forked from Optimism located at [docs.optimism.io](https://docs.optimism.io/). All documentation-related updates and new content will be tracked and maintained in this repo. ## Local Development From e3bedbb834059f716bf426a719da0c59c4c7c8e0 Mon Sep 17 00:00:00 2001 From: paulgnz Date: Mon, 22 Jul 2024 18:08:39 -0700 Subject: [PATCH 03/11] rpc endpoints --- pages/chain/networks.mdx | 48 +++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/pages/chain/networks.mdx b/pages/chain/networks.mdx index 3fc2c7369..adc79db18 100644 --- a/pages/chain/networks.mdx +++ b/pages/chain/networks.mdx @@ -1,48 +1,46 @@ --- -title: OP Networks and Public RPC Endpoints +title: Metal L2 Networks and Public RPC Endpoints lang: en-US -description: Learn about the different OP networks and public RPC endpoints. +description: Learn about the different Metal L2 Networks and public RPC endpoints. --- import { Callout } from 'nextra/components' -# OP Networks and Public RPC Endpoints +# Metal L2 Networks and Public RPC Endpoints -This reference guide provides a listing of the different OP networks and public RPC endpoints. +This reference guide provides a listing of the different Metal L2 Networks and public RPC endpoints. The public RPC URLs provided below are rate limited and do not support websocket connections. If you are experiencing rate limiting issues or need websocket functionality, consider [running your own node](/builders/node-operators/rollup-node) or signing up for a [third-party RPC provider](/builders/tools/connect/rpc-providers). -## OP Mainnet +## Metal L2 Mainnet | Parameter | Value | | --------------------------- | ---------------------------------------------------------------------------------------- | -| Network Name | `OP Mainnet` | -| Chain ID | `10` | +| Network Name | `Metal L2` | +| Chain ID | `1750` | | Currency Symbol1 | ETH | -| Explorer | [https://optimistic.etherscan.io](https://optimistic.etherscan.io) | -| Public RPC URL | [https://mainnet.optimism.io](https://mainnet.optimism.io) | -| Sequencer URL2 | [https://mainnet-sequencer.optimism.io](https://mainnet-sequencer.optimism.io) | +| Explorer | [https://explorer.metall2.com](https://explorer.metall2.com) | +| Public RPC URL | [https://rpc.metall2.com](https://rpc.metall2.com) | +| Sequencer URL2 | [https://mainnet-sequencer.metall2.com/](https://mainnet-sequencer.metall2.com/) | | Contract Addresses | Refer to the [Contract Addresses page](/chain/addresses#mainnet) | -| Connect Wallet | [Click here to connect your wallet to OP Mainnet](https://chainid.link?network=optimism) | +| Connect Wallet | [Click here to connect your wallet to Metal L2 Mainnet](https://metall2.com) | -1. The "currency symbol" is required by some wallets like MetaMask. -2. The sequencer URL is write only. +## Metal L2 Testnet -## OP Sepolia - -| Parameter | Value | -| --------------------------- | ------------------------------------------------------------------------------------------ | -| Network Name | `OP Sepolia` | -| Chain ID | `11155420` | -| Currency Symbol1 | ETH | -| Explorer | [https://sepolia-optimistic.etherscan.io](https://sepolia-optimistic.etherscan.io) | -| Public RPC URL | [https://sepolia.optimism.io](https://sepolia.optimism.io) | -| Sequencer URL2 | [https://sepolia-sequencer.optimism.io](https://sepolia-sequencer.optimism.io) | -| Contract Addresses | Refer to the [Contract Addresses page](/chain/addresses#testnet-sepolia) | -| Connect Wallet | [Click here to connect your wallet to OP Sepolia](https://chainid.link?network=op-sepolia) | +| Parameter | Value | +| --------------------------- | ---------------------------------------------------------------------------------------- | +| Network Name | `Metal L2 Testnet` | +| Chain ID | `1740` | +| Currency Symbol1 | ETH | +| Explorer | [https://testnet.explorer.metall2.com/](https://testnet.explorer.metall2.com/) | +| Public RPC URL | [https://testnet.rpc.metall2.com/](https://testnet.rpc.metall2.com/) | +| Sequencer URL2 | [https://testnet-sequencer.metall2.com/](https://testnet-sequencer.metall2.com/) | +| Contract Addresses | Refer to the [Contract Addresses page](/chain/addresses#mainnet) | +| Connect Wallet | [Click here to connect your wallet to Metal L2 Testnet](https://chainid.link?network=optimism) | 1. The "currency symbol" is required by some wallets like MetaMask. 2. The sequencer URL is write only. + From 65340d66d3e205fe8e7519fe3f6aff8f8a921c85 Mon Sep 17 00:00:00 2001 From: paulgnz Date: Mon, 22 Jul 2024 18:09:45 -0700 Subject: [PATCH 04/11] endpoints --- pages/chain/networks.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/chain/networks.mdx b/pages/chain/networks.mdx index adc79db18..fa6ca9bac 100644 --- a/pages/chain/networks.mdx +++ b/pages/chain/networks.mdx @@ -26,7 +26,7 @@ This reference guide provides a listing of the different Metal L2 Networks and p | Public RPC URL | [https://rpc.metall2.com](https://rpc.metall2.com) | | Sequencer URL2 | [https://mainnet-sequencer.metall2.com/](https://mainnet-sequencer.metall2.com/) | | Contract Addresses | Refer to the [Contract Addresses page](/chain/addresses#mainnet) | -| Connect Wallet | [Click here to connect your wallet to Metal L2 Mainnet](https://metall2.com) | +| Connect Wallet | [Click here to connect your wallet to Metal L2 Mainnet](https://metall2.com/connect) | ## Metal L2 Testnet @@ -39,7 +39,7 @@ This reference guide provides a listing of the different Metal L2 Networks and p | Public RPC URL | [https://testnet.rpc.metall2.com/](https://testnet.rpc.metall2.com/) | | Sequencer URL2 | [https://testnet-sequencer.metall2.com/](https://testnet-sequencer.metall2.com/) | | Contract Addresses | Refer to the [Contract Addresses page](/chain/addresses#mainnet) | -| Connect Wallet | [Click here to connect your wallet to Metal L2 Testnet](https://chainid.link?network=optimism) | +| Connect Wallet | [Click here to connect your wallet to Metal L2 Testnet](https://metall2.com/connect) | 1. The "currency symbol" is required by some wallets like MetaMask. 2. The sequencer URL is write only. From 965300b1436e83a538d128e6ff72dc0ae4927572 Mon Sep 17 00:00:00 2001 From: paulgnz Date: Tue, 23 Jul 2024 07:46:22 -0700 Subject: [PATCH 05/11] updated endpoints --- .../cex-wallet-developers/cex-support.mdx | 40 +++++++++---------- .../cex-wallet-developers/wallet-support.mdx | 40 +++++++++---------- .../builders/tools/connect/rpc-providers.mdx | 16 +------- pages/chain/networks.mdx | 2 +- 4 files changed, 43 insertions(+), 55 deletions(-) diff --git a/pages/builders/cex-wallet-developers/cex-support.mdx b/pages/builders/cex-wallet-developers/cex-support.mdx index 044c5118e..35f8616f8 100644 --- a/pages/builders/cex-wallet-developers/cex-support.mdx +++ b/pages/builders/cex-wallet-developers/cex-support.mdx @@ -1,52 +1,52 @@ --- -title: Supporting OP Mainnet in Your Exchange +title: Supporting Metal L2 in Your Exchange lang: en-US -description: Learn how to support OP Mainnet in your exchange. +description: Learn how to support Metal L2 in your exchange. --- import { Callout } from 'nextra/components' -# Supporting OP Mainnet in Your Exchange +# Supporting Metal L2 in Your Exchange -Check out this guide to get an overview of everything you need to know to properly support OP Mainnet within your exchange. +Check out this guide to get an overview of everything you need to know to properly support Metal L2 within your exchange. -## Connecting to OP Mainnet +## Connecting to 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 supports all of the same tooling as Ethereum. -You can use your favorite Ethereum libraries and tools to work with OP Mainnet. -Head over to the [Networks and RPC Endpoints](/chain/networks) page for network connection details and check out the [RPC Providers](/builders/tools/connect/rpc-providers) page for an updated list of RPC providers that support OP Mainnet. -If you need to run your own OP Mainnet node, head over to the [Node Operator](/builders/node-operators/rollup-node) guide. +Metal L2 is designed to be [EVM equivalent](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306) and supports all of the same tooling as Ethereum. +You can use your favorite Ethereum libraries and tools to work with Metal L2. +Head over to the [Networks and RPC Endpoints](/chain/networks) page for network connection details and check out the [RPC Providers](/builders/tools/connect/rpc-providers) page for an updated list of RPC providers that support Metal L2. +If you need to run your own Metal L2 node, head over to the [Node Operator](/builders/node-operators/rollup-node) guide. ## Native Gas Token (ETH) -OP Mainnet uses ETH as its native gas token. +Metal L2 uses ETH as its native gas token. Transactions are paid for in ETH and account balances are denominated in ETH. ## Transaction Fees -OP Mainnet charges the standard gas fee for transactions, but also charges an additional L1 data fee for the cost of publishing transaction data to Ethereum. -Check out the [Transaction Fees](/stack/transactions/fees) page for more information about how transaction fees work on OP Mainnet. +Metal L2 charges the standard gas fee for transactions, but also charges an additional L1 data fee for the cost of publishing transaction data to Ethereum. +Check out the [Transaction Fees](/stack/transactions/fees) page for more information about how transaction fees work on Metal L2. ## Smart Contracts -Smart contracts on OP Mainnet function the same way they do on Ethereum. +Smart contracts on Metal L2 function the same way they do on Ethereum. This includes ERC-20 token contracts. You can use your existing logic for managing withdrawals and deposits of ERC-20 tokens. ## Token Addresses -The ERC-20 contract address for a token on OP Mainnet may differ from the address for the same token on Ethereum. +The ERC-20 contract address for a token on Metal L2 may differ from the address for the same token on Ethereum. Make sure to reference the [Bridged Token Addresses](/chain/tokenlist) to confirm that you are using the correct token addresses in your application. ## Bridging ETH and ERC-20s -You may need to transfer ETH or ERC-20 tokens between OP Mainnet and Ethereum. -For instance, you may need to use this functionality to balance the supply of ETH on OP Mainnet and Ethereum depending on the demand for withdrawals and deposits on the two networks. -Refer to the [Basics of Bridging](/builders/app-developers/bridging/basics) and the [Standard Bridge](/builders/app-developers/bridging/standard-bridge) guides for more information about how to bridge ETH and ERC-20 tokens between OP Mainnet and Ethereum. +You may need to transfer ETH or ERC-20 tokens between Metal L2 and Ethereum. +For instance, you may need to use this functionality to balance the supply of ETH on Metal L2 and Ethereum depending on the demand for withdrawals and deposits on the two networks. +Refer to the [Basics of Bridging](/builders/app-developers/bridging/basics) and the [Standard Bridge](/builders/app-developers/bridging/standard-bridge) guides for more information about how to bridge ETH and ERC-20 tokens between Metal L2 and Ethereum. ## Transaction Statuses -OP Mainnet transactions have a number of different statuses during the transaction lifecycle. +Metal L2 transactions have a number of different statuses during the transaction lifecycle. Refer to the [Transaction Statuses](/builders/app-developers/transactions/statuses) page for more information about the different transaction statuses and how to handle them in your application. @@ -57,6 +57,6 @@ Make sure to understand the various transaction statuses to avoid security issue ## Audits and Security Reviews -The OP Stack codebase upon which OP Mainnet is built has undergone a number of security reviews. +The OP Stack codebase upon which Metal L2 is built has undergone a number of security reviews. Visit [GitHub](https://github.com/ethereum-optimism/optimism/tree/develop/docs/security-reviews) for a full list of the most recent reports. -Additionally, refer to the [Security Model & FAQ](/chain/security/faq) page for more information about the security model of OP Mainnet. +Additionally, refer to the [Security Model & FAQ](/chain/security/faq) page for more information about the security model of Metal L2. diff --git a/pages/builders/cex-wallet-developers/wallet-support.mdx b/pages/builders/cex-wallet-developers/wallet-support.mdx index 31c085699..148fea43e 100644 --- a/pages/builders/cex-wallet-developers/wallet-support.mdx +++ b/pages/builders/cex-wallet-developers/wallet-support.mdx @@ -1,56 +1,56 @@ --- -title: Supporting OP Mainnet in Your Wallet +title: Supporting Metal L2 in Your Wallet lang: en-US -description: Learn how to support OP Mainnet in your wallet. +description: Learn how to support Metal L2 in your wallet. --- import { Callout } from 'nextra/components' -# Supporting OP Mainnet in Your Wallet +# Supporting Metal L2 in Your Wallet -Check out this guide to get an overview of everything you need to know to properly support OP Mainnet within your wallet. +Check out this guide to get an overview of everything you need to know to properly support Metal L2 within your wallet. -## Connecting to OP Mainnet +## Connecting to 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 supports all of the same tooling as Ethereum. -You can use your favorite Ethereum libraries and tools to work with OP Mainnet. -Head over to the [Networks and RPC Endpoints](/chain/networks) page for network connection details and check out the [RPC Providers](/builders/tools/connect/rpc-providers) page for an updated list of RPC providers that support OP Mainnet. -If you need to run your own OP Mainnet node, head over to the [Node Operator](/builders/node-operators/rollup-node) guide. +Metal L2 is designed to be [EVM equivalent](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306) and supports all of the same tooling as Ethereum. +You can use your favorite Ethereum libraries and tools to work with Metal L2. +Head over to the [Networks and RPC Endpoints](/chain/networks) page for network connection details and check out the [RPC Providers](/builders/tools/connect/rpc-providers) page for an updated list of RPC providers that support Metal L2. +If you need to run your own Metal L2 node, head over to the [Node Operator](/builders/node-operators/rollup-node) guide. ## Native Gas Token (ETH) -OP Mainnet uses ETH as its native gas token. +Metal L2 uses ETH as its native gas token. Transactions are paid for in ETH and account balances are denominated in ETH. ## Transaction Fees -OP Mainnet charges the standard gas fee for transactions, but also charges an additional L1 data fee for the cost of publishing transaction data to Ethereum. -Check out the [Transaction Fees](/stack/transactions/fees) page for more information about how transaction fees work on OP Mainnet. +Metal L2 charges the standard gas fee for transactions, but also charges an additional L1 data fee for the cost of publishing transaction data to Ethereum. +Check out the [Transaction Fees](/stack/transactions/fees) page for more information about how transaction fees work on Metal L2. -Transactions on OP Mainnet must pay for an additional "L1 data fee" that often heavily outweighs the standard gas fee. +Transactions on Metal L2 must pay for an additional "L1 data fee" that often heavily outweighs the standard gas fee. Make sure that your wallet is configured to display this fee to your users so that they are aware of the total cost of their transaction. ## Smart Contracts -Smart contracts on OP Mainnet function the same way they do on Ethereum. -You can use your favorite Ethereum libraries and tools to interact with smart contracts on OP Mainnet. +Smart contracts on Metal L2 function the same way they do on Ethereum. +You can use your favorite Ethereum libraries and tools to interact with smart contracts on Metal L2. ## Token Addresses -The ERC-20 contract address for a token on OP Mainnet may differ from the address for the same token on Ethereum. -Addresses for many common tokens will differ between OP Mainnet and Ethereum. +The ERC-20 contract address for a token on Metal L2 may differ from the address for the same token on Ethereum. +Addresses for many common tokens will differ between Metal L2 and Ethereum. Make sure to reference the [Bridged Token Addresses](/chain/tokenlist) to confirm that you are using the correct token addresses in your application. ## Bridging ETH and ERC-20s -You may need to transfer ETH or ERC-20 tokens between OP Mainnet and Ethereum. +You may need to transfer ETH or ERC-20 tokens between Metal L2 and Ethereum. This is a useful feature for users who want to move tokens between the two networks. -Refer to the [Basics of Bridging](/builders/app-developers/bridging/basics) and the [Standard Bridge](/builders/app-developers/bridging/standard-bridge) guides for more information about how to bridge ETH and ERC-20 tokens between OP Mainnet and Ethereum. +Refer to the [Basics of Bridging](/builders/app-developers/bridging/basics) and the [Standard Bridge](/builders/app-developers/bridging/standard-bridge) guides for more information about how to bridge ETH and ERC-20 tokens between Metal L2 and Ethereum. ## Transaction Statuses -OP Mainnet transactions have a number of different statuses during the transaction lifecycle. +Metal L2 transactions have a number of different statuses during the transaction lifecycle. The status of a transaction can be useful for users. Refer to the [Transaction Statuses](/builders/app-developers/transactions/statuses) page for more information about the different transaction statuses and how to handle them in your application. diff --git a/pages/builders/tools/connect/rpc-providers.mdx b/pages/builders/tools/connect/rpc-providers.mdx index 20010e015..1c49f2af3 100644 --- a/pages/builders/tools/connect/rpc-providers.mdx +++ b/pages/builders/tools/connect/rpc-providers.mdx @@ -1,31 +1,19 @@ --- title: RPC & Node Providers lang: en-US -description: Learn about different RPC and node providers to help you connect to an Optimism node. +description: Learn about different RPC and node providers to help you connect to an Optimism or Metal L2 node. --- import { Callout } from 'nextra/components' # RPC & Node Providers -This reference guide lists different RPC and node providers to help you connect to an Optimism node. +This reference guide lists different RPC and node providers to help you connect to an Optimism or Metal L2 node. This page includes providers that meet specific [inclusion criteria](#inclusion-criteria), as outlined below. Please visit the [community node providers page](https://github.com/ethereum-optimism/developers/blob/main/community/tools/node-providers.md) for an additional listing of third-party node providers. -## Ankr - -### Description and Pricing - -[Ankr](https://www.ankr.com/) provides a geo-distributed and decentralized (free) public and premium (Pay-as-you-go) [Optimism RPC](https://www.ankr.com/rpc/optimism/) comprised of many independent blockchain nodes running worldwide for low-latency and incredibly reliable connections. - -Moreover, Ankr offers access to developer tooling on OP Mainnet (and testnets) like SDKs and [Advanced APIs](https://www.ankr.com/advanced-api/) such as NFT, Token and Query API. - -### Supported Networks - -* OP Mainnet -* OP Sepolia ## Alchemy diff --git a/pages/chain/networks.mdx b/pages/chain/networks.mdx index fa6ca9bac..4a118085a 100644 --- a/pages/chain/networks.mdx +++ b/pages/chain/networks.mdx @@ -38,7 +38,7 @@ This reference guide provides a listing of the different Metal L2 Networks and p | Explorer | [https://testnet.explorer.metall2.com/](https://testnet.explorer.metall2.com/) | | Public RPC URL | [https://testnet.rpc.metall2.com/](https://testnet.rpc.metall2.com/) | | Sequencer URL2 | [https://testnet-sequencer.metall2.com/](https://testnet-sequencer.metall2.com/) | -| Contract Addresses | Refer to the [Contract Addresses page](/chain/addresses#mainnet) | +| Contract Addresses | Refer to the [Contract Addresses page](/chain/addresses#testnet) | | Connect Wallet | [Click here to connect your wallet to Metal L2 Testnet](https://metall2.com/connect) | 1. The "currency symbol" is required by some wallets like MetaMask. From 6ccdc6b34e191c68cc531e2047b7579ca6c5ee29 Mon Sep 17 00:00:00 2001 From: paulgnz Date: Tue, 23 Jul 2024 11:35:07 -0700 Subject: [PATCH 06/11] remove banner --- theme.config.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theme.config.tsx b/theme.config.tsx index 323a0f5f7..7c4341e51 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -78,14 +78,14 @@ const config: DocsThemeConfig = { editLink: { text: '✏️ Edit this page on GitHub' }, - banner: { + /*banner: { key: 'fp-mainnet-release', text: ( 📣📣📣 ATTENTION: Fault Proofs are planned for OP Mainnet. Withdrawal claims submitted after June 3 will need to be reproven after the upgrade, which will be at least 7 days later. Click here for more info. 📣📣📣 ) - }, + },*/ useNextSeoProps() { const { asPath } = useRouter() if (asPath !== '/') { From a7b7365b165ba7bd20df92c5b7e4427b56358e7a Mon Sep 17 00:00:00 2001 From: paulgnz Date: Wed, 31 Jul 2024 09:39:07 -0700 Subject: [PATCH 07/11] update icons, chain constants --- components/TokenListTable.tsx | 2 ++ pages/chain/addresses.mdx | 12 ++++++------ pages/chain/differences.mdx | 24 +++++++++++------------ public/img/icons/arrow-left-right.svg | 11 +++++++++-- public/img/icons/asterisk.svg | 4 ++-- public/img/icons/book.svg | 4 ++-- public/img/icons/build.svg | 7 +++++++ public/img/icons/computer-line.svg | 4 +++- public/img/icons/file-edit-line.svg | 4 +++- public/img/icons/gear.svg | 11 +++++++++-- public/img/icons/government-line.svg | 4 +++- public/img/icons/instance-line.svg | 4 +++- public/img/icons/link.svg | 7 +++++++ public/img/icons/news-line.svg | 4 +++- public/img/icons/person.svg | 7 +++++++ public/img/icons/question-answer-line.svg | 4 +++- public/img/icons/rocket-2-line.svg | 4 +++- public/img/icons/shapes.svg | 7 +++++++ public/img/icons/stack-line.svg | 4 +++- public/img/icons/stack.svg | 7 +++++++ public/img/icons/terminal-window-line.svg | 4 +++- public/img/icons/tools.svg | 4 ++-- public/img/icons/wallet.svg | 11 +++++++++-- theme.config.tsx | 2 +- utils/constants.ts | 6 ++++++ 25 files changed, 122 insertions(+), 40 deletions(-) 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', + }, } From 7a33b3ac73c4c2c643b59b9e3fd1527e828ecc65 Mon Sep 17 00:00:00 2001 From: paulgnz Date: Wed, 31 Jul 2024 09:49:26 -0700 Subject: [PATCH 08/11] prep bridged token addresses for Metal L2 --- pages/chain/tokenlist.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/chain/tokenlist.mdx b/pages/chain/tokenlist.mdx index 4b590e43c..6813db7cd 100644 --- a/pages/chain/tokenlist.mdx +++ b/pages/chain/tokenlist.mdx @@ -18,6 +18,14 @@ This page is automatically generated from the Superchain Token List. **The presence of a token on this page does not imply any endorsement of the token or its minter.** +## Metal L2 + + + +## Metal L2 Testnet + + + ## OP Mainnet From d905727de3d8dd9e3605ddd736b098d549b2b1ff Mon Sep 17 00:00:00 2001 From: paulgnz Date: Fri, 6 Sep 2024 04:09:26 +1200 Subject: [PATCH 09/11] updated rpc providers page --- .../builders/tools/connect/rpc-providers.mdx | 64 +------------------ 1 file changed, 3 insertions(+), 61 deletions(-) diff --git a/pages/builders/tools/connect/rpc-providers.mdx b/pages/builders/tools/connect/rpc-providers.mdx index 1c49f2af3..6fd45e437 100644 --- a/pages/builders/tools/connect/rpc-providers.mdx +++ b/pages/builders/tools/connect/rpc-providers.mdx @@ -15,75 +15,17 @@ This page includes providers that meet specific [inclusion criteria](#inclusion- -## Alchemy - -### Description and Pricing - -[Alchemy](https://docs.alchemy.com/reference/optimism-api-quickstart/?a=818c11a8da) is a popular API provider and developer platform. Its robust, free tier offers access to enhanced features like SDKs and enhanced APIs and hosted OP Mainnet and testnet nodes. - -### Supported Networks - -* OP Mainnet -* OP Sepolia - -## Chainstack - -### Description and Pricing - -[Chainstack](https://chainstack.com/build-better-with-optimism/) provides global & regional load-balanced nodes that are full & archive with debug & trace APIs. For the free tier, the Developer plan is available and you can sign up with GitHub account or other social logins. Chainstack also has special discounts available. - -### Supported Networks - -* OP Mainnet -* OP Sepolia - ## dRPC ### Description and Pricing -[dRPC](https://drpc.org) provides geo-distributed, auto-scalable OP Mainnet and OP Sepolia nodes. For more information, visit [dRPC's chainlist for Optimism](https://drpc.org/chainlist/optimism). dRPC supports Websocket and all methods, including debug and trace methods. +[dRPC](https://drpc.org) provides geo-distributed, auto-scalable Metal L2 Mainnet and Metal L2 Sepolia nodes. For more information, visit [dRPC's chainlist for Metal L2](https://drpc.org/chainlist/metal). dRPC supports Websocket and all methods, including debug and trace methods. For early-stage startups, dRPC and Optimism Collective provide OP Mainnet nodes from 3 geo clusters without method restrictions and are totally free! For commercial nodes, dRPC uses a pay-as-you-go model without hidden fees and rate limits. Feel free to try fast and reliable nodes. Supported Networks -OP Mainnet -OP Sepolia - -## Infura - -### Description and Pricing - -[Infura](https://infura.io) is a Web3 infrastructure provider that offers free access to hosted [OP Mainnet and testnet nodes](https://docs.infura.io/infura/networks/optimism), with the option to upgrade to [paid plans](https://www.infura.io/pricing) for more features. With Infura's highly performant Optimism node infrastructure, developers can eliminate the need for syncing or complex setups and get reliable and consistent access to the Optimism blockchain. - -[Sign up for a free Infura account here](https://app.infura.io/register) - -### Supported Networks - -* OP Mainnet -* OP Sepolia - -## Moralis - -### Description and Pricing - -[Moralis](https://moralis.io/?utm_source=op-docs&utm_medium=partner-docs) is a popular Node and API provider for both real-time and indexed blockchain data. Moralis is the only major infrastructure provider in blockchain with a SOC2 Type 2 certification. You can use Moralis for free, or upgrade to a [paid plan](https://moralis.io/pricing/?utm_source=op-docs&utm_medium=partner-docs) for more features and benefits. - -[Sign up for a free Moralis account here](https://admin.moralis.io/register/?utm_source=op-docs&utm_medium=partner-docs) - -### Supported Networks - -* OP Mainnet - -## QuickNode - -### Description and Pricing - -[QuickNode](https://www.quicknode.com/) offers access to hosted OP Mainnet (and testnet) nodes for free. -With the option to upgrade to a premium plan for additional features, we allow you to focus solely on optimizing your application while we manage the complex infrastructure. - -### Supported Networks +Metal L2 Mainnet +Metal L2 Sepolia -* OP Mainnet -* OP Sepolia ## Inclusion Criteria From 07aa68235c985a21cbcbf344aef25350cdf3ba3e Mon Sep 17 00:00:00 2001 From: paulgnz Date: Fri, 6 Sep 2024 04:42:14 +1200 Subject: [PATCH 10/11] fixed url --- pages/builders/tools/connect/rpc-providers.mdx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/builders/tools/connect/rpc-providers.mdx b/pages/builders/tools/connect/rpc-providers.mdx index 6fd45e437..52dfbaa39 100644 --- a/pages/builders/tools/connect/rpc-providers.mdx +++ b/pages/builders/tools/connect/rpc-providers.mdx @@ -18,13 +18,14 @@ This page includes providers that meet specific [inclusion criteria](#inclusion- ## dRPC ### Description and Pricing -[dRPC](https://drpc.org) provides geo-distributed, auto-scalable Metal L2 Mainnet and Metal L2 Sepolia nodes. For more information, visit [dRPC's chainlist for Metal L2](https://drpc.org/chainlist/metal). dRPC supports Websocket and all methods, including debug and trace methods. +[dRPC](https://drpc.org) provides geo-distributed, auto-scalable Metal L2 Mainnet and Metal L2 Sepolia nodes. For more information, visit [dRPC's chainlist page for Metal L2](https://drpc.org/chainlist/metall2). dRPC supports Websocket and all methods, including debug and trace methods. For early-stage startups, dRPC and Optimism Collective provide OP Mainnet nodes from 3 geo clusters without method restrictions and are totally free! For commercial nodes, dRPC uses a pay-as-you-go model without hidden fees and rate limits. Feel free to try fast and reliable nodes. -Supported Networks -Metal L2 Mainnet -Metal L2 Sepolia +### Supported Networks + +Metal L2 Mainnet +Metal L2 Sepolia ## Inclusion Criteria From 2da3b355bd575518801d3daf467e3c941da0e043 Mon Sep 17 00:00:00 2001 From: Maura Wilder <560657+squdgy@users.noreply.github.com> Date: Thu, 26 Sep 2024 11:52:42 -0400 Subject: [PATCH 11/11] feat: fix chainids to pull in correct contract addresses --- pages/chain/addresses.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/chain/addresses.mdx b/pages/chain/addresses.mdx index e990342d0..2144a6d19 100644 --- a/pages/chain/addresses.mdx +++ b/pages/chain/addresses.mdx @@ -21,11 +21,11 @@ This page is automatically generated from packages in the [superchain-registry]( ### Ethereum (L1) - + ### Ethereum Legacy Contracts (L1) - + ### Metal L2 (L2) @@ -39,7 +39,7 @@ This page is automatically generated from packages in the [superchain-registry]( ### Sepolia (L1) - + ### Metal L2 Testnet (L2)