Skip to content

Commit

Permalink
Merge pull request #775 from brokewhale/update-callouts
Browse files Browse the repository at this point in the history
Updating Old wip callout to the new callout
  • Loading branch information
cpengilly authored Jun 28, 2024
2 parents f52fb27 + e064639 commit db9c6d7
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,12 @@ description: Learn how to use the Optimism SDK to transfer ERC-20 tokens between

import { Callout, Steps } from 'nextra/components'
import { WipCallout } from '@/components/WipCallout'
import WipMsg from "@/message/WipMsg.md"

<WipCallout />

# Bridging ERC-20 Tokens to OP Mainnet With the Optimism SDK

<Callout type="error">
Please **do not rely** on the content of this page as it is currently
undergoing maintenance. **Code samples and solutions may not function as
expected.** Please check back for an update or [signup to help us revise this
page](https://github.com/ethereum-optimism/docs/labels/tutorial). We welcome
your contribution! ❤️
</Callout>


This tutorial explains how you can use the [Optimism SDK](https://sdk.optimism.io) to bridge ERC-20 tokens from L1 (Ethereum or Sepolia) to L2 (OP Mainnet or OP Sepolia).
The Optimism SDK is an easy way to add bridging functionality to your javascript-based application.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ description: Learn how to use the Optimism SDK to transfer ETH between Layer 1 (
---

import { Callout, Steps } from 'nextra/components'
import { WipCallout } from '@/components/WipCallout'

<WipCallout />

# Bridging ETH to OP Mainnet With the Optimism SDK

<Callout type="error">
Please **do not rely** on the content of this page as it is currently undergoing maintenance. **Code samples and solutions may not function as expected.**
Please check back for an update or [signup to help us revise this page](https://github.com/ethereum-optimism/docs/labels/tutorial). We welcome your contribution! ❤️
</Callout>


This tutorial explains how you can use the [Optimism SDK](https://sdk.optimism.io) to bridge ETH from L1 (Ethereum or Sepolia) to L2 (OP Mainnet or OP Sepolia).
The Optimism SDK is an easy way to add bridging functionality to your JavaScript-based application.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ description: Learn how to write Solidity contracts on OP Mainnet and Ethereum th
---

import { Steps, Callout, Tabs } from 'nextra/components'
import { WipCallout } from '@/components/WipCallout'

<WipCallout />
# Communicating Between OP Mainnet and Ethereum in Solidity

<Callout type="error">
Please **do not rely** on the content of this page as it is currently undergoing maintenance. **Code samples and solutions may not function as expected.**
Please check back for an update or [signup to help us revise this page](https://github.com/ethereum-optimism/docs/labels/tutorial). We welcome your contribution! ❤️
</Callout>


This tutorial explains how to write Solidity contracts on OP Mainnet and Ethereum that can talk to each other.
Here you'll use a contract on OP Mainnet that can set a "greeting" variable on a contract on Ethereum, and vice-versa.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ description: Learn how to use the Optimism SDK to estimate the cost of a transac
---

import { Callout, Steps } from 'nextra/components'
import { WipCallout } from '@/components/WipCallout'

<WipCallout />
# Estimating Transaction Costs on OP Mainnet

<Callout type="error">
Please **do not rely** on the content of this page as it is currently undergoing maintenance. **Code samples and solutions may not function as expected.**
Please check back for an update or [signup to help us revise this page](https://github.com/ethereum-optimism/docs/labels/tutorial). We welcome your contribution! ❤️
</Callout>

In this tutorial, you'll learn how to use the [Optimism SDK](https://sdk.optimism.io) to estimate the cost of a transaction on OP Mainnet.
You'll learn how to estimate the [execution gas fee](/builders/app-developers/transactions/fees#execution-gas-fee) and the [L1 data fee](/builders/app-developers/transactions/fees#l1-data-fee) independently.
Expand Down
7 changes: 3 additions & 4 deletions pages/builders/app-developers/tutorials/sdk-trace-txns.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ description: Learn how to use the Optimism SDK to trace deposits and withdrawals
---

import { Callout, Steps } from 'nextra/components'
import { WipCallout } from '@/components/WipCallout'

<WipCallout />
# Tracing Deposits and Withdrawals

<Callout type="error">
Please **do not rely** on the content of this page as it is currently undergoing maintenance. **Code samples and solutions may not function as expected.**
Please check back for an update or [signup to help us revise this page](https://github.com/ethereum-optimism/docs/labels/tutorial). We welcome your contribution! ❤️
</Callout>


In this tutorial, you'll learn how to use the [Optimism SDK](https://sdk.optimism.io) to trace a [Standard Bridge](../bridging/standard-bridge) deposit or withdrawal between L1 and L2.
You'll specifically learn how to determine the status of a deposit or withdrawal and how to retrieve the transaction receipt for the executed transaction on L1 (for withdrawals) or L2 (for deposits).
Expand Down
7 changes: 3 additions & 4 deletions pages/builders/app-developers/tutorials/sdk-view-txns.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ description: Learn how to use the Optimism SDK to view all deposits and withdraw
---

import { Callout, Steps } from 'nextra/components'
import { WipCallout } from '@/components/WipCallout'

<WipCallout />
# Viewing Deposits and Withdrawals by Address

<Callout type="error">
Please **do not rely** on the content of this page as it is currently undergoing maintenance. **Code samples and solutions may not function as expected.**
Please check back for an update or [signup to help us revise this page](https://github.com/ethereum-optimism/docs/labels/tutorial). We welcome your contribution! ❤️
</Callout>


In this tutorial, you'll learn how to use the [Optimism SDK](https://sdk.optimism.io) to view all of the [Standard Bridge](../bridging/standard-bridge) deposits and withdrawals triggered by a given address.

Expand Down
7 changes: 3 additions & 4 deletions pages/builders/app-developers/tutorials/send-tx-from-eth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ description: Learn how to force transaction inclusion without the OP Mainnet Seq
---

import { Callout, Steps } from 'nextra/components'
import { WipCallout } from '@/components/WipCallout'

<WipCallout />
# Triggering OP Mainnet Transactions from Ethereum

<Callout type="error">
Please **do not rely** on the content of this page as it is currently undergoing maintenance. **Code samples and solutions may not function as expected.**
Please check back for an update or [signup to help us revise this page](https://github.com/ethereum-optimism/docs/labels/tutorial). We welcome your contribution! ❤️
</Callout>


OP Mainnet currently uses a single-Sequencer block production model.
This means that there is only one Sequencer active on the network at any given time.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ description: Learn how to bridge your custom ERC-20 token using the standard bri
---

import { Callout, Steps } from 'nextra/components'
import { WipCallout } from '@/components/WipCallout'

<WipCallout />
# Bridging Your Custom ERC-20 Token Using the Standard Bridge

<Callout type="info">
**This tutorial is for developers who want to bridge a new ERC-20 token to an OP Stack chain. This is not related to the "Custom Gas Token" feature for new OP Stack chains**
If you want to bridge existing tokens, you can skip to the tutorial on [Bridging ERC-20 tokens with the Optimism SDK](./cross-dom-bridge-erc20).
</Callout>


In this tutorial you'll learn how to bridge a custom ERC-20 token from Ethereum to an OP Stack chain using the Standard Bridge system.
This tutorial is meant for developers who already have an existing ERC-20 token on Ethereum and want to create a bridged representation of that token on OP Mainnet.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ description: Learn how to bridge your standard ERC-20 token using the standard b
---

import { Callout, Steps } from 'nextra/components'
import { WipCallout } from '@/components/WipCallout'

<WipCallout />
# Bridging Your Standard ERC-20 Token Using the Standard Bridge

<Callout type="info">
**This tutorial is for developers who want to bridge a new ERC-20 token to an OP Stack chain.**
If you want to bridge existing tokens, you can skip to the tutorial on [Bridging ERC-20 tokens with the Optimism SDK](./cross-dom-bridge-erc20).
</Callout>


In this tutorial you'll learn how to bridge a standard ERC-20 token from Ethereum to an OP Stack chain using the Standard Bridge system.
This tutorial is meant for developers who already have an existing ERC-20 token on Ethereum and want to create a bridged representation of that token on layer 2.
Expand Down
7 changes: 3 additions & 4 deletions pages/builders/chain-operators/tutorials/create-l2-rollup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ description: This tutorial walks you through spinning up an OP Stack testnet cha
---

import { Callout, Steps } from 'nextra/components'
import { WipCallout } from '@/components/WipCallout'

<WipCallout />
# Creating Your Own L2 Rollup Testnet

<Callout type="error">
Please **do not rely** on the content of this page as it is currently undergoing maintenance. **Code samples and solutions may not function as expected.**
Please check back for an update or [signup to help us revise this page](https://github.com/ethereum-optimism/docs/labels/tutorial). We welcome your contribution! ❤️
</Callout>


<Callout type="info">
Please **be prepared to set aside approximately one hour** to get everything running properly and **make sure to read through the guide carefully**.
Expand Down
7 changes: 3 additions & 4 deletions pages/builders/chain-operators/tutorials/sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ description: Learn how to use the Optimism SDK to interact with your OP Stack ch
---

import { Callout, Steps } from 'nextra/components'
import { WipCallout } from '@/components/WipCallout'

<WipCallout />
# Using the Optimism SDK

<Callout type="error">
Please **do not rely** on the content of this page as it is currently undergoing maintenance. **Code samples and solutions may not function as expected.**
Please check back for an update or [signup to help us revise this page](https://github.com/ethereum-optimism/docs/labels/tutorial). We welcome your contribution! ❤️
</Callout>


This tutorial will walk you through the process of using the [Optimism SDK](https://sdk.optimism.io) to interact with your OP Stack chain.
The Optimism SDK **natively** supports various OP Chains including OP Mainnet and Base.
Expand Down
1 change: 0 additions & 1 deletion words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ REQUIREDBLOCKS
requiredblocks
Rollouts
Rollups
Routescan
rollups
Routescan
rpckind
Expand Down

0 comments on commit db9c6d7

Please sign in to comment.