From 81b5ef6c776761c2b3901eb0ad9330426747d871 Mon Sep 17 00:00:00 2001 From: soyboy Date: Thu, 13 Mar 2025 08:07:17 -0700 Subject: [PATCH 1/2] fixing redirect to superchain explainer --- public/_redirects | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/_redirects b/public/_redirects index 84cabe701..47697d21e 100644 --- a/public/_redirects +++ b/public/_redirects @@ -106,6 +106,9 @@ /stack/interop/cross-chain/security /stack/interop/interop-security /stack/interop/cross-chain/ /stack/interop +# Superchain +/stack/explainer /superchain/superchain-explainer + # ---------------------------------------------------------------------------- # Chain and Identity Documentation # ---------------------------------------------------------------------------- From fc622b2372d49925ee22ed1b8ae7ef66747e959c Mon Sep 17 00:00:00 2001 From: Blessing Krofegha Date: Wed, 19 Mar 2025 01:02:11 +0100 Subject: [PATCH 2/2] fix broken links --- .../tools/build/block-explorers.mdx | 1 - .../tools/build/ecosystem-overview.mdx | 18 +++++++----------- pages/app-developers/tools/build/oracles.mdx | 8 ++++---- pages/connect/contribute/stack-contribute.mdx | 2 +- pages/stack/getting-started.mdx | 2 +- pages/stack/interop/superchain-weth.mdx | 2 +- 6 files changed, 14 insertions(+), 19 deletions(-) diff --git a/pages/app-developers/tools/build/block-explorers.mdx b/pages/app-developers/tools/build/block-explorers.mdx index 23945bebe..16c565a51 100644 --- a/pages/app-developers/tools/build/block-explorers.mdx +++ b/pages/app-developers/tools/build/block-explorers.mdx @@ -38,7 +38,6 @@ Blockscout also has some OP-Mainnet-specific features: * [An interactive list of deposits (L1-L2)](https://optimism.blockscout.com/l2-deposits) * [An interactive list of withdrawals (L2-L1)](https://optimism.blockscout.com/l2-withdrawals) * [Transaction batches](https://optimism.blockscout.com/l2-txn-batches) -* [Output roots](https://optimism.blockscout.com/l2-output-roots) * [App marketplace](https://optimism.blockscout.com/apps) * And much more! diff --git a/pages/app-developers/tools/build/ecosystem-overview.mdx b/pages/app-developers/tools/build/ecosystem-overview.mdx index 67ab9a386..4f688d728 100644 --- a/pages/app-developers/tools/build/ecosystem-overview.mdx +++ b/pages/app-developers/tools/build/ecosystem-overview.mdx @@ -19,24 +19,20 @@ import { Cards, Card } from 'nextra/components' # Superchain Ecosystem repo -The [Superchain ecosystem repository](https://github.com/ethereum-optimism/ecosystem) is a comprehensive resource of libraries, utilities, and forkable code examples specifically tailored for builders deploying applications on the OP stack. -The Superchain ecosystem repository was developed to help ease and expedite the development process for all builders working on the OP stack, helping them deliver value to the community without the necessity of mastering every detail of how the protocol itself operates. +The [Superchain ecosystem repository](https://github.com/ethereum-optimism/ecosystem) is a comprehensive resource of libraries, utilities, and forkable code examples specifically tailored for builders deploying applications on the OP Stack. +The Superchain ecosystem repository was developed to help ease and expedite the development process for all builders working on the OP Stack, helping them deliver value to the community without the necessity of mastering every detail of how the protocol itself operates. ## Getting started -Our initial launch includes an example [bridge application](https://github.com/ethereum-optimism/ecosystem/tree/main/apps/bridge-app) that demonstrates how to bridge ETH and any ERC20 tokens listed in the [Superchain Token List](/superchain/tokenlist). -This application serves as a reference for anyone looking to build their own bridge, offering a clearer understanding of how to interact with the protocol on both the L1 and L2 sides. +Our initial launch includes a [bridge tutorial](/stack/interop/tutorials/bridge-crosschain-eth) that demonstrates how to bridge ETH and any ERC20 tokens listed in the [Superchain Token List](/superchain/tokenlist). This tutorial serves as a reference for anyone looking to build their own bridge, providing a clearer understanding of how to interact with the protocol on both the L1 and L2 sides. -Additionally, we provide a package containing common utilities essential for developers interacting with both L1 and L2. For instance, it includes features for tracking [network pairs](https://github.com/ethereum-optimism/ecosystem/blob/main/packages/op-app/src/configs/networkPairs.ts) and [deployment addresses](https://github.com/ethereum-optimism/ecosystem/blob/main/packages/op-app/src/configs/deploymentAddresses.ts) of smart contracts. +Additionally, we provide a package containing common utilities essential for developers interacting with both L1 and L2. One such package is [viem-optimism](https://github.com/ethereum-optimism/ecosystem/tree/main/packages/viem), which offers utilities for interacting with the OP Stack using the viem library. - } /> - - } /> - - } /> + } /> + } /> ## Contribute -If you would like to see more examples related to the OP stack, feel free to [leave an issue](https://github.com/ethereum-optimism/ecosystem/issues). +If you would like to see more examples related to the OP Stack, feel free to [leave an issue](https://github.com/ethereum-optimism/ecosystem/issues). diff --git a/pages/app-developers/tools/build/oracles.mdx b/pages/app-developers/tools/build/oracles.mdx index 537a597d2..68ae84d2b 100644 --- a/pages/app-developers/tools/build/oracles.mdx +++ b/pages/app-developers/tools/build/oracles.mdx @@ -76,7 +76,7 @@ The [API3 Market](https://market.api3.org/optimism) provides access to 200+ pric The price feeds are delivered by an aggregate of [first-party oracles](https://docs.api3.org/oev-searchers/glossary.html#first-party-oracles) using signed data and support [OEV recapture](). [https://docs.api3.org/dapps/integration/security-considerations.html#oracle-extractable-value-oev](https://docs.api3.org/dapps/integration/security-considerations.html#oracle-extractable-value-oev) -Unlike traditional data feeds, reading [API3 price feeds](https://docs.api3.org/oev-searchers/in-depth/dapis/#dapis) enables dApps to auction off the right to update the price feeds to searcher bots which facilitates more efficient liquidation processes for users and LPs of DeFi money markets. The OEV recaptured is returned to the dApp. +Unlike traditional data feeds, reading [API3 price feeds](https://docs.api3.org/oev-searchers/in-depth/#dapps-catalog) enables dApps to auction off the right to update the price feeds to searcher bots which facilitates more efficient liquidation processes for users and LPs of DeFi money markets. The OEV recaptured is returned to the dApp. API3's QRNG provides dApps with truly random numbers based on quantum mechanics at no charge. More details [here](https://api3.org/) @@ -137,9 +137,9 @@ You can explore the full catalog of Pyth Price Feed IDs for [OP Mainnet and Sepo Builders can choose how they want to consume the data among 3 dedicated models: -* [RedStone Core](https://docs.redstone.finance/docs/get-started/models/redstone-pull) (pull oracle) - less than 10s update time, broad spectrum of feeds, best for most use cases. All [Core Price Feeds](https://app.redstone.finance/#/app/tokens) are available on OP Mainnet & OP Sepolia. -* [RedStone Classic](https://docs.redstone.finance/docs/get-started/models/redstone-push) (push oracle) - for protocols designed for the traditional oracle interface, customizable heartbeat and deviation threshold. -* [RedStone X](https://docs.redstone.finance/docs/get-started/models/redstone-x) - specifically for Perps and Options, highest update frequency and front-running protection. +* [RedStone Core](https://docs.redstone.finance/docs/dapps/redstone-pull/) (pull oracle) - less than 10s update time, broad spectrum of feeds, best for most use cases. All [Core Price Feeds](https://app.redstone.finance/#/app/tokens) are available on OP Mainnet & OP Sepolia. +* [RedStone Classic](https://docs.redstone.finance/docs/dapps/redstone-push/) (push oracle) - for protocols designed for the traditional oracle interface, customizable heartbeat and deviation threshold. +* [Hybrid (push + push) ERC7412](https://docs.redstone.finance/docs/dapps/redstone-erc7412/) - specifically for Perps and Options, highest update frequency and front-running protection. Interested in integration? [Get in contact](https://discord.com/invite/PVxBZKFr46) with the RedStone team! diff --git a/pages/connect/contribute/stack-contribute.mdx b/pages/connect/contribute/stack-contribute.mdx index 61f59fda0..562fdfc11 100644 --- a/pages/connect/contribute/stack-contribute.mdx +++ b/pages/connect/contribute/stack-contribute.mdx @@ -40,7 +40,7 @@ To make your first contribution to the codebase, check out the [open issues](htt Only the software components included within the current release of the OP Stack codebase are considered in the scope of the OP Stack. - Any usage of the OP Stack outside of the official, intended capabilities of the current release is considered [OP Stack Hacks](https://github.com/ethereum-optimism/developers/tree/main/hacks) — unofficial modifications that are useful for experimentation but could have unforeseen results, such as security vulnerabilities, and are likely to cause your chain to no longer be interoperable with the [Optimism Superchain](https://app.optimism.io/superchain/). + Any usage of the OP Stack outside of the official, intended capabilities of the current release is considered [OP Stack Hacks](https://github.com/ethereum-optimism/developers/tree/main/docs) — unofficial modifications that are useful for experimentation but could have unforeseen results, such as security vulnerabilities, and are likely to cause your chain to no longer be interoperable with the [Optimism Superchain](https://app.optimism.io/superchain/). Developer support for OP Stack Hacks is limited — when in doubt, stick to the capabilities of the current release! diff --git a/pages/stack/getting-started.mdx b/pages/stack/getting-started.mdx index 5a5fd2daf..c236d824d 100644 --- a/pages/stack/getting-started.mdx +++ b/pages/stack/getting-started.mdx @@ -65,7 +65,7 @@ At the end of the day, the OP Stack becomes what Optimism needs. Ready to dive into the world of the OP Stack? -* If you're interested in understanding the OP Stack in more depth, start with the [Design Principles](design-principles) and [Components Overview](components). +* If you're interested in understanding the OP Stack in more depth, start with the [Design Principles](/stack/design-principles). * If you're excited to join the Superchain, launch your first [Superchain-ready L2](/operators/chain-operators/self-hosted) or dive directly into the OP Stack codebase to learn more. The OP Stack is the next frontier for Ethereum. You're already here, so what are you waiting for? diff --git a/pages/stack/interop/superchain-weth.mdx b/pages/stack/interop/superchain-weth.mdx index 371dfa8a6..08f313bf7 100644 --- a/pages/stack/interop/superchain-weth.mdx +++ b/pages/stack/interop/superchain-weth.mdx @@ -106,7 +106,7 @@ sequenceDiagram 7. `SuperchainWETH` uses [`SafeSend`](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/universal/SafeSend.sol) to send ETH. This ensures that even if the destination is a smart contract, its custom logic is not executed. -This behavior differs from [standard ETH transfers](https://docs.base.org/base-learn/docs/address-and-payable/#receiving-ether-with-payable-addresses), where smart contracts can trigger custom logic upon receiving ETH. +This behavior differs from [standard ETH transfers](https://docs.base.org/learn/address-and-payable/address-and-payable#receiving-ether-with-payable-addresses), where smart contracts can trigger custom logic upon receiving ETH. ## L1 Treasury