Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app-developers/guides/bridging/custom-bridge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ You **must** deploy your bridge to OP Sepolia before it can be added to the Supe
You can explore several examples of custom bridges for OP Mainnet:

* [NFT Bridge](https://github.com/ethereum-optimism/optimism/blob/v1.1.4/packages/contracts-bedrock/src/L1/L1ERC721Bridge.sol)
* [L2 DAI Token Bridge](https://explorer.optimism.io/address/0x467194771dae2967aef3ecbedd3bf9a310c76c65#code) and [deployed addresses](https://github.com/ethereum-optimism/ethereum-optimism.github.io/blob/master/data/DAI/data.json)
* [L2 DAI Token Bridge](https://optimistic.etherscan.io/address/0x467194771dae2967aef3ecbedd3bf9a310c76c65#code) and [deployed addresses](https://github.com/ethereum-optimism/ethereum-optimism.github.io/blob/master/data/DAI/data.json)
* [SNX Bridge](https://github.com/ethereum-optimism/ethereum-optimism.github.io/blob/master/data/SNX/data.json)
10 changes: 9 additions & 1 deletion app-developers/guides/bridging/standard-bridge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -252,4 +252,12 @@ Once you've found the token you want to bridge, look for the token's name and sy
The address of this entry is the address of the bridged representation of the token you want to bridge.


</Step></Steps>
</Step>
<Step title="Find the bridge contract address used by the token pair">
Identify the cross-chain bridge contract address used by the token pair.
You can observe that some token pairs in the list utilize **custom bridge contracts** instead of the default Standard Bridge.
Verify the bridge contract specified in the token list entry to ensure you are interacting with the correct bridge implementation for that token.


</Step>
</Steps>
4 changes: 4 additions & 0 deletions app-developers/tutorials/bridging/cross-dom-bridge-eth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ This tutorial explains how you can use [Viem](https://viem.sh) to bridge ETH bet
Viem is a TypeScript interface for Ethereum that provides low-level stateless primitives for interacting with Ethereum.
It offers an easy way to add bridging functionality to your JavaScript-based application.

<Info>
Users can deposit ETH by interacting with the **[L1StandardBridgeProxy](/op-mainnet/network-information/op-addresses)**. In this tutorial, viem deposits ETH by writing to the [depositTransaction](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L1/OptimismPortal2.sol#L554) function on the [Optimism Portal contract](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L1/OptimismPortal2.sol).
[Deposited transactions](https://specs.optimism.io/protocol/deposits.html), also known as deposits, are transactions that are initiated on L1 and executed on L2.
</Info>

## Supported networks

Expand Down