Skip to content

Commit 43ceda8

Browse files
Merge branch 'main' into yarik/celestia-da
2 parents c6267b8 + 3079ae9 commit 43ceda8

File tree

5 files changed

+34
-17
lines changed

5 files changed

+34
-17
lines changed

.vitepress/config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,14 @@ function sidebarHome() {
192192
text: "Tutorials",
193193
collapsed: true,
194194
items: [
195+
{
196+
text: "Quick start guide",
197+
link: "/tutorials/quick-start",
198+
},
195199
{
196200
text: "Rollkit",
197201
collapsed: true,
198202
items: [
199-
{
200-
text: "Quick start guide",
201-
link: "/tutorials/quick-start",
202-
},
203203
{
204204
text: "GM world rollup",
205205
link: "/tutorials/gm-world",

.vitepress/constants/constants.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
const constants = Object.freeze({
2+
golangVersion: "1.22.2",
3+
4+
rollkitLatestTag: "v0.13.2",
5+
rollkitLatestSha: "d6c34e8",
6+
rollkitCosmosSDKVersion: "v0.50.5-rollkit-v0.13.1-no-fraud-proofs",
7+
8+
mockDALatestTag: "v0.1.0",
9+
10+
igniteVersionTag: "v28.3.0",
11+
});
12+
export default constants;

tutorials/gm-world.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ No prior understanding of the build process is required, just that it utilizes t
1919
<!-- markdownlint-disable MD033 -->
2020
<script setup>
2121
import Callout from '../.vitepress/components/callout.vue'
22+
import constants from '../.vitepress/constants/constants.js'
2223
</script>
2324

2425
:::tip
@@ -32,20 +33,21 @@ Rollkit uses the [Go programming language](https://go.dev/dl/). Here's how to in
3233

3334
- **Linux or macOS**: Run the provided script:
3435

35-
```bash
36-
curl -sSL https://rollkit.dev/install-go.sh | sh -s 1.22.2
36+
```bash-vue
37+
curl -sSL https://rollkit.dev/install-go.sh | sh -s {{constants.golangVersion}}
3738
```
3839

39-
- **Windows**: Download and execute the [installer](https://go.dev/dl/go1.22.2.windows-amd64.msi).
40+
- **Windows**: Download and execute the <a :href="`https://go.dev/dl/go${constants.golangVersion}.windows-amd64.msi`">installer</a>.
41+
4042

4143
## 🌐 Running a Local DA Network {#running-local-da}
4244

4345
Learn to run a local DA network, designed for educational purposes, on your machine.
4446

4547
To set up a mock DA network node:
4648

47-
```bash
48-
curl -sSL https://rollkit.dev/install-mock-da.sh | sh v0.1.0
49+
```bash-vue
50+
curl -sSL https://rollkit.dev/install-mock-da.sh | sh {{constants.mockDALatestTag}}
4951
```
5052

5153
This script builds and runs the node, now listening on port `7980`.

tutorials/quick-start.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
description: Quickly start a rollup node using the Rollkit CLI.
33
---
44

5+
<script setup>
6+
import constants from '../.vitepress/constants/constants.js'
7+
</script>
8+
59
# Quick start guide
610

711
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
1014

1115
To install Rollkit, run the following command in your terminal:
1216

13-
```bash
14-
curl -sSL https://rollkit.dev/install.sh | sh -s v0.13.2
17+
```bash-vue
18+
curl -sSL https://rollkit.dev/install.sh | sh -s {{constants.rollkitLatestTag}}
1519
```
1620

1721
Verify the installation by checking the Rollkit version:

tutorials/wordle.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ to extend this codebase.
1515
<!-- markdownlint-disable MD033 -->
1616
<script setup>
1717
import Callout from '../.vitepress/components/callout.vue'
18+
import constants from '../.vitepress/constants/constants.js'
1819
</script>
1920

2021
:::tip
@@ -35,8 +36,6 @@ in Ignite to understand all the different components in Cosmos-SDK before
3536
proceeding with this tutorial.
3637

3738
* [GM world](/tutorials/gm-world)
38-
* [Nameservice Tutorial](https://docs.ignite.com/v0.25.2/guide/nameservice)
39-
* [Scavenger Hunt](https://docs.ignite.com/v0.25.2/guide/scavenge)
4039

4140
You do not have to do those guides in order to follow this Wordle tutorial,
4241
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).
8988

9089
To install Ignite, you can run this command in your terminal:
9190

92-
```bash
93-
curl https://get.ignite.com/cli@v28.3.0! | bash
91+
```bash-vue
92+
curl https://get.ignite.com/cli@{{constants.igniteVersionTag}}! | bash
9493
sudo mv ignite /usr/local/bin/
9594
```
9695

@@ -175,8 +174,8 @@ Rollkit on our codebase.
175174

176175
Run the following command inside the `wordle` directory.
177176

178-
```bash
179-
go mod edit -replace github.com/cosmos/cosmos-sdk=github.com/rollkit/cosmos-sdk@v0.50.5-rollkit-v0.13.1-no-fraud-proofs
177+
```bash-vue
178+
go mod edit -replace github.com/cosmos/cosmos-sdk=github.com/rollkit/cosmos-sdk@{{constants.rollkitCosmosSDKVersion}}
180179
go mod tidy
181180
go mod download
182181
```

0 commit comments

Comments
 (0)