File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,31 @@ To make it simple we will download a repository with a `gm-world` rollup that ha
56
56
``` bash
57
57
cd $HOME && bash -c " $( curl -sSL https://rollkit.dev/install-gm-rollup.sh) "
58
58
```
59
+ ## 🧰 Configuring Your Rollup {#configuring-your-rollup}
60
+
61
+ Generate rollkit.toml file by running:
62
+
63
+ ``` bash
64
+ rollkit toml init
65
+ ```
66
+
67
+ The output should be similar to this:
68
+ ```
69
+ Found rollup entrypoint: /root/gm/cmd/gmd/main.go, adding to rollkit.toml
70
+ Could not find rollup config under gm. Please put the chain.config_dir in the rollkit.toml file manually.
71
+ Initialized rollkit.toml file in the current directory.
72
+ ```
73
+
74
+ From the output, you can see that the rollup entrypoint is ` ~/gm/cmd/gmd/main.go ` .
75
+
76
+ Open the rollkit.toml file and under the ` [chain] ` section set ` config_dir ` to the ` ./.gm ` directory. Your rollkit.toml file should look like this:
77
+
78
+ ``` bash
79
+ entrypoint = " ./cmd/gmd/main.go"
80
+
81
+ [chain]
82
+ config_dir = " ./.gm"
83
+ ```
59
84
60
85
## 🚀 Starting your rollup {#start-your-rollup}
61
86
You can’t perform that action at this time.
0 commit comments