You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/celestia-da.md
+18-76Lines changed: 18 additions & 76 deletions
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,11 @@ import constants from '../.vitepress/constants/constants.js'
9
9
10
10
This tutorial serves as a comprehensive guide for deploying your 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.
11
11
12
-
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 DA node.
12
+
Before proceeding, ensure that you have completed the [quick start](/tutorials/quick-start) tutorial, which covers installing the rollkit CLI and running a rollup against a local DA network.
13
13
14
14
## 🪶 Running a Celestia light node
15
15
16
-
Before you can start your rollup node, you need to initiate, sync, and possibly fund a light node on one of Celestia's networks:
16
+
Before you can start your rollup node, you need to initiate, sync, and fund a light node on one of Celestia's networks:
Build the rollup node binary to use it for the chain configuration and to initialize:
54
-
55
-
```bash
56
-
ignite chain build
57
-
```
58
-
59
-
Initialize the Rollkit chain configuration:
60
-
61
-
```bash
62
-
ignite rollkit init
63
-
```
64
-
65
-
This will create a `$HOME/.gm` directory with the chain configuration files.
66
-
67
-
## 🧰 Configuring your sovereign rollup {#configuring-your-sovereign-rollup}
68
-
69
-
From the `$HOME/gm` directory, generate a `rollkit.toml` file by running:
70
-
71
-
```bash
72
-
rollkit toml init
73
-
```
74
-
75
-
The output should be similar to this (`$HOME` in the below example is `/root`):
76
-
77
-
```
78
-
Found rollup entrypoint: /root/gm/cmd/gmd/main.go, adding to rollkit.toml
79
-
Found rollup configuration under /root/.gm, adding to rollkit.toml
80
-
Initialized rollkit.toml file in the current directory.
81
-
```
82
-
83
30
## 🛠️ Configuring flags for DA
84
31
85
-
Now, we're prepared to initiate our rollup and establish a connection with the Celestia light node. The`rollkit start` command requires three DA configuration flags:
32
+
Now that we are posting to the Celestia DA instead of the local DA, the`rollkit start` command requires three DA configuration flags:
86
33
87
34
-`--rollkit.da_start_height`
88
35
-`--rollkit.da_auth_token`
89
36
-`--rollkit.da_namespace`
90
37
91
-
Let's determine which values to provide for each of them.
92
-
93
-
First, let's query the DA layer start height using an RPC endpoint provided by Celestia's documentation.
94
-
95
-
::: tip
38
+
:::tip
96
39
Optionally, you could also set the `--rollkit.da_block_time` flag. This should be set to the finality time of the DA layer, not its actual block time, as Rollkit does not handle reorganization logic. The default value is 15 seconds.
Now, the rollup is running and posting blocks (aggregated in batches) to Celestia. You can view your rollup by using 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.
108
+
Now, the rollup is running and posting blocks (aggregated in batches) to Celestia. You can view your rollup by using your namespace or account on one of Celestia's block explorers.
170
109
171
-
::: info
172
-
For details on configuring gas prices, specifically for the Celestia network, see the [DA Network Gas Price Guide](/guides/gas-price). The Celestia gas price is separate from the `--minimum-gas-prices="0.025stake"` setting, which is used for the rollup network operations.
173
-
:::
110
+
For example, [here on Celenium for Arabica](https://arabica.celenium.io/).
0 commit comments