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

Bridging ETH to OP Mainnet With Viem #906

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
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
38 changes: 0 additions & 38 deletions .github/workflows/tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,45 +10,7 @@ concurrency:
cancel-in-progress: false

jobs:
cross-dom-bridge-erc20:
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20.x'

- name: Install pnpm
run: npm install -g pnpm

- name: Install dependencies
run: pnpm install

- name: Run tutorial
env:
TUTORIAL_PRIVATE_KEY: ${{ secrets.TUTORIAL_PRIVATE_KEY }}
run:
node ./public/tutorials/cross-dom-bridge-erc20.js

- name: Notify Slack on failure
uses: ravsamhq/notify-slack-action@v2
if: always()
with:
status: ${{ job.status }}
notify_when: "failure"
notification_title: "{workflow} has {status_message} (<{run_url}|view errors>)"
message_format: "{emoji} *{workflow}* {status_message} in <{repo_url}|{repo}>"
footer: "<{run_url}|View Run>"
mention_users_when: "failure,warnings"
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

cross-dom-bridge-eth:
needs: cross-dom-bridge-erc20
runs-on: ubuntu-latest

steps:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"nextra-theme-docs": "2.13.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"search-insights": "^2.15.0"
"search-insights": "^2.15.0",
"viem": "^2.21.18"
krofax marked this conversation as resolved.
Show resolved Hide resolved
},
"devDependencies": {
"@double-great/remark-lint-alt-text": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion pages/builders/app-developers/tutorials/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"first-contract": "Deploying Your First Contract on OP Mainnet",
"cross-dom-solidity": "Communicating Between Chains in Solidity",
"cross-dom-bridge-eth": "Bridging ETH With the Optimism SDK",
"cross-dom-bridge-eth": "Bridging ETH to OP Mainnet With Viem",
"cross-dom-bridge-erc20": "Bridging ERC-20 Tokens With the Optimism SDK",
"standard-bridge-custom-token": "Bridging Your Custom ERC-20 Token to OP Mainnet",
"standard-bridge-standard-token": "Bridging Your Standard ERC-20 Token to OP Mainnet",
Expand Down
Loading
Loading