From c6267b881c758442e78db27de9b8faebc3e774b1 Mon Sep 17 00:00:00 2001 From: yarikbratashchuk Date: Wed, 8 May 2024 01:58:05 +0200 Subject: [PATCH 01/14] Add celestia-da tutorial, network agnostic --- tutorials/celestia-da.md | 115 +++++++++++++++++++++++++++++++++++++++ tutorials/gm-world.md | 4 +- 2 files changed, 117 insertions(+), 2 deletions(-) create mode 100644 tutorials/celestia-da.md diff --git a/tutorials/celestia-da.md b/tutorials/celestia-da.md new file mode 100644 index 000000000..01bb9af24 --- /dev/null +++ b/tutorials/celestia-da.md @@ -0,0 +1,115 @@ +# GM world rollup: Deploying to Celestia + +## ๐ŸŒž Introduction {#introduction} + +This tutorial serves as a comprehensive guide for deploying your gm-world rollup on Celestia's data availability network. From the Rollkit perspective, there's no difference in posting blocks to Celestia's testnet or mainnet beta. + +Before proceeding, ensure that you have completed the [GM World Rollup](/tutorials/gm-world) tutorial, which covers setting up a local sovereign gm-world rollup and connecting it to a local mock DA node. + +## ๐Ÿชถ Runnning a Celestia Light Node + +Before you can start your rollup node, you need to initiate, sync, and possibly fund a light node on one of Celestia's networks: + +- [Arabica Devnet](https://docs.celestia.org/nodes/arabica-devnet#arabica-devnet) +- [Mocha Testnet](https://docs.celestia.org/nodes/mocha-testnet#mocha-testnet) +- [Mainnet Beta](https://docs.celestia.org/nodes/mainnet#mainnet-beta) + +The main difference lies in how you fund your wallet address: using testnet tokens or [TIA](https://docs.celestia.org/learn/tia#overview-of-tia) for the mainnet beta. + +After successfully starting a light node, it's time to start posting the blocks of data that your rollup generates. + +## ๐Ÿงน Cleaning Previous Chain History + +From the [GM World Rollup](/tutorials/gm-world) tutorial, you should already have the `gmd` binary and the `$HOME/.gm` directory. + +To clear old rollup data: + +```bash +rm -r /usr/local/bin/gmd && rm -rf $HOME/.gm + +``` + +## ๐Ÿ—๏ธ Building Your Rollup + +Now we need to rebuild our rollup by simply running the existing `init.sh` script: + +```bash +cd $HOME/gm && bash init.sh +``` + +This process creates a new `$HOME/.gm` directory and a new `gmd` binary. Next, we need to connect our rollup to the running Celestia light node. + +## ๐Ÿ› ๏ธ Configuring Flags for DA + +Now we're ready to start our rollup and connect it to the Celestia light node. There are three DA configuration flags we need to provide to the `gmd start` command: + +- `--rollkit.da_start_height` +- `--rollkit.da_auth_token` +- `--rollkit.da_namespace` + +Let's determine what to provide for each of them. + +First, let's query the DA Layer start height using an RPC endpoint provided by Celestia Labs. For Mocha testnet it would be - https://rpc-mocha.pops.one/block, and for mainnet beta - https://rpc.lunaroasis.net/block + +Here is an example for the Mocha testnet (replace URL for mainnet beta if needed): +```bash +DA_BLOCK_HEIGHT=$(curl https://rpc-mocha.pops.one/block | jq -r '.result.block.header.height') +echo -e "\n Your DA_BLOCK_HEIGHT is $DA_BLOCK_HEIGHT \n" +``` + +You will see the output like this: + +``` + Your DA_BLOCK_HEIGHT is 1777655 +``` + +Now, obtain an authentication token for your light node as follows (for mainnet beta, simply omit the --p2p.network flag): + +```bash +AUTH_TOKEN=$(celestia light auth write --p2p.network mocha) +echo -e "\n Your DA AUTH_TOKEN is $AUTH_TOKEN \n" +``` + +The output would look like this: + +``` + Your DA AUTH_TOKEN is eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBbGxvdyI6WyJwdWJsaWMiLCJyZWFkIiwid3JpdGUiXX0.cSrJjpfUdTNFtzGho69V0D_8kyECn9Mzv8ghJSpKRDE +``` + +Now, let's also set up a namespace for our blocks by simply setting a variable like this: + +```bash +DA_NAMESPACE=00000000000000000000000000000000000000000008e5f679bf7116cb +``` + +:::tip +`00000000000000000000000000000000000000000008e5f679bf7116cb` is a default namespace for mocha testnet. You can set your own by using a command +similar to this (or, you could get creative ๐Ÿ˜Ž): + +```bash +openssl rand -hex 10 +``` + +Replace the last 10 characters in `00000000000000000000000000000000000000000008e5f679bf7116cb` with the newly generated 10 characters. + +[Learn more about namespaces](https://docs.celestia.org/developers/node-tutorial#namespaces). +::: + +## ๐Ÿ”ฅ Running Your Rollup Connected to a Celestia Light Node + +Now let's run our rollup node with all DA flags: + +```bash +gmd start \ + --rollkit.aggregator \ + --rollkit.da_auth_token $AUTH_TOKEN \ + --rollkit.da_namespace $DA_NAMESPACE \ + --rollkit.da_start_height $DA_BLOCK_HEIGHT \ + --minimum-gas-prices="0.025stake" +``` + +Now, the rollup is running and posting blocks (aggregated in batches) to Celestia. You can view your rollup by finding your namespace or account on [Mocha devnet](https://docs.celestia.org/nodes/mocha-testnet#explorers) or [mainnet beta](https://docs.celestia.org/nodes/mainnet#explorers) explorers. + +## ๐ŸŽ‰ Next steps + +Congratulations! You've built a local rollup that posts to Celestia's testnet or mainnet. Well done! Now, go forth and build something great! Good luck! diff --git a/tutorials/gm-world.md b/tutorials/gm-world.md index 5f8389c44..bdc060d36 100644 --- a/tutorials/gm-world.md +++ b/tutorials/gm-world.md @@ -1,5 +1,5 @@ --- -description: Build a sovereign rollup with Ignite CLI, Celestia, and Rollkit locally and on a testnet +description: Build a sovereign rollup using only Rollkit CLI and mocked DA network --- # GM World Rollup @@ -66,7 +66,7 @@ If you get errors of `gmd` not found, you may need to add the `go/bin` directory ::: ```bash -curl -sSL https://rollkit.dev/install-gm-rollup.sh | sh +cd $HOME && curl -sSL https://rollkit.dev/install-gm-rollup.sh | sh ``` ## ๐Ÿš€ Starting Your Rollup {#start-your-rollup} From 0214ef6c2f4f962613ba6ef0c4ed3e3fb64b92a6 Mon Sep 17 00:00:00 2001 From: yarikbratashchuk Date: Wed, 8 May 2024 02:02:14 +0200 Subject: [PATCH 02/14] Update vitepress config --- .vitepress/config.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.vitepress/config.ts b/.vitepress/config.ts index 6679bd2fc..957b749f9 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -213,12 +213,8 @@ function sidebarHome() { collapsed: true, items: [ { - text: "GM world rollup: Part 2, mocha testnet", - link: "/tutorials/gm-world-mocha-testnet", - }, - { - text: "GM world rollup: Part 3, mainnet", - link: "/tutorials/gm-world-mainnet", + text: "Celestia", + link: "/tutorials/celestia-da", }, ], }, From 6dd9dec1d9f8bec574d40d7fdd920835db4c3558 Mon Sep 17 00:00:00 2001 From: yarikbratashchuk Date: Wed, 8 May 2024 16:50:11 +0200 Subject: [PATCH 03/14] Add link to /guides/gas-price --- tutorials/celestia-da.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tutorials/celestia-da.md b/tutorials/celestia-da.md index 01bb9af24..2fe6fb884 100644 --- a/tutorials/celestia-da.md +++ b/tutorials/celestia-da.md @@ -110,6 +110,10 @@ gmd start \ Now, the rollup is running and posting blocks (aggregated in batches) to Celestia. You can view your rollup by finding your namespace or account on [Mocha devnet](https://docs.celestia.org/nodes/mocha-testnet#explorers) or [mainnet beta](https://docs.celestia.org/nodes/mainnet#explorers) explorers. +::: info +For details on configuring gas prices specifically for the DA network, see our [DA Network Gas Price Guide](/guides/gas-price). This is separate from the `--minimum-gas-prices="0.025stake"` setting, which is used for rollup network operations. +::: + ## ๐ŸŽ‰ Next steps Congratulations! You've built a local rollup that posts to Celestia's testnet or mainnet. Well done! Now, go forth and build something great! Good luck! From 1ca3ec6e7a6ca6fde63d3f10eeae40643874e7a8 Mon Sep 17 00:00:00 2001 From: Yarik Bratashchuk Date: Thu, 9 May 2024 14:21:30 +0200 Subject: [PATCH 04/14] Update tutorials/celestia-da.md Co-authored-by: joshcs.eth <46639943+jcstein@users.noreply.github.com> --- tutorials/celestia-da.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/celestia-da.md b/tutorials/celestia-da.md index 2fe6fb884..4f5a6afe4 100644 --- a/tutorials/celestia-da.md +++ b/tutorials/celestia-da.md @@ -72,7 +72,7 @@ echo -e "\n Your DA AUTH_TOKEN is $AUTH_TOKEN \n" The output would look like this: -``` +```bash Your DA AUTH_TOKEN is eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBbGxvdyI6WyJwdWJsaWMiLCJyZWFkIiwid3JpdGUiXX0.cSrJjpfUdTNFtzGho69V0D_8kyECn9Mzv8ghJSpKRDE ``` From 27e8e647e143cd70b73a000bd75f4fb1d5a092ce Mon Sep 17 00:00:00 2001 From: Yarik Bratashchuk Date: Thu, 9 May 2024 14:21:40 +0200 Subject: [PATCH 05/14] Update tutorials/celestia-da.md Co-authored-by: joshcs.eth <46639943+jcstein@users.noreply.github.com> --- tutorials/celestia-da.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/celestia-da.md b/tutorials/celestia-da.md index 4f5a6afe4..d5ca844b4 100644 --- a/tutorials/celestia-da.md +++ b/tutorials/celestia-da.md @@ -59,7 +59,7 @@ echo -e "\n Your DA_BLOCK_HEIGHT is $DA_BLOCK_HEIGHT \n" You will see the output like this: -``` +```bash Your DA_BLOCK_HEIGHT is 1777655 ``` From 2d5a404cc9320d3bb0755ed39e44726c34dd520e Mon Sep 17 00:00:00 2001 From: "joshcs.eth" <46639943+jcstein@users.noreply.github.com> Date: Thu, 9 May 2024 14:39:18 -0400 Subject: [PATCH 06/14] Apply suggestions from code review Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- tutorials/celestia-da.md | 34 +++++++++++++++++----------------- tutorials/gm-world.md | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/tutorials/celestia-da.md b/tutorials/celestia-da.md index d5ca844b4..de0ab87f2 100644 --- a/tutorials/celestia-da.md +++ b/tutorials/celestia-da.md @@ -2,11 +2,11 @@ ## ๐ŸŒž Introduction {#introduction} -This tutorial serves as a comprehensive guide for deploying your gm-world rollup on Celestia's data availability network. From the Rollkit perspective, there's no difference in posting blocks to Celestia's testnet or mainnet beta. +This tutorial serves as a comprehensive guide for deploying your gm-world rollup on Celestia's data availability network. From the Rollkit perspective, there's no difference in posting blocks to Celestia's testnets or Mainnet Beta. Before proceeding, ensure that you have completed the [GM World Rollup](/tutorials/gm-world) tutorial, which covers setting up a local sovereign gm-world rollup and connecting it to a local mock DA node. -## ๐Ÿชถ Runnning a Celestia Light Node +## ๐Ÿชถ Running a Celestia light node Before you can start your rollup node, you need to initiate, sync, and possibly fund a light node on one of Celestia's networks: @@ -14,22 +14,21 @@ Before you can start your rollup node, you need to initiate, sync, and possibly - [Mocha Testnet](https://docs.celestia.org/nodes/mocha-testnet#mocha-testnet) - [Mainnet Beta](https://docs.celestia.org/nodes/mainnet#mainnet-beta) -The main difference lies in how you fund your wallet address: using testnet tokens or [TIA](https://docs.celestia.org/learn/tia#overview-of-tia) for the mainnet beta. +The main difference lies in how you fund your wallet address: using testnet TIA or [TIA](https://docs.celestia.org/learn/tia#overview-of-tia) for Mainnet Beta. -After successfully starting a light node, it's time to start posting the blocks of data that your rollup generates. +After successfully starting a light node, it's time to start posting the batches of blocks of data that your rollup generates. -## ๐Ÿงน Cleaning Previous Chain History +## ๐Ÿงน Cleaning previous chain history -From the [GM World Rollup](/tutorials/gm-world) tutorial, you should already have the `gmd` binary and the `$HOME/.gm` directory. +From the [GM world rollup](/tutorials/gm-world) tutorial, you should already have the `gmd` binary and the `$HOME/.gm` directory. To clear old rollup data: ```bash rm -r /usr/local/bin/gmd && rm -rf $HOME/.gm - ``` -## ๐Ÿ—๏ธ Building Your Rollup +## ๐Ÿ—๏ธ Building your rollup Now we need to rebuild our rollup by simply running the existing `init.sh` script: @@ -39,9 +38,9 @@ cd $HOME/gm && bash init.sh This process creates a new `$HOME/.gm` directory and a new `gmd` binary. Next, we need to connect our rollup to the running Celestia light node. -## ๐Ÿ› ๏ธ Configuring Flags for DA +## ๐Ÿ› ๏ธ Configuring flags for DA -Now we're ready to start our rollup and connect it to the Celestia light node. There are three DA configuration flags we need to provide to the `gmd start` command: +Now we're prepared to initiate our rollup and establish a connection with the Celestia light node. The `gmd start` command requires three DA configuration flags: - `--rollkit.da_start_height` - `--rollkit.da_auth_token` @@ -49,9 +48,10 @@ Now we're ready to start our rollup and connect it to the Celestia light node. T Let's determine what to provide for each of them. -First, let's query the DA Layer start height using an RPC endpoint provided by Celestia Labs. For Mocha testnet it would be - https://rpc-mocha.pops.one/block, and for mainnet beta - https://rpc.lunaroasis.net/block +First, let's query the DA Layer start height using an RPC endpoint provided by Celestia Labs. For Mocha testnet it would be - [https://rpc-mocha.pops.one/block](https://rpc-mocha.pops.one/block), and for mainnet beta - [https://rpc.lunaroasis.net/block](https://rpc.lunaroasis.net/block) Here is an example for the Mocha testnet (replace URL for mainnet beta if needed): + ```bash DA_BLOCK_HEIGHT=$(curl https://rpc-mocha.pops.one/block | jq -r '.result.block.header.height') echo -e "\n Your DA_BLOCK_HEIGHT is $DA_BLOCK_HEIGHT \n" @@ -63,14 +63,14 @@ You will see the output like this: Your DA_BLOCK_HEIGHT is 1777655 ``` -Now, obtain an authentication token for your light node as follows (for mainnet beta, simply omit the --p2p.network flag): +Now, obtain an authentication token for your light node as follows (for Mainnet Beta, simply omit the --p2p.network flag): ```bash AUTH_TOKEN=$(celestia light auth write --p2p.network mocha) echo -e "\n Your DA AUTH_TOKEN is $AUTH_TOKEN \n" ``` -The output would look like this: +The output will look like this: ```bash Your DA AUTH_TOKEN is eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBbGxvdyI6WyJwdWJsaWMiLCJyZWFkIiwid3JpdGUiXX0.cSrJjpfUdTNFtzGho69V0D_8kyECn9Mzv8ghJSpKRDE @@ -83,19 +83,19 @@ DA_NAMESPACE=00000000000000000000000000000000000000000008e5f679bf7116cb ``` :::tip -`00000000000000000000000000000000000000000008e5f679bf7116cb` is a default namespace for mocha testnet. You can set your own by using a command +`00000000000000000000000000000000000000000008e5f679bf7116cb` is a default namespace for Mocha testnet. You can set your own by using a command similar to this (or, you could get creative ๐Ÿ˜Ž): ```bash openssl rand -hex 10 ``` -Replace the last 10 characters in `00000000000000000000000000000000000000000008e5f679bf7116cb` with the newly generated 10 characters. +Replace the last 20 characters (10 bytes) in `00000000000000000000000000000000000000000008e5f679bf7116cb` with the newly generated 10 bytes. [Learn more about namespaces](https://docs.celestia.org/developers/node-tutorial#namespaces). ::: -## ๐Ÿ”ฅ Running Your Rollup Connected to a Celestia Light Node +## ๐Ÿ”ฅ Running your rollup connected to a Celestia light node Now let's run our rollup node with all DA flags: @@ -108,7 +108,7 @@ gmd start \ --minimum-gas-prices="0.025stake" ``` -Now, the rollup is running and posting blocks (aggregated in batches) to Celestia. You can view your rollup by finding your namespace or account on [Mocha devnet](https://docs.celestia.org/nodes/mocha-testnet#explorers) or [mainnet beta](https://docs.celestia.org/nodes/mainnet#explorers) explorers. +Now, the rollup is running and posting blocks (aggregated in batches) to Celestia. You can view your rollup by finding your namespace or account on [Mocha testnet](https://docs.celestia.org/nodes/mocha-testnet#explorers) or [mainnet beta](https://docs.celestia.org/nodes/mainnet#explorers) explorers. ::: info For details on configuring gas prices specifically for the DA network, see our [DA Network Gas Price Guide](/guides/gas-price). This is separate from the `--minimum-gas-prices="0.025stake"` setting, which is used for rollup network operations. diff --git a/tutorials/gm-world.md b/tutorials/gm-world.md index d1f0c23b6..4d7c02d7a 100644 --- a/tutorials/gm-world.md +++ b/tutorials/gm-world.md @@ -71,7 +71,7 @@ If you get errors of `gmd` not found, you may need to add the `go/bin` directory cd $HOME && curl -sSL https://rollkit.dev/install-gm-rollup.sh | sh ``` -## ๐Ÿš€ Starting Your Rollup {#start-your-rollup} +## ๐Ÿš€ Starting your rollup {#start-your-rollup} Start the rollup, posting to the local DA network: From 3f5bd145a727390c21f75361343e6d5689439418 Mon Sep 17 00:00:00 2001 From: "joshcs.eth" <46639943+jcstein@users.noreply.github.com> Date: Thu, 9 May 2024 14:40:42 -0400 Subject: [PATCH 07/14] Update tutorials/celestia-da.md --- tutorials/celestia-da.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/celestia-da.md b/tutorials/celestia-da.md index de0ab87f2..524029bba 100644 --- a/tutorials/celestia-da.md +++ b/tutorials/celestia-da.md @@ -110,7 +110,7 @@ gmd start \ Now, the rollup is running and posting blocks (aggregated in batches) to Celestia. You can view your rollup by finding your namespace or account on [Mocha testnet](https://docs.celestia.org/nodes/mocha-testnet#explorers) or [mainnet beta](https://docs.celestia.org/nodes/mainnet#explorers) explorers. -::: info +::: info For details on configuring gas prices specifically for the DA network, see our [DA Network Gas Price Guide](/guides/gas-price). This is separate from the `--minimum-gas-prices="0.025stake"` setting, which is used for rollup network operations. ::: From cdc7dcc18c0bab637af981624c56ba25cef305d0 Mon Sep 17 00:00:00 2001 From: "joshcs.eth" <46639943+jcstein@users.noreply.github.com> Date: Thu, 9 May 2024 14:42:22 -0400 Subject: [PATCH 08/14] Update tutorials/celestia-da.md --- tutorials/celestia-da.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/celestia-da.md b/tutorials/celestia-da.md index 524029bba..f30124386 100644 --- a/tutorials/celestia-da.md +++ b/tutorials/celestia-da.md @@ -2,7 +2,7 @@ ## ๐ŸŒž Introduction {#introduction} -This tutorial serves as a comprehensive guide for deploying your gm-world rollup on Celestia's data availability network. From the Rollkit perspective, there's no difference in posting blocks to Celestia's testnets or Mainnet Beta. +This tutorial serves as a comprehensive guide for deploying your GM world rollup on Celestia's data availability network. From the Rollkit perspective, there's no difference in posting blocks to Celestia's testnets or Mainnet Beta. Before proceeding, ensure that you have completed the [GM World Rollup](/tutorials/gm-world) tutorial, which covers setting up a local sovereign gm-world rollup and connecting it to a local mock DA node. From bb8598c5306e48e9de755d8b6daebacc310575ed Mon Sep 17 00:00:00 2001 From: "joshcs.eth" <46639943+jcstein@users.noreply.github.com> Date: Thu, 9 May 2024 14:47:25 -0400 Subject: [PATCH 09/14] Update tutorials/celestia-da.md --- tutorials/celestia-da.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/celestia-da.md b/tutorials/celestia-da.md index f30124386..7bfd1a935 100644 --- a/tutorials/celestia-da.md +++ b/tutorials/celestia-da.md @@ -4,7 +4,7 @@ This tutorial serves as a comprehensive guide for deploying your GM world rollup on Celestia's data availability network. From the Rollkit perspective, there's no difference in posting blocks to Celestia's testnets or Mainnet Beta. -Before proceeding, ensure that you have completed the [GM World Rollup](/tutorials/gm-world) tutorial, which covers setting up a local sovereign gm-world rollup and connecting it to a local mock DA node. +Before proceeding, ensure that you have completed the [GM world rollup](/tutorials/gm-world) tutorial, which covers setting up a local sovereign gm-world rollup and connecting it to a local mock DA node. ## ๐Ÿชถ Running a Celestia light node From 0f92d733bc5b59de2fd9198028f5b475f4609255 Mon Sep 17 00:00:00 2001 From: "joshcs.eth" <46639943+jcstein@users.noreply.github.com> Date: Thu, 9 May 2024 14:52:35 -0400 Subject: [PATCH 10/14] Apply suggestions from code review --- tutorials/celestia-da.md | 10 +++++----- tutorials/gm-world.md | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tutorials/celestia-da.md b/tutorials/celestia-da.md index 7bfd1a935..85c24f7ef 100644 --- a/tutorials/celestia-da.md +++ b/tutorials/celestia-da.md @@ -2,7 +2,7 @@ ## ๐ŸŒž Introduction {#introduction} -This tutorial serves as a comprehensive guide for deploying your GM world rollup on Celestia's data availability network. From the Rollkit perspective, there's no difference in posting blocks to Celestia's testnets or Mainnet Beta. +This tutorial serves as a comprehensive guide for deploying your GM world rollup on Celestia's data availability (DA) network. From the Rollkit perspective, there's no difference in posting blocks to Celestia's testnets or Mainnet Beta. Before proceeding, ensure that you have completed the [GM world rollup](/tutorials/gm-world) tutorial, which covers setting up a local sovereign gm-world rollup and connecting it to a local mock DA node. @@ -10,9 +10,9 @@ Before proceeding, ensure that you have completed the [GM world rollup](/tutoria Before you can start your rollup node, you need to initiate, sync, and possibly fund a light node on one of Celestia's networks: -- [Arabica Devnet](https://docs.celestia.org/nodes/arabica-devnet#arabica-devnet) -- [Mocha Testnet](https://docs.celestia.org/nodes/mocha-testnet#mocha-testnet) -- [Mainnet Beta](https://docs.celestia.org/nodes/mainnet#mainnet-beta) +- [Arabica Devnet](https://docs.celestia.org/nodes/arabica-devnet) +- [Mocha Testnet](https://docs.celestia.org/nodes/mocha-testnet) +- [Mainnet Beta](https://docs.celestia.org/nodes/mainnet) The main difference lies in how you fund your wallet address: using testnet TIA or [TIA](https://docs.celestia.org/learn/tia#overview-of-tia) for Mainnet Beta. @@ -116,4 +116,4 @@ For details on configuring gas prices specifically for the DA network, see our [ ## ๐ŸŽ‰ Next steps -Congratulations! You've built a local rollup that posts to Celestia's testnet or mainnet. Well done! Now, go forth and build something great! Good luck! +Congratulations! You've built a local rollup that posts to Celestia's testnets or Mainnet Beta. Well done! Now, go forth and build something great! Good luck! diff --git a/tutorials/gm-world.md b/tutorials/gm-world.md index 4d7c02d7a..786e42b09 100644 --- a/tutorials/gm-world.md +++ b/tutorials/gm-world.md @@ -1,8 +1,8 @@ --- -description: Build a sovereign rollup using only Rollkit CLI and mocked DA network +description: Build a sovereign rollup using only Rollkit CLI and a mock DA network. --- -# GM World Rollup +# GM world rollup ## ๐ŸŒž Introduction {#introduction} From cc4006516b069b4bb43b02b38f8752692ba9931f Mon Sep 17 00:00:00 2001 From: "joshcs.eth" <46639943+jcstein@users.noreply.github.com> Date: Thu, 9 May 2024 14:54:00 -0400 Subject: [PATCH 11/14] Apply suggestions from code review --- tutorials/gm-world.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorials/gm-world.md b/tutorials/gm-world.md index 786e42b09..a958c2fd6 100644 --- a/tutorials/gm-world.md +++ b/tutorials/gm-world.md @@ -68,7 +68,8 @@ If you get errors of `gmd` not found, you may need to add the `go/bin` directory ::: ```bash -cd $HOME && curl -sSL https://rollkit.dev/install-gm-rollup.sh | sh +cd $HOME +bash -c "$(curl -sSL https://rollkit.dev/install-gm-rollup.sh)" ``` ## ๐Ÿš€ Starting your rollup {#start-your-rollup} From 37aa66a55de0548ac349e4521c746ac8793329ee Mon Sep 17 00:00:00 2001 From: Yarik Bratashchuk Date: Fri, 10 May 2024 12:57:16 +0200 Subject: [PATCH 12/14] Update tutorials/gm-world.md Co-authored-by: joshcs.eth <46639943+jcstein@users.noreply.github.com> --- tutorials/gm-world.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/gm-world.md b/tutorials/gm-world.md index a958c2fd6..40aa1f2a4 100644 --- a/tutorials/gm-world.md +++ b/tutorials/gm-world.md @@ -69,7 +69,7 @@ If you get errors of `gmd` not found, you may need to add the `go/bin` directory ```bash cd $HOME -bash -c "$(curl -sSL https://rollkit.dev/install-gm-rollup.sh)" +sudo bash -c "$(curl -sSL https://rollkit.dev/install-gm-rollup.sh)" ``` ## ๐Ÿš€ Starting your rollup {#start-your-rollup} From ef70c780b931e34bf575a379739d0d1ef99d3654 Mon Sep 17 00:00:00 2001 From: yarikbratashchuk Date: Fri, 10 May 2024 13:12:59 +0200 Subject: [PATCH 13/14] Remove sudo, we install gmd, no need to use sudo now --- tutorials/gm-world.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/gm-world.md b/tutorials/gm-world.md index 40aa1f2a4..a958c2fd6 100644 --- a/tutorials/gm-world.md +++ b/tutorials/gm-world.md @@ -69,7 +69,7 @@ If you get errors of `gmd` not found, you may need to add the `go/bin` directory ```bash cd $HOME -sudo bash -c "$(curl -sSL https://rollkit.dev/install-gm-rollup.sh)" +bash -c "$(curl -sSL https://rollkit.dev/install-gm-rollup.sh)" ``` ## ๐Ÿš€ Starting your rollup {#start-your-rollup} From 2f9bc652e5b3b281c3680cde1a3f61b94a23ca6f Mon Sep 17 00:00:00 2001 From: "joshcs.eth" <46639943+jcstein@users.noreply.github.com> Date: Fri, 10 May 2024 12:40:08 -0400 Subject: [PATCH 14/14] docs: use 1 line for install instead of 2 --- tutorials/gm-world.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tutorials/gm-world.md b/tutorials/gm-world.md index a958c2fd6..3aca2b040 100644 --- a/tutorials/gm-world.md +++ b/tutorials/gm-world.md @@ -68,8 +68,7 @@ If you get errors of `gmd` not found, you may need to add the `go/bin` directory ::: ```bash -cd $HOME -bash -c "$(curl -sSL https://rollkit.dev/install-gm-rollup.sh)" +cd $HOME && bash -c "$(curl -sSL https://rollkit.dev/install-gm-rollup.sh)" ``` ## ๐Ÿš€ Starting your rollup {#start-your-rollup}