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.
@@ -29,152 +29,110 @@ import constants from '../.vitepress/constants/constants.js'
29
29
30
30
## 🛠️ Dependencies {#dependencies}
31
31
32
-
As we move into more advanced use cases, 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).
32
+
As we move into more advanced use cases, we use [ignite](https://docs.ignite.com/welcome) to help with managing all the services we need to run. You can [install ignite here](https://docs.ignite.com/welcome/install).
33
33
34
34
Once installed, you can verify the installation by running:
35
35
36
36
```bash
37
-
kurtosis version
37
+
ignite version
38
38
```
39
39
40
40
```bash
41
-
CLI Version: 0.90.1
42
-
43
-
To see the engine version (provided it is running): kurtosis engine status
Your uname -a: Darwin Markos-MacBook-Pro.local 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:16 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6000 arm64
50
+
Your cwd: /Users/markobaricevic/code/CoTend/rollkit1/docs
51
+
Is on Gitpod: false
44
52
```
45
53
46
-
## 🚀 Starting your rollup {#start-your-rollup}
47
-
48
-
Now that we have kurtosis installed, we can launch our GM rollup along with the local DA by running the following command:
54
+
## Generate your App {#generate-your-app}
49
55
50
56
```bash
51
-
kurtosis run github.com/rollkit/gm@v0.3.1
57
+
ignite s chain gm --address-prefix gm
58
+
cd gm
52
59
```
53
60
54
-
You should see an output like this:
61
+
Install a specific version of ignire to use rollkit
55
62
56
63
```bash
57
-
INFO[2024-07-02T11:15:43-04:00] Creating a new enclave for Starlark to run inside...
58
-
INFO[2024-07-02T11:15:46-04:00] Enclave 'sparse-grotto' created successfully
59
-
INFO[2024-07-02T11:15:46-04:00] Executing Starlark package at '/Users/matt/Code/rollkit/gm' as the passed argument '.' looks like a directory
60
-
INFO[2024-07-02T11:15:46-04:00] Compressing package 'github.com/rollkit/gm' at '.'for upload
61
-
INFO[2024-07-02T11:15:46-04:00] Uploading and executing package 'github.com/rollkit/gm'
Kurtosis has successfully launched the GM rollup and the local DA network. The GM rollup is running on port `26657` and the local DA network is running on port `7980`. You can see the services running in docker as well:
67
+
Install your app locally:
104
68
105
69
```bash
106
-
docker ps
70
+
make install
107
71
```
108
72
73
+
## 🚀 Starting your rollup {#start-your-rollup}
74
+
75
+
Now that we have our gm app generated and installed, we can launch our GM rollup along with the local DA by running the following command:
76
+
77
+
First lets start the local DA network:
78
+
109
79
```bash
110
-
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
111
-
af16c1a5e68c ghcr.io/rollkit/gm:05bd40e "/bin/sh -c 'rollkit…" 46 seconds ago Up 45 seconds 0.0.0.0:26657->26657/tcp gm--ed0233f8291d4a42bdd0e173393af809
112
-
9db601efd92b ghcr.io/rollkit/local-da:v0.2.1 "local-da -listen-all" 46 seconds ago Up 46 seconds 0.0.0.0:7980->7980/tcp local-da--990942dc84ab4b3ab2c8d64002a5bafa
113
-
7fec3d659452 kurtosistech/core:0.90.1 "/bin/sh -c ./api-co…" 50 seconds ago Up 50 seconds 0.0.0.0:59855->7443/tcp kurtosis-api--49dd471ac3bb413d96932d4020c20b21
114
-
198f7873bbec fluent/fluent-bit:1.9.7 "/fluent-bit/bin/flu…" 51 seconds ago Up 51 seconds 2020/tcp kurtosis-logs-collector--49dd471ac3bb413d96932d4020c20b21
115
-
f921884f4132 kurtosistech/engine:0.90.1 "/bin/sh -c ./kurtos…" 2 hours ago Up 2 hours 0.0.0.0:8081->8081/tcp, 0.0.0.0:9710-9711->9710-9711/tcp, 0.0.0.0:9779->9779/tcp kurtosis-engine--1657ab3f1c3942658a3993a0e3b54327
116
-
c5363b77b543 traefik:2.10.6 "/bin/sh -c 'mkdir -…" 2 hours ago Up 2 hours 80/tcp, 0.0.0.0:9730-9731->9730-9731/tcp kurtosis-reverse-proxy--1657ab3f1c3942658a3993a0e3b54327
117
-
39eb05e1c693 timberio/vector:0.31.0-debian "/bin/sh -c 'printf …" 2 hours ago Up 2 hours kurtosis-logs-aggregator
We can see the GM rollup running in container `gm--ed0233f8291d4a42bdd0e173393af809` and the local DA network running in container `local-da--990942dc84ab4b3ab2c8d64002a5bafa`.
121
-
122
-
Let's hold on to the container name for the GM rollup as we will need it later.
Ignite has successfully launched the GM rollup and the local DA network. The GM rollup is running on port `7331` and the local DA network is running on port `7980`.
127
+
164
128
Good work so far, we have a Rollup node, DA network node, now we can start submitting transactions.
165
129
166
130
## 💸 Transactions {#transactions}
167
131
168
-
Since our rollup is running in a docker container, we want to enter the docker container to interact with it via the Rollkit CLI. We can do this by running:
Now let's submit a transaction that sends coins from one account to another (don't worry about all the flags, for now, we just want to submit transaction from a high-level perspective):
201
159
202
160
```bash
203
-
rollkit tx bank send $KEY2$KEY1 42069stake --keyring-backend test --chain-id gm --fees 5000stake
161
+
gmd tx bank send $KEY2$KEY1 42069stake --keyring-backend test --chain-id gm --fees 5000stake
Now that you have an idea of how to interact with the rollup with the rollkit CLI, let's look at the user interface (UI) application aspect of connecting a wallet to a rollup.
280
238
@@ -292,7 +250,7 @@ Once authorized, your wallet address will be displayed, confirming that your wal
292
250
293
251
:::tip
294
252
If you run into any issues, make sure your Keplr wallet is updated and set to connect to your local environment.
0 commit comments