Skip to content

added holesky docs and public images for the same #4469

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions docs/src/assets/images/faq/holesky-01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/src/assets/images/faq/holesky-02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/src/assets/images/faq/holesky-03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/src/assets/images/faq/holesky-04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/src/assets/images/faq/holesky-05.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/src/assets/images/faq/holesky-06.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 74 additions & 0 deletions docs/src/content/docs/faq/how-to-get-weth-on-holesky.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
---
title: How to Get WETH on Holesky/Sepolia for testnet app
---

import { Image } from "astro:assets";

This guide will walk you through how to convert ETH to WETH on the Holesky testnet using the official WETH contract.

You’ll need to have ETH on Holesky and a Web3 wallet like MetaMask connected to the Holesky network.

---

## Prerequisites

Before you start, make sure you have ETH on Holesky.

If you don’t, you can claim ETH from the following faucets:

- [Alchemy Holesky Faucet](https://alchemy.com/faucets/holesky)
- [Google Cloud Faucet](https://cloud.google.com/application/web3/faucet)

Also, confirm your wallet is connected to the Holesky testnet.

---

## Convert ETH to WETH

1. Open the official WETH contract on Holesky Etherscan:
[https://holesky.etherscan.io/address/0x94373a4919b3240d86ea41593d5eba789fef3848](https://holesky.etherscan.io/address/0x94373a4919b3240d86ea41593d5eba789fef3848)

2. Scroll to the **Contract** section.

<Image src="/faq/holesky-01.png" width="3500" height="1400" alt="holesky-01" />

3. Click the **Write Contract** tab.

<Image src="/faq/holesky-02.png" width="3500" height="1400" alt="holesky-01" />

4. Click **Connect to Web3** and connect your wallet.

<Image src="/faq/holesky-04.png" width="3500" height="1400" alt="holesky-01" />

5. Locate the `deposit()` function.

<Image src="/faq/holesky-05.png" width="3500" height="1400" alt="holesky-01" />

6. Enter the amount of ETH you want to convert to WETH.
Make sure you have enough ETH to cover the amount and gas fees.

7. Click **Write** and approve the transaction in your wallet.

<Image src="/faq/holesky-06.png" width="3500" height="1400" alt="holesky-01" />

---

## Add WETH Token to MetaMask (Optional)

If WETH doesn’t appear in your wallet after the transaction, add it manually:

- **Token Contract Address**: `0x94373a4919B3240D86eA41593D5eBa789FEF3848`

<Image src="/faq/holesky-03.png" width="3500" height="1400" alt="holesky-01" />

---

## Note on Sepolia Testnet

The same steps outlined above also apply if you're using the Sepolia testnet instead of Holesky. You will follow the same process on [Sepolia Etherscan](https://sepolia.etherscan.io/address/0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9), using the WETH contract address for Sepolia:

- **The official WETH contract on Sepolia Etherscan:** [https://sepolia.etherscan.io/address/0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9](https://sepolia.etherscan.io/address/0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9)
- **Sepolia WETH Contract Address**: `0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9`

Ensure you are connected to the Sepolia network in your wallet and have Sepolia ETH from a faucet. Everything else, including writing to the deposit function, remains the same.

Loading