Skip to content
On this page

GM world rollup: Part 3

This tutorial is part 3 of the GM world rollup tutorials. In this tutorial, it is expected that you've completed part 1 or part 2 of the tutorial and are familiar with running a local rollup devnet or posting to a Celestia testnet.


This tutorial explores Rollkit, currently in Alpha. If you encounter bugs, please report them via a GitHub issue ticket or reach out in our Telegram group.

Deploying to Celestia Mainnet Beta

🪶 Run a Celestia light node

Fully sync and fund a light node on Mainnet beta (celestia). Follow instructions to install and start your Celestia data availability layer light node selecting the Arabica network. You can find instructions to install and run the node. After the node is synced, stop the light node.

Clear previous chain history

Before starting the rollup, we need to remove the old project folders:

rm -r $HOME/go/bin/gmd && rm -rf $HOME/.gm

Start the rollup on mainnet

For this portion, you will need to stop the rollup that you have running from parts 1 and 2 of the tutorial, using Control + C in the terminal.

  1. Download the script for deploying to Celestia's Mainnet Beta:

    # From inside the `gm` directory
  2. Ensure that the account for your light node is funded.

  3. Run the script:

  4. Watch as your rollup posts blocks to Celestia!

  5. View your rollup by finding your namespace or account Celenium.

View the example rollup's namespace on Celenium.

TIP script uses a default namespace 00000000000000000000000000000000000000000008e5f679bf7116cb. You can set your own by using a command similar to this (or, you could get creative 😎):

openssl rand -hex 10

Replace the last 10 characters in 00000000000000000000000000000000000000000008e5f679bf7116cb with the newly generated 10 characters.

Learn more about namespaces .

Restarting your rollup

When you ran, the script generated a script called in the $HOME/gm directory for you to use to restart your rollup.

In order to do so, restart celestia light node and then run:


Next steps

Congratulations! You have a Rollkit rollup running on Celestia's Mainnet Beta.

If you're interested in setting up a full node alongside your sequencer, see the Full and sequencer node rollup setup tutorial.

Released under the APACHE-2.0 License