From 8095dcc4dcfd40422145ef35cd6d493cdc35eb04 Mon Sep 17 00:00:00 2001 From: Lucas Leclerc Date: Tue, 29 Oct 2024 10:23:17 +0100 Subject: [PATCH] fix(p2p/foundry): change testnet to Sepolia --- p2p/3.foundry/README.md | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/p2p/3.foundry/README.md b/p2p/3.foundry/README.md index c1f74d58..b7026d92 100644 --- a/p2p/3.foundry/README.md +++ b/p2p/3.foundry/README.md @@ -172,22 +172,25 @@ If it is the right number you should see the following output: During the first steps you interacted with your local blockchain, but now we will use a public one 🚀 Some test networks are available for you to test your contracts, they are called [testnets](https://ethereum.org/en/developers/docs/networks/). -In this step we will interact with the [Goerli](https://goerli.net/) testnet. -We will use [Infura](https://infura.io/)'s nodes to interact with the blockchain. We could also have +In this step we will interact with the [Ethereum Sepolia Testnet](https://www.alchemy.com/overviews/sepolia-testnet). +We will use [Alchemy](https://dashboard.alchemy.com)'s nodes to interact with the blockchain. We could also have run our own node, but it would take too much time. ### 📌 **Tasks**: -- Create a [metamask](https://metamask.io/) account and fund it with some Goerli ETH. - - You can use the [faucet](https://goerlifaucet.com/) to get some Goerli ETH. +- 📡 Download [Metamask](https://metamask.io) and create an account if you don't already have one. It is the most popular Ethereum wallet and allows you to interact with the Ethereum blockchain. +- Get your RPCURL on [Alchemy](https://dashboard.alchemy.com/apps). + - Sign in. + - Click on `Create new app` and enter the project name. + - Go to network, select `Ethereum`, change `mainnet` to `Sepolia`, and copy the URL. +- Add the Sepolia Testnet network to Metamask. [Here's](https://moralis.io/how-to-add-the-sepolia-network-to-metamask-full-guide/) a guide on how to do it. +- Go to the [Sepolia faucet](https://www.alchemy.com/faucets/ethereum-sepolia), enter your wallet address, and send yourself some ETH. + > ⚠️ You need some ETH on the mainnet to receive test tokens. If you don't have any, contact the workshop manager. -- Create an account on [Infura](https://infura.io/) and get an API key. - - You will use this API key to interact with the Goerli testnet. +> You can now broadcast transactions to the Sepolia testnet, by the endpoint `https://eth-sepolia.g.alchemy.com/v2/`. -> You can now broadcast transactions to the Goerli testnet, by the endpoint `https://goerli.infura.io/v3/`. - -- Now deploy and interact with your contract, like you did in the previous steps, but this time on the Goerli testnet. -> Don't forget to use your endpoint, shutdown your local blockchain to be sure you are using the Goerli testnet. +- Now deploy and interact with your contract, like you did in the previous steps, but this time on the Sepolia testnet. +> Don't forget to use your endpoint, shutdown your local blockchain to be sure you are using the Sepolia testnet. ### 📚 **Documentation**: