diff --git a/.vitepress/constants/constants.js b/.vitepress/constants/constants.js
new file mode 100644
index 000000000..9bb5c0705
--- /dev/null
+++ b/.vitepress/constants/constants.js
@@ -0,0 +1,12 @@
+const constants = Object.freeze({
+ golangVersion: "1.22.2",
+
+ rollkitLatestTag: "v0.13.2",
+ rollkitLatestSha: "d6c34e8",
+ rollkitCosmosSDKVersion: "v0.50.5-rollkit-v0.13.1-no-fraud-proofs",
+
+ mockDALatestTag: "v0.1.0",
+
+ igniteVersionTag: "v28.3.0",
+});
+export default constants;
diff --git a/tutorials/gm-world.md b/tutorials/gm-world.md
index 5f8389c44..e53b52daf 100644
--- a/tutorials/gm-world.md
+++ b/tutorials/gm-world.md
@@ -19,6 +19,7 @@ No prior understanding of the build process is required, just that it utilizes t
:::tip
@@ -32,11 +33,12 @@ Rollkit uses the [Go programming language](https://go.dev/dl/). Here's how to in
- **Linux or macOS**: Run the provided script:
- ```bash
- curl -sSL https://rollkit.dev/install-go.sh | sh -s 1.22.2
+ ```bash-vue
+ curl -sSL https://rollkit.dev/install-go.sh | sh -s {{constants.golangVersion}}
```
-- **Windows**: Download and execute the [installer](https://go.dev/dl/go1.22.2.windows-amd64.msi).
+- **Windows**: Download and execute the installer.
+
## 🌐 Running a Local DA Network {#running-local-da}
@@ -44,8 +46,8 @@ Learn to run a local DA network, designed for educational purposes, on your mach
To set up a mock DA network node:
-```bash
-curl -sSL https://rollkit.dev/install-mock-da.sh | sh v0.1.0
+```bash-vue
+curl -sSL https://rollkit.dev/install-mock-da.sh | sh {{constants.mockDALatestTag}}
```
This script builds and runs the node, now listening on port `7980`.
diff --git a/tutorials/quick-start.md b/tutorials/quick-start.md
index 04df3ce91..32f6cdb7b 100644
--- a/tutorials/quick-start.md
+++ b/tutorials/quick-start.md
@@ -2,6 +2,10 @@
description: Quickly start a rollup node using the Rollkit CLI.
---
+
+
# Quick start guide
Welcome to Rollkit, a sovereign rollup framework! The easiest way to launch your sovereign rollup node is by using the Rollkit CLI.
@@ -10,8 +14,8 @@ Welcome to Rollkit, a sovereign rollup framework! The easiest way to launch your
To install Rollkit, run the following command in your terminal:
-```bash
-curl -sSL https://rollkit.dev/install.sh | sh -s v0.13.2
+```bash-vue
+curl -sSL https://rollkit.dev/install.sh | sh -s {{constants.rollkitLatestTag}}
```
Verify the installation by checking the Rollkit version:
diff --git a/tutorials/wordle.md b/tutorials/wordle.md
index e11c86fb9..69adae7fe 100644
--- a/tutorials/wordle.md
+++ b/tutorials/wordle.md
@@ -15,6 +15,7 @@ to extend this codebase.
:::tip
@@ -35,8 +36,6 @@ in Ignite to understand all the different components in Cosmos-SDK before
proceeding with this tutorial.
* [GM world](/tutorials/gm-world)
-* [Nameservice Tutorial](https://docs.ignite.com/v0.25.2/guide/nameservice)
-* [Scavenger Hunt](https://docs.ignite.com/v0.25.2/guide/scavenge)
You do not have to do those guides in order to follow this Wordle tutorial,
but doing so helps you understand the architecture of Cosmos-SDK better.
@@ -89,8 +88,8 @@ You can read more about Ignite [here](https://docs.ignite.com).
To install Ignite, you can run this command in your terminal:
-```bash
-curl https://get.ignite.com/cli@v28.3.0! | bash
+```bash-vue
+curl https://get.ignite.com/cli@{{constants.igniteVersionTag}}! | bash
sudo mv ignite /usr/local/bin/
```
@@ -175,8 +174,8 @@ Rollkit on our codebase.
Run the following command inside the `wordle` directory.
-```bash
-go mod edit -replace github.com/cosmos/cosmos-sdk=github.com/rollkit/cosmos-sdk@v0.50.5-rollkit-v0.13.1-no-fraud-proofs
+```bash-vue
+go mod edit -replace github.com/cosmos/cosmos-sdk=github.com/rollkit/cosmos-sdk@{{constants.rollkitCosmosSDKVersion}}
go mod tidy
go mod download
```