Skip to content

Use the @eth-optimism/viem package to transfer ERC-20 tokens #1470

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 30 commits into from
May 16, 2025
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
be63b65
update tut
krofax Mar 6, 2025
9fc42e5
testing
krofax Mar 6, 2025
5806584
added a viem
krofax Mar 6, 2025
333c337
fix nextra
krofax Mar 6, 2025
16e768c
updated lock file
krofax Mar 6, 2025
daeec8b
fix merge conflict
krofax Mar 6, 2025
fda10d5
updated lockfile
krofax Mar 6, 2025
7b16cf7
update netlify build
krofax Mar 6, 2025
f3ddcdf
updated the lock
krofax Mar 6, 2025
455696a
updated branch
krofax Mar 6, 2025
a4cf8bd
updating tuts
krofax Mar 6, 2025
a47ce5e
update tut
krofax Mar 10, 2025
22c650c
updated codebase and contents
krofax Mar 21, 2025
3fb2bf2
Auto-fix: Update breadcrumbs, spelling dictionary and other automated…
krofax Mar 21, 2025
723c4b8
Update pages/app-developers/tutorials/bridging/cross-dom-bridge-erc20…
krofax Mar 21, 2025
3fb0ccf
updated the codebase
krofax Mar 27, 2025
b0a6f00
Auto-fix: Update breadcrumbs, spelling dictionary and other automated…
krofax Mar 27, 2025
01cf9ec
updated the codebase and import
krofax Mar 28, 2025
f14cc9b
updated the scripts and file imports
krofax Apr 3, 2025
b448e9a
updated the file imports
krofax Apr 3, 2025
aa7d0a3
updated codes, contents and file imports
krofax Apr 3, 2025
f4d741f
updated codebase
krofax Apr 3, 2025
66850f9
tiny updates
krofax Apr 3, 2025
2b25d0c
Add detailed descriptions
krofax Apr 4, 2025
dd7db17
remove weird css bg color
krofax Apr 4, 2025
eeb11c0
fixed file imports
krofax Apr 4, 2025
dfea4bb
fixed another broken file imports
krofax Apr 4, 2025
beae074
fix typo
krofax Apr 4, 2025
5072187
fix hash
krofax Apr 7, 2025
e88aace
update text
krofax Apr 14, 2025
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 .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ commands:
command: pnpm setup # Run setup to configure the global bin directory
- run:
name: Install dependencies
command: npm install -g pnpm && pnpm install
command: npm install -g pnpm && pnpm install --no-frozen-lockfile
- save_cache:
key: v1-pnpm-cache-{{ checksum "pnpm-lock.yaml" }}
paths:
Expand Down
8 changes: 6 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[build]
command = "pnpm install --no-frozen-lockfile && pnpm build"
publish = ".next"

[build.environment]
PNPM_VERSION = "10.2.0"
NODE_VERSION = "20.11.0"
NODE_VERSION = "20.11.0"
NPM_FLAGS = "--no-frozen-lockfile"
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"dependencies": {
"@eth-optimism/contracts-ts": "^0.17.0",
"@eth-optimism/tokenlist": "^9.0.9",
"@eth-optimism/viem": "^0.3.3",
"@feelback/react": "^0.3.4",
"@growthbook/growthbook-react": "^1.3.1",
"@headlessui/react": "^2.1.8",
Expand All @@ -46,7 +47,7 @@
"react-dom": "^18.2.0",
"search-insights": "^2.15.0",
"toml": "^3.0.0",
"viem": "^2.21.18"
"viem": "^2.21.37"
},
"devDependencies": {
"@double-great/remark-lint-alt-text": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion pages/app-developers/transactions/estimates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ It's important to properly estimate the cost of a transaction on OP Mainnet befo
Here you'll learn how to estimate both of the components that make up the total cost of an OP Mainnet transaction, the [execution gas fee](./fees#execution-gas-fee) and the [L1 data fee](./fees#l1-data-fee).
Make sure to read the guide on [Transaction Fees on OP Mainnet](./fees) for a detailed look at how these fees work under the hood.

## Execution gas fee
## Execution gas fee

<Callout type="info">
Estimating the execution gas fee on OP Mainnet is just like estimating the execution gas fee on Ethereum.
Expand Down
Loading