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
{{ message }}
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: tutorials/da/local-da.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ import constants from '../../.vitepress/constants/constants.js'
7
7
8
8
## Introduction {#introduction}
9
9
10
-
This tutorial serves as a comprehensive guide for using the [local-da](https://github.com/rollkit/local-da) with your chain.
10
+
This tutorial serves as a comprehensive guide for using the [local-da](https://github.com/rollkit/local-da) with your chain.
11
11
12
12
Before proceeding, ensure that you have completed the [quick start](/tutorials/quick-start) or [build a chain](/tutorials/wordle) tutorial, which covers installing the rollkit CLI, building your chain, and running your chain.
13
13
@@ -23,7 +23,7 @@ This script will build and run the node, which will then listen on port `7980`.
23
23
24
24
## Configuring your rollup to connect to the local DA network
25
25
26
-
To connect your rollup to the local DA network, you need to pass the `--rollkit.da_address` flag with the local DA node address.
26
+
To connect your rollup to the local DA network, you need to pass the `--rollkit.da.address` flag with the local DA node address.
27
27
28
28
## Run your rollup
29
29
@@ -32,11 +32,11 @@ Start your rollup node with the following command, ensuring to include the DA ad
11:07AM INF Listening on host=localhost maxBlobSize=1974272 module=da port=7980
52
+
11:07AM INF server started listening on=localhost:7980 module=da
51
53
```
52
54
53
55
## Summary
54
56
55
-
By following these steps, you will set up a local DA network node and configure your rollup to post data to it. This setup is useful for testing and development in a controlled environment.
57
+
By following these steps, you will set up a local DA network node and configure your rollup to post data to it. This setup is useful for testing and development in a controlled environment. You can find more information on running the local-da binary [here](https://github.com/rollkit/rollkit/blob/main/da/cmd/local-da/README.md)
Copy file name to clipboardExpand all lines: tutorials/da/overview.md
+36-6Lines changed: 36 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,24 +10,54 @@ Now that you have the foundations of running and building a rollup with Rollkit,
10
10
11
11
The first choice you need to make is which data availability (DA) layer to use. The DA layer is a critical component of a blockchain, as it provides the data availability and finality guarantees that your chain needs to operate securely.
12
12
13
-
Rollkit uses the [go-da interface](https://github.com/rollkit/go-da) to communicate to DA layers. Any DA layer that implements this interface can be used with Rollkit.
13
+
Rollkit uses the [core da interface](https://github.com/rollkit/rollkit/blob/main/core/da/da.go#L11) to communicate to DA layers. Any DA layer that implements this interface can be used with Rollkit.
14
14
15
-
## Go DA {#go-da}
15
+
## DA {#go-da}
16
16
17
-
The [go-da interface](https://github.com/rollkit/go-da) defines the core functions required to interact with a DA layer. Probably the two most important functions being `Get` and `Submit`.
17
+
The [DA interface](https://github.com/rollkit/rollkit/blob/main/core/da/da.go#L11) defines the core functions required to interact with a DA layer. Probably the two most important functions being `Get` and `Submit`.
18
18
19
19
```go
20
20
// DA defines very generic interface for interaction with Data Availability layers.
21
21
typeDAinterface {
22
+
// MaxBlobSize returns the max blob size
23
+
MaxBlobSize(ctx context.Context) (uint64, error)
24
+
22
25
// Get returns Blob for each given ID, or an error.
DA layers can integrate the `go-da` interface directly into their node like [Celestia](celestia-da), or they can define a middleware service like [Avail](avail-da).
60
+
DA layers can integrate the `da` interface directly into their node like [Celestia](celestia-da).
Copy file name to clipboardExpand all lines: tutorials/execution/cosmwasm.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,14 @@ this tutorial.
30
30
31
31
## 💻 CosmWasm dependency {#dependencies}
32
32
33
-
As with the [GM Rollup](https://rollkit.dev/tutorials/gm-world), we use [kurtosis](https://docs.kurtosis.com/) to help with managing all the services we need to run. You can [install kurtosis here](https://docs.kurtosis.com/install).
33
+
As with the [GM Rollup](https://rollkit.dev/tutorials/gm-world), we use [kurtosis](https://docs.kurtosis.com/) to help with managing all the services we need to run. You can [install kurtosis here](https://docs.kurtosis.com/install).
34
34
35
35
Once installed, you can verify the installation by running:
36
36
37
37
```bash
38
38
kurtosis version
39
39
```
40
+
40
41
```bash
41
42
CLI Version: 0.90.1
42
43
@@ -104,6 +105,7 @@ Kurtosis has successfully launched the CosmWasm rollup and the local DA network.
104
105
```bash
105
106
docker ps
106
107
```
108
+
107
109
```bash
108
110
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
109
111
5bfeda0a871f ghcr.io/rollkit/cosmwasm:v0.1.0 "/bin/sh -c 'wasmd s…" About a minute ago Up About a minute 0.0.0.0:9290->9290/tcp, 0.0.0.0:36656-36657->36656-36657/tcp wasm--c71b0308616d40ad919ad24c3d14f35b
@@ -119,7 +121,7 @@ We can see the CosmWasm rollup running in container `wasm--c71b0308616d40ad919ad
119
121
120
122
Let's hold on to the container name for the CosmWasm rollup, as we will need it later.
121
123
122
-
```bash
124
+
```bash
123
125
CW=$(docker ps --format '{{.Names}}'| grep wasm)
124
126
echo$CW
125
127
```
@@ -129,6 +131,7 @@ You can verify the rollup is running by checking the logs:
129
131
```bash
130
132
docker logs $CW
131
133
```
134
+
132
135
```bash
133
136
...
134
137
3:55PM INF Creating and publishing block height=137 module=BlockManager
0 commit comments