Skip to content

Commit 9fd44fa

Browse files
committed
viem updates
- fix meta json file - add Viem as proper noun - update tutorial page to reflect
1 parent d3e6cbb commit 9fd44fa

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

nouns.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ Granite
1616
Holocene
1717
Monitorism
1818
Kubernetes
19-
Fault Proof System
19+
Fault Proof System
20+
Viem

pages/builders/app-developers/tutorials/_meta.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"first-contract": "Deploying your first contract on OP Mainnet",
33
"cross-dom-solidity": "Communicating between chains in Solidity",
4-
"cross-dom-bridge-eth": "Bridging ETH with the Optimism SDK",
4+
"cross-dom-bridge-eth": "Bridging ETH with Viem",
55
"cross-dom-bridge-erc20": "Bridging ERC-20 tokens with the Optimism SDK",
66
"standard-bridge-custom-token": "Bridging your custom ERC-20 token to OP Mainnet",
77
"standard-bridge-standard-token": "Bridging your standard ERC-20 token to OP Mainnet",

pages/builders/app-developers/tutorials/cross-dom-bridge-eth.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Bridging ETH with viem
2+
title: Bridging ETH with Viem
33
lang: en-US
44
description: Learn how to use Viem to transfer ETH between Layer 1 (Ethereum or Sepolia) and Layer 2 (OP Mainnet or OP Sepolia).
55
---
66

77
import { Callout, Steps, Tabs } from 'nextra/components'
88

9-
# Bridging ETH to OP Mainnet with viem
9+
# Bridging ETH to OP Mainnet with Viem
1010

1111
This tutorial explains how you can use [Viem](https://viem.sh) to bridge ETH from L1 (Ethereum or Sepolia) to L2 (OP Mainnet or OP Sepolia).
1212
Viem is a TypeScript interface for Ethereum that provides low-level stateless primitives for interacting with Ethereum.
@@ -45,7 +45,7 @@ Since Viem is a [Node.js](https://nodejs.org/en/) library, you'll need to create
4545
pnpm init
4646
```
4747

48-
{<h3>Install the viem library</h3>}
48+
{<h3>Install the Viem library</h3>}
4949

5050
```bash
5151
pnpm add viem
@@ -92,7 +92,7 @@ This will bring up a Node REPL prompt that allows you to run JavaScript code.
9292
You need to import some dependencies into your Node REPL session.
9393

9494
<Steps>
95-
{<h3>Import viem and other packages</h3>}
95+
{<h3>Import Viem and other packages</h3>}
9696

9797
```js file=<rootDir>/public/tutorials/cross-dom-bridge-eth.js#L3-L6 hash=88319dda3322e76accb9e50222d30abc
9898
```

0 commit comments

Comments
 (0)