-
Notifications
You must be signed in to change notification settings - Fork 54
Update 2-development-setup.md #68
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -12,9 +12,9 @@ Developing on Morph is as straightforward as developing on Ethereum. | |||||||||||||||||||||||||||||||||||||||||||
To deploy contracts onto a MorphL2 chain, simply set the RPC endpoint of your target MorphL2 chain and deploy using your preferred Ethereum development framework: | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
- [Hardhat](https://hardhat.org/) | ||||||||||||||||||||||||||||||||||||||||||||
- [Hardhat](https://hardhat.org) | ||||||||||||||||||||||||||||||||||||||||||||
- [Foundry](https://github.com/foundry-rs/foundry) | ||||||||||||||||||||||||||||||||||||||||||||
- [Brownie](https://eth-brownie.readthedocs.io/en/stable/) | ||||||||||||||||||||||||||||||||||||||||||||
- [Brownie](https://eth-brownie.readthedocs.io/en/stable) | ||||||||||||||||||||||||||||||||||||||||||||
- [Alchemy](https://docs.alchemy.com/reference/alchemy-sdk-quickstart) | ||||||||||||||||||||||||||||||||||||||||||||
- [QuickNode SDK](https://www.quicknode.com/docs/quicknode-sdk/getting-started?utm_source=morph-docs) | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
|
@@ -48,7 +48,7 @@ Tendermint RPC Documentation: https://docs.tendermint.com/v0.34/rpc/#/ | |||||||||||||||||||||||||||||||||||||||||||
--> | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
## Step 2: Set up your developing framework | ||||||||||||||||||||||||||||||||||||||||||||
## Step 2: Set up your development framework | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
### Hardhat | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
|
@@ -93,22 +93,22 @@ const provider = new ethers.providers.JsonRpcProvider( | |||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
# Holesky Testnet: | ||||||||||||||||||||||||||||||||||||||||||||
# Hoodi Testnet: | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
## Step 1: Network Configuration | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
Before you start, ensure you are connected to the following networks: | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
| Network Name | Morph Holesky Testnet | Holesky Testnet | | ||||||||||||||||||||||||||||||||||||||||||||
| Network Name | Morph Hoodi Testnet | Hoodi Testnet | | ||||||||||||||||||||||||||||||||||||||||||||
| --- | --- | --- | | ||||||||||||||||||||||||||||||||||||||||||||
| RPC URL | https://rpc-quicknode-holesky.morphl2.io| https://ethereum-holesky-rpc.publicnode.com/ | | ||||||||||||||||||||||||||||||||||||||||||||
| Chain ID | 2810 | 17000 | | ||||||||||||||||||||||||||||||||||||||||||||
| RPC URL | https://rpc-hoodi.morphl2.io| https://ethereum-hoodi-rpc.publicnode.com | | ||||||||||||||||||||||||||||||||||||||||||||
| Chain ID | 2910 | 560048 | | ||||||||||||||||||||||||||||||||||||||||||||
| Currency Symbol | ETH | ETH | | ||||||||||||||||||||||||||||||||||||||||||||
| Block Explorer URL | https://explorer-holesky.morphl2.io/| https://holesky.etherscan.io/ | | ||||||||||||||||||||||||||||||||||||||||||||
| Block Explorer URL | https://explorer-hoodi.morphl2.io| https://hoodi.etherscan.io | | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
:::tip Websocket Connection | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
wss://rpc-quicknode-holesky.morphl2.io | ||||||||||||||||||||||||||||||||||||||||||||
wss://rpc-hoodi.morphl2.io | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
::: | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
|
@@ -119,7 +119,7 @@ Tendermint RPC: https://rpc-consensus-holesky.morphl2.io | |||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
Tendermint RPC Documentation: https://docs.tendermint.com/v0.34/rpc/#/ | ||||||||||||||||||||||||||||||||||||||||||||
--> | ||||||||||||||||||||||||||||||||||||||||||||
## Step 2: Set up your developing framework | ||||||||||||||||||||||||||||||||||||||||||||
## Step 2: Set up your development framework | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
### Hardhat | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
|
@@ -130,7 +130,7 @@ const config: HardhatUserConfig = { | |||||||||||||||||||||||||||||||||||||||||||
... | ||||||||||||||||||||||||||||||||||||||||||||
networks: { | ||||||||||||||||||||||||||||||||||||||||||||
morphl2: { | ||||||||||||||||||||||||||||||||||||||||||||
url: 'https://rpc-quicknode-holesky.morphl2.io', | ||||||||||||||||||||||||||||||||||||||||||||
url: 'https://rpc-hoodi.morphl2.io', | ||||||||||||||||||||||||||||||||||||||||||||
accounts: | ||||||||||||||||||||||||||||||||||||||||||||
process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [], | ||||||||||||||||||||||||||||||||||||||||||||
gasprice = 2000000000 | ||||||||||||||||||||||||||||||||||||||||||||
|
@@ -158,31 +158,32 @@ Setting up a Morph provider in an ethers script: | |||||||||||||||||||||||||||||||||||||||||||
import { ethers } from 'ethers'; | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
const provider = new ethers.providers.JsonRpcProvider( | ||||||||||||||||||||||||||||||||||||||||||||
'https://rpc-quicknode-holesky.morphl2.io' | ||||||||||||||||||||||||||||||||||||||||||||
'https://rpc-hoodi.morphl2.io' | ||||||||||||||||||||||||||||||||||||||||||||
); | ||||||||||||||||||||||||||||||||||||||||||||
``` | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
## Step 3: Acquire Ether | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
To start building on Morph, you may need some testnet ETH. Use a faucet to acquire holesky Ether, then [bridge](https://bridge-holesky.morphl2.io) the test Ethereum Ether to the Morph testnet. | ||||||||||||||||||||||||||||||||||||||||||||
To start building on Morph, you may need some testnet ETH. Use a faucet to acquire Hoodi Ether, then [bridge](https://bridge-hoodi.morphl2.io) the test Ethereum Ether to the Morph testnet. | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
Each faucet has its own rules and requirements, so you may need to try a few before finding one that works for you. | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
Holesky ETH faucet websites: | ||||||||||||||||||||||||||||||||||||||||||||
Hoodi ETH faucet websites: | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
https://stakely.io/en/faucet/ethereum-holesky-testnet-eth | ||||||||||||||||||||||||||||||||||||||||||||
https://stakely.io/faucet/ethereum-hoodi-testnet-eth | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
https://faucet.quicknode.com/ethereum/holesky | ||||||||||||||||||||||||||||||||||||||||||||
https://faucet.quicknode.com/ethereum/hoodi | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
https://holesky-faucet.pk910.de/ | ||||||||||||||||||||||||||||||||||||||||||||
https://hoodi-faucet.pk910.de | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
https://cloud.google.com/application/web3/faucet/ethereum (needs a Google account) | ||||||||||||||||||||||||||||||||||||||||||||
Comment on lines
+171
to
179
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wrap faucet URLs in angle brackets. The bare URLs should be wrapped in angle brackets per Markdown best practices. Apply this diff: Hoodi ETH faucet websites:
-https://stakely.io/faucet/ethereum-hoodi-testnet-eth
+<https://stakely.io/faucet/ethereum-hoodi-testnet-eth>
-https://faucet.quicknode.com/ethereum/hoodi
+<https://faucet.quicknode.com/ethereum/hoodi>
-https://hoodi-faucet.pk910.de
+<https://hoodi-faucet.pk910.de>
-https://cloud.google.com/application/web3/faucet/ethereum (needs a Google account)
+<https://cloud.google.com/application/web3/faucet/ethereum> (needs a Google account) 📝 Committable suggestion
Suggested change
🧰 Tools🪛 markdownlint-cli2 (0.18.1)173-173: Bare URL used (MD034, no-bare-urls) 175-175: Bare URL used (MD034, no-bare-urls) 177-177: Bare URL used (MD034, no-bare-urls) 179-179: Bare URL used (MD034, no-bare-urls) 🤖 Prompt for AI Agents
|
||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
We have our own [website faucet](https://morphfaucet.com/) that can claim ETH & USDT for you initial usage. | ||||||||||||||||||||||||||||||||||||||||||||
We have our own [website faucet](https://morphfaucet.com) that can claim ETH & USDT for your initial usage. | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
Morph also offers a [Discord faucet](../../quick-start/3-faucet.md#morph-holesky-eth) to obtain Morph Holesky USDT & Morph Holesky ETH. | ||||||||||||||||||||||||||||||||||||||||||||
Morph also offers a [Discord faucet](../../quick-start/3-faucet.md#morph-holesky-eth) to obtain Morph Hoodi USDT & Morph Hoodi ETH. | ||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Incomplete Holesky→Hoodi replacement. Line 184 still references "Morph Holesky" which should be updated to "Morph Hoodi" to complete the network terminology migration. Apply this diff: -Morph also offers a [Discord faucet](../../quick-start/3-faucet.md#morph-holesky-eth) to obtain Morph Hoodi USDT & Morph Hoodi ETH.
+Morph also offers a [Discord faucet](../../quick-start/3-faucet.md#morph-hoodi-eth) to obtain Morph Hoodi USDT & Morph Hoodi ETH. Note: The anchor link in the URL ( 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
Once you receive ETH on Hoodi, you should see it in your wallet on the *Hoodi Network*. It may take a few seconds for them to appear, but you can check the status by looking for a transaction to your address on a **[Hoodi Block Explorer](https://hoodi.etherscan.io)**. | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
Once you receive ETH on Holesky, you should see it in your wallet on the *Holesky Network*. It may take a few seconds for them to appear, but you can check the status by looking for a transaction to your address on a **[Holesky Block Explorer](https://holesky.etherscan.io/)**. | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrap bare URLs in angle brackets.
The network configuration table contains bare URLs that should be wrapped in angle brackets per Markdown best practices.
Apply this diff:
📝 Committable suggestion
🧰 Tools
🪛 markdownlint-cli2 (0.18.1)
104-104: Bare URL used
(MD034, no-bare-urls)
104-104: Bare URL used
(MD034, no-bare-urls)
107-107: Bare URL used
(MD034, no-bare-urls)
107-107: Bare URL used
(MD034, no-bare-urls)
🤖 Prompt for AI Agents