From 85d178d18b2d35f2ff278c8b45224371bd7d4ac6 Mon Sep 17 00:00:00 2001 From: wd021 Date: Thu, 21 Mar 2024 14:15:23 +0000 Subject: [PATCH 1/3] fix doc --- .../1-deploy-contract-on-morph.md | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/docs/build-on-morph/practical-examples/1-deploy-contract-on-morph.md b/docs/build-on-morph/practical-examples/1-deploy-contract-on-morph.md index 4a4cadb0..9be15d5c 100644 --- a/docs/build-on-morph/practical-examples/1-deploy-contract-on-morph.md +++ b/docs/build-on-morph/practical-examples/1-deploy-contract-on-morph.md @@ -1,21 +1,19 @@ --- title: Deploy Contracts on Morph lang: en-US -keywords: [morph,ethereum,rollup,layer2,validity proof,optimstic zk-rollup] +keywords: [morph, ethereum, rollup, layer2, validity proof, optimstic zk-rollup] description: Upgrade your blockchain experience with Morph - the secure decentralized, cost0efficient, and high-performing optimstic zk-rollup solution. Try it now! --- - - -The Morph Sepolia Testnet allows anyone to deploy a smart contract on Morph. In this tutorial, you will learn how to deploy a contract on Morph Sepolia using common tools for developing on Ethereum. +The Morph Sepolia Testnet allows anyone to deploy a smart contract on Morph. In this tutorial, you will learn how to deploy a contract on Morph Sepolia using common tools for developing on Ethereum. This [demo repo](https://github.com/morph-l2/morph-examples/tree/main/contract-deploy-demo) illustrates contract deployment with [Hardhat](https://hardhat.org/) and [Foundry](https://github.com/foundry-rs/foundry). :::tip - Before you start deploying the contract, you need to request test tokens from a Sepolia faucet and use the - [bridge](https://bridge-testnet.morphl2.io) to transfer some test ETH from _Sepolia_ to _Morph Sepolia_. - - See our [Faucet](../../quick-start/3-faucet.md) for details. +Before you start deploying the contract, you need to request test tokens from a Sepolia faucet and use the +[bridge](https://bridge-testnet.morphl2.io) to transfer some test ETH from _Sepolia_ to _Morph Sepolia_. + +See our [Faucet](../../quick-start/3-faucet.md) for details. ::: - ## Deploy contracts with Hardhat 1. If you haven't already, install [nodejs](https://nodejs.org/en/download/) and [yarn](https://classic.yarnpkg.com/lang/en/docs/install). @@ -32,6 +29,7 @@ This [demo repo](https://github.com/morph-l2/morph-examples/tree/main/contract-d ```shell git clone https://github.com/morph-l2/morph-examples.git + cd morph-examples cd contract-deploy-demo yarn install ``` @@ -50,6 +48,7 @@ This [demo repo](https://github.com/morph-l2/morph-examples/tree/main/contract-d ```shell git clone https://github.com/morph-l2/morph-examples.git + cd morph-examples cd contract-deploy-demo ``` @@ -93,9 +92,6 @@ This [demo repo](https://github.com/morph-l2/morph-examples/tree/main/contract-d Transaction hash: ``` - ## Questions and Feedback Thank you for participating in and developing on the Morph Sepolia Testnet! If you encounter any issues, join our [Discord](https://discord.com/invite/5SmG4yhzVZ) and find us at #dev-help channel. - - From 55cdf38e3feb0effb8be2a58bc56c15bfdd1635c Mon Sep 17 00:00:00 2001 From: wd021 Date: Thu, 21 Mar 2024 14:21:01 +0000 Subject: [PATCH 2/3] Revert "fix doc" This reverts commit 85d178d18b2d35f2ff278c8b45224371bd7d4ac6. --- .../1-deploy-contract-on-morph.md | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/docs/build-on-morph/practical-examples/1-deploy-contract-on-morph.md b/docs/build-on-morph/practical-examples/1-deploy-contract-on-morph.md index 9be15d5c..4a4cadb0 100644 --- a/docs/build-on-morph/practical-examples/1-deploy-contract-on-morph.md +++ b/docs/build-on-morph/practical-examples/1-deploy-contract-on-morph.md @@ -1,19 +1,21 @@ --- title: Deploy Contracts on Morph lang: en-US -keywords: [morph, ethereum, rollup, layer2, validity proof, optimstic zk-rollup] +keywords: [morph,ethereum,rollup,layer2,validity proof,optimstic zk-rollup] description: Upgrade your blockchain experience with Morph - the secure decentralized, cost0efficient, and high-performing optimstic zk-rollup solution. Try it now! --- -The Morph Sepolia Testnet allows anyone to deploy a smart contract on Morph. In this tutorial, you will learn how to deploy a contract on Morph Sepolia using common tools for developing on Ethereum. + + +The Morph Sepolia Testnet allows anyone to deploy a smart contract on Morph. In this tutorial, you will learn how to deploy a contract on Morph Sepolia using common tools for developing on Ethereum. This [demo repo](https://github.com/morph-l2/morph-examples/tree/main/contract-deploy-demo) illustrates contract deployment with [Hardhat](https://hardhat.org/) and [Foundry](https://github.com/foundry-rs/foundry). :::tip -Before you start deploying the contract, you need to request test tokens from a Sepolia faucet and use the -[bridge](https://bridge-testnet.morphl2.io) to transfer some test ETH from _Sepolia_ to _Morph Sepolia_. - -See our [Faucet](../../quick-start/3-faucet.md) for details. + Before you start deploying the contract, you need to request test tokens from a Sepolia faucet and use the + [bridge](https://bridge-testnet.morphl2.io) to transfer some test ETH from _Sepolia_ to _Morph Sepolia_. + + See our [Faucet](../../quick-start/3-faucet.md) for details. ::: + ## Deploy contracts with Hardhat 1. If you haven't already, install [nodejs](https://nodejs.org/en/download/) and [yarn](https://classic.yarnpkg.com/lang/en/docs/install). @@ -29,7 +32,6 @@ See our [Faucet](../../quick-start/3-faucet.md) for details. ```shell git clone https://github.com/morph-l2/morph-examples.git - cd morph-examples cd contract-deploy-demo yarn install ``` @@ -48,7 +50,6 @@ See our [Faucet](../../quick-start/3-faucet.md) for details. ```shell git clone https://github.com/morph-l2/morph-examples.git - cd morph-examples cd contract-deploy-demo ``` @@ -92,6 +93,9 @@ See our [Faucet](../../quick-start/3-faucet.md) for details. Transaction hash: ``` + ## Questions and Feedback Thank you for participating in and developing on the Morph Sepolia Testnet! If you encounter any issues, join our [Discord](https://discord.com/invite/5SmG4yhzVZ) and find us at #dev-help channel. + + From b04f4cd3bddcaa12d2b5db9723a650e00b835eb9 Mon Sep 17 00:00:00 2001 From: wd021 Date: Thu, 21 Mar 2024 14:22:40 +0000 Subject: [PATCH 3/3] fix doc --- .../practical-examples/1-deploy-contract-on-morph.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/build-on-morph/practical-examples/1-deploy-contract-on-morph.md b/docs/build-on-morph/practical-examples/1-deploy-contract-on-morph.md index 4a4cadb0..95225a3a 100644 --- a/docs/build-on-morph/practical-examples/1-deploy-contract-on-morph.md +++ b/docs/build-on-morph/practical-examples/1-deploy-contract-on-morph.md @@ -32,6 +32,7 @@ This [demo repo](https://github.com/morph-l2/morph-examples/tree/main/contract-d ```shell git clone https://github.com/morph-l2/morph-examples.git + cd morph-examples cd contract-deploy-demo yarn install ``` @@ -50,6 +51,7 @@ This [demo repo](https://github.com/morph-l2/morph-examples/tree/main/contract-d ```shell git clone https://github.com/morph-l2/morph-examples.git + cd morph-examples cd contract-deploy-demo ```