-
Notifications
You must be signed in to change notification settings - Fork 267
app dev restructure #1333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
app dev restructure #1333
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
9accd6a
app dev restructure
cpengilly cd426bd
fix links
cpengilly 4cc3e86
migrate supersim pages
cpengilly bb9d958
change overview to be new getting started
cpengilly 6b67970
update l1 contract addresses on chainA and chainB
cpengilly 4a9d7a8
small updates
cpengilly 7f50825
Merge branch 'main' into supersim-migrate
cpengilly ee6640f
fixes
cpengilly 52a0c61
relocate regenesis history
cpengilly 21448eb
Update _meta.json
cpengilly 5be4642
Update pages/app-developers/get-started.mdx
cpengilly 7f3d304
feedback addressed
cpengilly 1d1f08c
added lychee
krofax 0385a08
fix link issues
krofax c41426c
revert changes
krofax d33b4a0
Update bridge-crosschain-eth.mdx
cpengilly File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
@@ -1,18 +1,24 @@ | ||
--- | ||
title: Bridging | ||
title: Bridging guides | ||
lang: en-US | ||
description: Learn about bridging basics, custom bridges, data transmission between L1 and L2, and using the standard bridge in OP Stack. | ||
--- | ||
|
||
import { Card, Cards } from 'nextra/components' | ||
|
||
# Bridging | ||
# Bridging guides | ||
|
||
This section provides information on bridging basics, custom bridges, sending data between l1 and l2 and using the standard bridge. You'll find guide, overview to help you understand and work with these topics. | ||
Looking to build an application that sends ETH, tokens, or data between OP Mainnet 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). | ||
|
||
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, which is pretty cool! | ||
The Standard Token Bridge for OP Mainnet even uses this same message-passing infrastructure under the hood. | ||
|
||
<Cards> | ||
<Card title="Bridging basics" href="/app-developers/bridging/basics" /> | ||
<Card title="Custom bridges" href="/app-developers/bridging/custom-bridge" /> | ||
<Card title="Sending data between L1 and L2" href="/app-developers/bridging/messaging" /> | ||
<Card title="The Standard Bridge" href="/app-developers/bridging/standard-bridge" /> | ||
<Card title="Bridging basics" href="/app-developers/bridging/basics" icon={<img src="/img/icons/shapes.svg" />} /> | ||
<Card title="Standard bridge" href="/app-developers/bridging/standard-bridge" icon={<img src="/img/icons/shapes.svg" />} /> | ||
<Card title="Custom bridges" href="/app-developers/bridging/custom-bridge" icon={<img src="/img/icons/shapes.svg" />} /> | ||
<Card title="Sending data between L1 and L2" href="/app-developers/bridging/messaging" icon={<img src="/img/icons/shapes.svg" />} /> | ||
</Cards> |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
6 changes: 3 additions & 3 deletions
6
pages/app-developers/getting-started.mdx → pages/app-developers/building-apps.mdx
This file contains hidden or 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 hidden or 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,71 @@ | ||
--- | ||
title: Build interoperable apps on Superchain devnet | ||
lang: en-US | ||
description: Learn about deploying contracts, cross-chain messaging, and tutorials to help you build applications on the Superchain. | ||
--- | ||
|
||
import { Cards, Card, Callout } from 'nextra/components' | ||
|
||
# Build interoperable apps on Superchain devnet | ||
|
||
Reimagine your app with Superchain Interop to deliver the unified UX your users expect. Hack on net-new, bold use cases on Interop devnet. | ||
cpengilly marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
<Callout type="info"> | ||
Explore the [Superchain Dev Console](https://console.optimism.io/) to build, launch, and grow your app on the Superchain. | ||
</Callout> | ||
|
||
## Connect to Superchain Interop | ||
cpengilly marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Select a network to build, test, and quickly iterate on interoperable apps. | ||
|
||
| Local network | Devnet | | ||
| :-------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------- | | ||
| Build and iterate on your apps with Supersim – a local multi-chain dev environment. | Deploy your app to devnet – a testnet developmental version – to conduct large-scale testing. | | ||
| <ul><li>RPC Endpoint: `local RPC URL` </li><li>Chain ID: `local chain ID`</li><li>[Block explorer](#)</li></ul> | <ul><li>RPC Endpoint: `devnet RPC URL`</li><li>Chain ID: `devnet chain ID`</li><li> [Block explorer](#)</li></ul> | | ||
| [Supersim](tutorials/supersim) | [Devnet Docs](/stack/interop/tools/devnet) | | ||
|
||
## Deploy your app to devnet in minutes | ||
|
||
The SuperchainERC20 Starter Kit allows you to focus on what to deploy, not how to deploy. It's a streamlined toolkit that simplifies deploying your interoperable app, letting you focus on your core business logic. | ||
|
||
* [Get the Starter Kit](starter-kit) | ||
|
||
## Tools & resources for building interoperable apps | ||
|
||
| Tool | Description | | ||
| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------- | | ||
| [Supersim](tools/supersim) | Local multi-chain testing environment for smart contracts. | | ||
| [Super CLI](https://github.com/ethereum-optimism/super-cli) | Command-line tool for seamless multichain app deployment and testing. | | ||
| [Superchain Relayer](https://github.com/ethereum-optimism/superchain-relayer) | UI for monitoring and managing cross-chain transactions. | | ||
| [Interop Docs](/stack/interop) | Comprehensive Interop information in the Optimism Docs. | | ||
| [Superchain Dev Console](https://console.optimism.io/) | Comprensive tool to build, launch, and grow your app on the Superchain. | | ||
|
||
## Handy step-by-step guides | ||
|
||
<Cards> | ||
<Card title="Supersim tutorials" href="/app-developers/tutorials/supersim" icon={<img src="/img/icons/shapes.svg" />} /> | ||
|
||
<Card title="Interop tutorials" href="/app-developers/tutorials/interop" icon={<img src="/img/icons/shapes.svg" />} /> | ||
|
||
<Card title="Crosschain guides" href="/stack/interop/cross-chain" icon={<img src="/img/icons/shapes.svg" />} /> | ||
|
||
<Card title="Transaction tutorials" href="/app-developers/tutorials/transactions" icon={<img src="/img/icons/shapes.svg" />} /> | ||
|
||
<Card title="Bridging tutorials" href="/app-developers/tutorials/bridging" icon={<img src="/img/icons/shapes.svg" />} /> | ||
</Cards> | ||
|
||
## Discover and build net-new use cases with Superchain Interop | ||
|
||
There is so much more than just bridge abstraction. Hack on the various cutting-edge applications that are uniquely enabled by Superchain Interop. Here are some ideas to get you started: | ||
|
||
| Superloans | Superlend | SuperCDP | | ||
| :--------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------ | :--------------------------------------------------------------------------------------------------------------- | | ||
| Use collateral on ChainA and ChainB to execute an arbitrage opportunity on ChainA. | Deposit ETH into lending protocols across chains for optimal yield, with automatic rebalancing based on best rates. | Collateralized crosschain debt protocol that holds assets and issues a SuperchainERC20 on user preferred chains. | | ||
|
||
* [Join the Super Hackathon at ETH Denver 2024](https://www.ethdenver.com/) | ||
|
||
## Join app dev community and build together | ||
|
||
Join the OP Labs team and fellow Superchain Interop builders to share ideas, provide feedback, ask questions, and get the [support](https://github.com/ethereum-optimism/developers/discussions) you need. | ||
|
||
* [Join Discord community](https://discord.gg/optimism) |
This file contains hidden or 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,9 @@ | ||
--- | ||
title: Getting started with the OP Stack | ||
lang: en-US | ||
description: Learn the basics of OP Stack development. | ||
--- | ||
|
||
import InteropExplainer from '@/pages/stack/interop/explainer.mdx' | ||
|
||
<InteropExplainer /> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.