Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 33 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,44 @@ info="EVM Track"
./build/tracks create-station --tracks "$accountAddressArray" --accountName "$accountName" --accountPath "$accountPath" --jsonRPC "$jsonRPC" --info "$info" --bootstrapNode "$bootstrapNode"
```

## Step 8: Start the Tracks
## Step 8: Service Settings

Finally, start the node to begin interacting with the Tracks blockchain.
```shell
tee /etc/systemd/system/tracksd.service > /dev/null <<EOF
[Unit]
Description=tracksd node
After=network-online.target
StartLimitIntervalSec=0
StartLimitBurst=0

[Service]
User=root
WorkingDirectory=/root/.tracks
ExecStart=/root/tracks/build/tracks start

Restart=always
RestartSec=10
LimitNOFILE=65535
SuccessExitStatus=0 1 2 3

[Install]
WantedBy=multi-user.target
EOF
```

```shell
./build/tracks start
systemctl daemon-reload && \
systemctl enable tracksd && \
systemctl restart tracksd
```

```shell
journalctl -fu tracksd -o cat
```

You can stop it with CTRL-C


## Troubleshooting

If you encounter any issues during setup, refer to [official documentation](https://docs.airchains.io/rollups/evm-zk-rollup/system-requirements) or reach out [Airchains discord](https://discord.gg/airchains) for support.