Skip to content
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

Two typos in: Update README.md #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions cross-dom-bridge-eth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ require('dotenv').config()
The libraries we need: [`ethers`](https://docs.ethers.io/v5/), [`dotenv`](https://www.npmjs.com/package/dotenv) and the Conduit and Optimism SDK themselves.

```js
// Your settlment layer rpc url here
// Your settlement layer rpc url here
const l1Url = `https://l1-conduit-opstack-demo-nhl9xsg0wg.t.conduit.xyz`
// Your conduit rpc url here
const l2Url = `https://l2-conduit-opstack-demo-nhl9xsg0wg.t.conduit.xyz`
Expand Down Expand Up @@ -176,7 +176,7 @@ To show that the deposit actually happened we show before and after balances.
const response = await crossChainMessenger.depositETH(gwei)
```

[`crossChainMessenger.depositETH()`](https://sdk.optimism.io/classes/crosschainmessenger#depositETH-2) creates and sends the deposit trasaction on L1.
[`crossChainMessenger.depositETH()`](https://sdk.optimism.io/classes/crosschainmessenger#depositETH-2) creates and sends the deposit transaction on L1.

```js
console.log(`Transaction hash (on L1): ${response.hash}`)
Expand Down