Skip to content

Commit

Permalink
Change for updated local-da repo
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikbratashchuk committed May 21, 2024
1 parent d854667 commit a1a0de4
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .vitepress/constants/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const constants = Object.freeze({
rollkitLatestSha: "45b1573",
rollkitCosmosSDKVersion: "v0.50.6-rollkit-v0.13.3-no-fraud-proofs",

mockDALatestTag: "v0.1.0",
localDALatestTag: "v0.2.0",

igniteVersionTag: "v28.3.0",
});
Expand Down
10 changes: 10 additions & 0 deletions public/install-local-da.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

echo "Downloading Local-DA source code..."
git clone https://github.com/rollkit/local-da.git
cd local-da || { echo "Failed to find the downloaded repository"; exit 1; }
git checkout $1
echo "Building and installing Local DA..."
make build
echo "Starting Local DA..."
./build/local-da
10 changes: 0 additions & 10 deletions public/install-mock-da.sh

This file was deleted.

2 changes: 1 addition & 1 deletion tutorials/celestia-da.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

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.
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

Expand Down
6 changes: 3 additions & 3 deletions tutorials/gm-world.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: Build a sovereign rollup using only Rollkit CLI and a mock DA network.
description: Build a sovereign rollup using only Rollkit CLI and a local DA network.
---

# GM world rollup
Expand Down Expand Up @@ -45,10 +45,10 @@ Rollkit uses the [Go programming language](https://go.dev/dl/). Here's how to in

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

To set up a mock DA network node:
To set up a local DA network node:

```bash-vue
curl -sSL https://rollkit.dev/install-mock-da.sh | bash {{constants.mockDALatestTag}}
curl -sSL https://rollkit.dev/install-local-da.sh | bash {{constants.localDALatestTag}}
```

This script builds and runs the node, now listening on port `7980`.
Expand Down
8 changes: 4 additions & 4 deletions tutorials/wordle.md
Original file line number Diff line number Diff line change
Expand Up @@ -545,17 +545,17 @@ compile the blockchain and take it out for a test drive.
## ⛓️ Run the wordle chain
<!-- markdownlint-disable MD013 -->

### 🪶 Run a mock DA node {#run-mock-da-node}
### 🪶 Run a local DA node {#run-local-da-node}

To set up a mock data availability network node run:
To set up a local data availability network node run:

```bash-vue
curl -sSL https://rollkit.dev/install-mock-da.sh | sh {{constants.mockDALatestTag}}
curl -sSL https://rollkit.dev/install-local-da.sh | sh {{constants.localDALatestTag}}
```

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

After you have Go and Ignite CLI installed, and your mock data availability node
After you have Go and Ignite CLI installed, and your local data availability node
running on your machine, you're ready to build, test, and launch your own sovereign rollup.

### 🟢 Building and running wordle chain {#build-and-run-wordle-chain}
Expand Down

0 comments on commit a1a0de4

Please sign in to comment.