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 and part 2 of the tutorial and are familiar with running a local rollup devnet and posting to a Celestia testnet.

Deploying to Celestia Mainnet Beta

🪶 Run a Celestia light node

  1. Fully sync and fund a light node on Arabica devnet (arabica-11). 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.

  2. Use celestia-da to connect to Rollkit. Your node does not need to be running when you start celestia-da.

    Run this command to start celestia-da and your Celestia light node with state access (using the --core.ip string flag). This time, on celestia, which is the chain ID for Mainnet Beta:

    docker run -d \
    -e NODE_TYPE=light \
    -e P2P_NETWORK=celestia \
    -p 26650:26650 \
    -p 26658:26658 \
    -p 26659:26659 \
    -v $HOME/.celestia-light/:/home/celestia/.celestia-light/ \ \
    celestia-da light start \ \
    --da.grpc.namespace=000000676d776f726c64 \
    --da.grpc.listen= \
    --core.ip \


    You can either use the default 000000474d776f726c64, "GMworld" in plaintext, namespace above, or set your own by using a command similar to this (or, you could get creative 😎):

    openssl rand -hex 10

    Learn more about namespaces

After you have Go and Ignite CLI installed, and celestia-da running on your machine, you're ready to run your own sovereign rollup.

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.

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-da 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